0s autopkgtest [01:27:46]: starting date and time: 2024-12-04 01:27:46+0000 0s autopkgtest [01:27:46]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [01:27:46]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.qubjz0v2/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:xauth --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-29.secgroup --name adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -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,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 1110s nova [W] Skipping flock for amd64 1110s Creating nova instance adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b from image adt/ubuntu-plucky-amd64-server-20241203.img (UUID 9e8e99d5-3366-42e6-8f42-63b527e5abcc)... 1110s nova [E] nova boot failed (attempt #0): 1110s nova [E] DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 1110s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 1110s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 1110s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 1110s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://keystone.ps6.canonical.com:5000/v3 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/4.0.0 python-requests/2.22.0 CPython/3.8.10" 1110s DEBUG (connectionpool:962) Starting new HTTPS connection (1): keystone.ps6.canonical.com:5000 1110s DEBUG (connectionpool:429) https://keystone.ps6.canonical.com:5000 "GET /v3 HTTP/1.1" 200 267 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 267 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:53 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-b6a91690-944c-4ad6-b3f1-73e959e2d867 1110s DEBUG (session:580) RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "https://keystone.ps6.canonical.com:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} 1110s DEBUG (session:946) GET call to https://keystone.ps6.canonical.com:5000/v3 used request id req-b6a91690-944c-4ad6-b3f1-73e959e2d867 1110s DEBUG (base:182) Making authentication request to https://keystone.ps6.canonical.com:5000/v3/auth/tokens 1110s DEBUG (connectionpool:429) https://keystone.ps6.canonical.com:5000 "POST /v3/auth/tokens HTTP/1.1" 201 12521 1110s DEBUG (base:187) {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "39656a4e94d140279666b3398a5d36e3", "name": "prod-proposed-migration-amd64", "password_expires_at": null}, "audit_ids": ["j9_CJaqoSJGh2K1g9YrDXw"], "expires_at": "2024-12-05T01:27:53.000000Z", "issued_at": "2024-12-04T01:27:53.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6804bfca484f4f559c01edaf5615dc5f", "name": "prod-proposed-migration-amd64_project"}, "is_domain": false, "roles": [{"id": "15cf997650e345b7b21c02b5cdb7d84a", "name": "member"}, {"id": "86bf3043974746c2bf52c2a9f362f986", "name": "reader"}, {"id": "80674fb26dab46e9a6bd57e7f8193360", "name": "load-balancer_member"}], "is_admin_project": false, "catalog": [{"endpoints": [{"id": "213cdf38198c4581bd5b7d6d0836923b", "interface": "internal", "region_id": "prodstack6", "url": "https://radosgw-internal.ps6.canonical.com:443/", "region": "prodstack6"}, {"id": "67061eee26944a1a8009f9d07be19738", "interface": "public", "region_id": "prodstack6", "url": "https://radosgw.ps6.canonical.com:443/", "region": "prodstack6"}, {"id": "fc88c52c749a47d08a24a2c7efbde01b", "interface": "admin", "region_id": "prodstack6", "url": "https://radosgw-admin.ps6.canonical.com:443/", "region": "prodstack6"}], "id": "06e4714942634054bf9aa11715312b4e", "type": "s3", "name": "s3"}, {"endpoints": [{"id": "8aa44c94b63746bd9b37f1008ad55fa8", "interface": "admin", "region_id": "prodstack6", "url": "https://aodh-admin.ps6.canonical.com:8042", "region": "prodstack6"}, {"id": "92cf08a80a0242ebbca8ec893cf332b1", "interface": "public", "region_id": "prodstack6", "url": "https://aodh.ps6.canonical.com:8042", "region": "prodstack6"}, {"id": "d8139c6e11ae4edcb78981c12bd53212", "interface": "internal", "region_id": "prodstack6", "url": "https://aodh-internal.ps6.canonical.com:8042", "region": "prodstack6"}], "id": "2fb939b0b969435c8f0c5fa4edb4de94", "type": "alarming", "name": "aodh"}, {"endpoints": [{"id": "a49fcc80e658411885f88cdd8432a571", "interface": "internal", "region_id": "prodstack6", "url": "https://heat-internal.ps6.canonical.com:8000/v1", "region": "prodstack6"}, {"id": "b23866fddba8415885b06c064c34b94b", "interface": "public", "region_id": "prodstack6", "url": "https://heat.ps6.canonical.com:8000/v1", "region": "prodstack6"}, {"id": "f84ae55197f94b8392a678f35c82ca26", "interface": "admin", "region_id": "prodstack6", "url": "https://heat-admin.ps6.canonical.com:8000/v1", "region": "prodstack6"}], "id": "3d4b59f7dab644b2b527e8e96b697545", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "2e0143334c6241169f45f1c11970c6bc", "interface": "public", "region_id": "prodstack6", "url": "https://heat.ps6.canonical.com:8004/v1/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "5e19c32243c04a3faf1e5f9ab900c260", "interface": "internal", "region_id": "prodstack6", "url": "https://heat-internal.ps6.canonical.com:8004/v1/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "b3fc5c88ec8543a691fec75726b86967", "interface": "admin", "region_id": "prodstack6", "url": "https://heat-admin.ps6.canonical.com:8004/v1/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}], "id": "43b926205044476b8093b18d8ce0a9e4", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "a47569b96e5b4146a312e4673504557c", "interface": "public", "region_id": "prodstack6", "url": "https://glance.ps6.canonical.com:9292", "region": "prodstack6"}, {"id": "bba35c4ab04f4114a2a34e65568537bd", "interface": "internal", "region_id": "prodstack6", "url": "https://glance-internal.ps6.canonical.com:9292", "region": "prodstack6"}, {"id": "ef769f1117c74a62a279131486c89628", "interface": "admin", "region_id": "prodstack6", "url": "https://glance-admin.ps6.canonical.com:9292", "region": "prodstack6"}], "id": "49de724549524bd78e9cd46a4477226f", "type": "image", "name": "glance"}, {"endpoints": [{"id": "a1a41e9a1e2d42e5b6cd5380cd1e21bf", "interface": "admin", "region_id": "prodstack6", "url": "https://cinder-admin.ps6.canonical.com:8776/v3/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "d2309a99724b4111827482c68a832c0c", "interface": "public", "region_id": "prodstack6", "url": "https://cinder.ps6.canonical.com:8776/v3/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "f8a02e3949ff42afa772eb5e74dbef9f", "interface": "internal", "region_id": "prodstack6", "url": "https://cinder-internal.ps6.canonical.com:8776/v3/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}], "id": "5bf6578a631349e3af4bf36d7adb18e1", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "01d84128f36444e9b01549b86bd69116", "interface": "admin", "region_id": "prodstack6", "url": "https://barbican-admin.ps6.canonical.com:9312", "region": "prodstack6"}, {"id": "0ce4a8777e0b40a88f7fc0f77e34a605", "interface": "public", "region_id": "prodstack6", "url": "https://barbican.ps6.canonical.com:9311", "region": "prodstack6"}, {"id": "f507ba49e4a7435cb330234217c92449", "interface": "internal", "region_id": "prodstack6", "url": "https://barbican-internal.ps6.canonical.com:9311", "region": "prodstack6"}], "id": "62cb1c3d9f6c45979c13516a6b3ff114", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "3cb6121bd8f14da8aa2fba7be823a2b4", "interface": "internal", "region_id": "prodstack6", "url": "https://neutron-internal.ps6.canonical.com:9696", "region": "prodstack6"}, {"id": "46ba11d133fe4e8f9e8f9097ba737682", "interface": "admin", "region_id": "prodstack6", "url": "https://neutron-admin.ps6.canonical.com:9696", "region": "prodstack6"}, {"id": "d872eb6aa23d40009165aa3dcdce3948", "interface": "public", "region_id": "prodstack6", "url": "https://neutron.ps6.canonical.com:9696", "region": "prodstack6"}], "id": "759cb6fdfbc146dd8b9d1ba444c4b9db", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "4349d565f72446da9699269f85df5e8b", "interface": "internal", "region_id": "prodstack6", "url": "https://manila-internal.ps6.canonical.com:8786/v2/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "a483dcc58f5e415e9ec739c94474e609", "interface": "public", "region_id": "prodstack6", "url": "https://manila.ps6.canonical.com:8786/v2/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "c1f14236723e42878562d8dd63d5a6a0", "interface": "admin", "region_id": "prodstack6", "url": "https://manila-admin.ps6.canonical.com:8786/v2/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}], "id": "93fc4008035946deb1f433c2dd905a5d", "type": "sharev2", "name": "manilav2"}, {"endpoints": [{"id": "0fa148793c7249c8b187b6b4ff425731", "interface": "internal", "region_id": "prodstack6", "url": "https://radosgw-internal.ps6.canonical.com:443/swift/v1/AUTH_e4b04ca58d734ed0aa29e306adad4f79/simplestreams/data", "region": "prodstack6"}, {"id": "555ade266a6b4bcc81b6e5abf607aec5", "interface": "public", "region_id": "prodstack6", "url": "https://radosgw.ps6.canonical.com:443/swift/v1/AUTH_e4b04ca58d734ed0aa29e306adad4f79/simplestreams/data", "region": "prodstack6"}, {"id": "7dad1a7b1552465686424fc014463173", "interface": "admin", "region_id": "prodstack6", "url": "https://radosgw-admin.ps6.canonical.com:443/swift/simplestreams/data", "region": "prodstack6"}], "id": "977dd359af1a4fcc91a9daf4dc33b0f3", "type": "product-streams", "name": "image-stream"}, {"endpoints": [{"id": "12d30eabcdec4831bd15273d55b1cbab", "interface": "internal", "region_id": "prodstack6", "url": "https://manila-internal.ps6.canonical.com:8786/v1/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "29d35b2b483346479f1ff1a13604d50e", "interface": "admin", "region_id": "prodstack6", "url": "https://manila-admin.ps6.canonical.com:8786/v1/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "4aa1422b8f5945d8aed9ba6a8d670e5c", "interface": "public", "region_id": "prodstack6", "url": "https://manila.ps6.canonical.com:8786/v1/6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}], "id": "ac5e4f28fa794cde99f1d7ffc1b664e5", "type": "share", "name": "manila"}, {"endpoints": [{"id": "c7db93d54a684d8caeae1d9e18a59118", "interface": "admin", "region_id": "prodstack6", "url": "https://nova-admin.ps6.canonical.com:8774/v2.1", "region": "prodstack6"}, {"id": "dd7a796f401b477f9f1b5bbc05747d8d", "interface": "public", "region_id": "prodstack6", "url": "https://nova.ps6.canonical.com:8774/v2.1", "region": "prodstack6"}, {"id": "e7ecb038d830462ea67b0b463af5e013", "interface": "internal", "region_id": "prodstack6", "url": "https://nova-internal.ps6.canonical.com:8774/v2.1", "region": "prodstack6"}], "id": "b4519af08e174d4a8333a2d14ac3ba3b", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "02ef5b6154934ffd97d8b5b8e4d70d2a", "interface": "internal", "region_id": "prodstack6", "url": "https://radosgw-internal.ps6.canonical.com:443/swift/v1/AUTH_6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "2741abe526e94842a4fa801423ba1ef0", "interface": "public", "region_id": "prodstack6", "url": "https://radosgw.ps6.canonical.com:443/swift/v1/AUTH_6804bfca484f4f559c01edaf5615dc5f", "region": "prodstack6"}, {"id": "3742f9406c604516933d6fd8c29e0880", "interface": "admin", "region_id": "prodstack6", "url": "https://radosgw-admin.ps6.canonical.com:443/swift", "region": "prodstack6"}], "id": "c7f07a7b3b3c408c96200dfd1d1a0f6f", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "06d4ed6c160a43f2b7fa7f80ad1dc709", "interface": "internal", "region_id": "prodstack6", "url": "https://designate-internal.ps6.canonical.com:9001", "region": "prodstack6"}, {"id": "1e240624a50c4ca0aaa6ef63cbc94f1b", "interface": "admin", "region_id": "prodstack6", "url": "https://designate-admin.ps6.canonical.com:9001", "region": "prodstack6"}, {"id": "f94d7d17997a43fd9c63b34c43301c6e", "interface": "public", "region_id": "prodstack6", "url": "https://designate.ps6.canonical.com:9001", "region": "prodstack6"}], "id": "cf82013d63844fedbe96bcacb6bd1fef", "type": "dns", "name": "designate"}, {"endpoints": [{"id": "4a688340be464710bfa60bf3f88f41c4", "interface": "admin", "region_id": "prodstack6", "url": "https://gnocchi-admin.ps6.canonical.com:8041", "region": "prodstack6"}, {"id": "a5a95506c96d4716adb4efc3ac9051be", "interface": "public", "region_id": "prodstack6", "url": "https://gnocchi.ps6.canonical.com:8041", "region": "prodstack6"}, {"id": "eebc17a086834f8fa8bb6b35c8061a8c", "interface": "internal", "region_id": "prodstack6", "url": "https://gnocchi-internal.ps6.canonical.com:8041", "region": "prodstack6"}], "id": "d10589e854a446a5b852593f33f170a7", "type": "metric", "name": "gnocchi"}, {"endpoints": [{"id": "08f66df28d0f47f3bec12f29e06d85ac", "interface": "admin", "region_id": "prodstack6", "url": "https://keystone-admin.ps6.canonical.com:35357/v3", "region": "prodstack6"}, {"id": "46d270b45ceb42db902f4d241afa6a70", "interface": "public", "region_id": "prodstack6", "url": "https://keystone.ps6.canonical.com:5000/v3", "region": "prodstack6"}, {"id": "a4addee11d9349cfa46ec6660dbad947", "interface": "internal", "region_id": "prodstack6", "url": "https://keystone-internal.ps6.canonical.com:5000/v3", "region": "prodstack6"}], "id": "deb38a775a9b4e87a8de9e3eed779882", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "18b4af5f40664babb94e884c6a53ccf3", "interface": "admin", "region_id": "prodstack6", "url": "https://octavia-admin.ps6.canonical.com:9876", "region": "prodstack6"}, {"id": "2b6f7ba7f9944ee1aebd6dccc5223b2d", "interface": "internal", "region_id": "prodstack6", "url": "https://octavia-internal.ps6.canonical.com:9876", "region": "prodstack6"}, {"id": "5e3012e9c79e4890be4d964b6208f5c6", "interface": "public", "region_id": "prodstack6", "url": "https://octavia.ps6.canonical.com:9876", "region": "prodstack6"}], "id": "e00337be20d54948b66a1c3109b885c6", "type": "load-balancer", "name": "octavia"}, {"endpoints": [{"id": "2d2942b35f3041389ad810f679d02f22", "interface": "public", "region_id": "prodstack6", "url": "https://placement.ps6.canonical.com:8778", "region": "prodstack6"}, {"id": "2e3beaac7ac14284b72e2592820ad725", "interface": "admin", "region_id": "prodstack6", "url": "https://placement-admin.ps6.canonical.com:8778", "region": "prodstack6"}, {"id": "91060f6df9ae444f81808adf40540d94", "interface": "internal", "region_id": "prodstack6", "url": "https://placement-internal.ps6.canonical.com:8778", "region": "prodstack6"}], "id": "edc6e37f154f4c0ab3dd4d52b82bf873", "type": "placement", "name": "placement"}]}} 1110s REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" 1110s DEBUG (connectionpool:962) Starting new HTTPS connection (1): nova.ps6.canonical.com:8774 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1 HTTP/1.1" 302 0 1110s RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps6.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-38ac5ab2-5253-45ac-8a78-61031bedd57c x-openstack-request-id: req-38ac5ab2-5253-45ac-8a78-61031bedd57c 1110s DEBUG (session:548) RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps6.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-38ac5ab2-5253-45ac-8a78-61031bedd57c x-openstack-request-id: req-38ac5ab2-5253-45ac-8a78-61031bedd57c 1110s RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 1110s DEBUG (session:580) RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/ HTTP/1.1" 200 397 1110s RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-29e1973a-dede-429c-81db-90ac37e21485 x-openstack-request-id: req-29e1973a-dede-429c-81db-90ac37e21485 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-29e1973a-dede-429c-81db-90ac37e21485 x-openstack-request-id: req-29e1973a-dede-429c-81db-90ac37e21485 1110s RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.90", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 1110s DEBUG (session:580) RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.90", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 1110s GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/ used request id req-29e1973a-dede-429c-81db-90ac37e21485 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/ used request id req-29e1973a-dede-429c-81db-90ac37e21485 1110s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 1110s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 1110s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 1110s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 1110s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 1110s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps6.canonical.com:9292/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:962) Starting new HTTPS connection (1): glance.ps6.canonical.com:9292 1110s DEBUG (connectionpool:429) https://glance.ps6.canonical.com:9292 "GET /v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc HTTP/1.1" 200 2279 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2279 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-533ed052-6f0a-47f6-b87e-5f991b9a03e3 1110s DEBUG (session:580) RESP BODY: {"architecture": "x86_64", "base_image_ref": "9295bc67-0c0a-44a4-9931-1c94892ca3ee", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "ide", "hw_disk_bus": "virtio", "hw_machine_type": "pc", "hw_video_model": "qxl", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "instance_uuid": "8d32cd41-acd1-467f-b589-b264074046a8", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "25.04", "owner_id": "6804bfca484f4f559c01edaf5615dc5f", "owner_project_name": "prod-proposed-migration-amd64_project", "owner_user_name": "prod-proposed-migration-amd64", "product_name": "com.ubuntu.cloud.daily:server:25.04:amd64", "simplestreams_metadata": "{\"aliases\": \"25.04,p,plucky,devel\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"md5\": \"bb63558566e3d16c93b6743e975c6727\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-plucky-daily-amd64-server-20241122\", \"release\": \"plucky\", \"release_codename\": \"Pluck", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "39656a4e94d140279666b3398a5d36e3", "version_name": "20241122", "name": "adt/ubuntu-plucky-amd64-server-20241203.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 3004694528, "virtual_size": 21474836480, "status": "active", "checksum": "29f39de84e400803d996c30643d24db5", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "6804bfca484f4f559c01edaf5615dc5f", "os_hidden": false, "os_hash_algo": "sha512", "os_hash_value": "80c0ac53a19ff804f29ff2662b2f935343a64f934f2c00a65b437742dce541778d7f9719b4695ccbeeca0c31ea526a2c886fbade7a36e999dccb5781c7721495", "id": "9e8e99d5-3366-42e6-8f42-63b527e5abcc", "created_at": "2024-12-03T02:34:26Z", "updated_at": "2024-12-03T02:37:07Z", "locations": [{"url": "rbd://eea9d068-c18c-11ed-8dc0-013aacb71b80/glance/9e8e99d5-3366-42e6-8f42-63b527e5abcc/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://eea9d068-c18c-11ed-8dc0-013aacb71b80/glance/9e8e99d5-3366-42e6-8f42-63b527e5abcc/snap", "tags": [], "self": "/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc", "file": "/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc/file", "schema": "/v2/schemas/image", "stores": "ceph"} 1110s DEBUG (session:936) GET call to image for https://glance.ps6.canonical.com:9292/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc used request id req-533ed052-6f0a-47f6-b87e-5f991b9a03e3 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1/flavors/builder-cpu2-ram4-disk20 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/flavors/builder-cpu2-ram4-disk20 HTTP/1.1" 404 97 1110s DEBUG (session:548) RESP: [404] Connection: Keep-Alive Content-Length: 97 Content-Type: application/json; charset=UTF-8 Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=998 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-368e4c2d-8c6d-44e5-9751-b8631ec65dd7 x-openstack-request-id: req-368e4c2d-8c6d-44e5-9751-b8631ec65dd7 1110s DEBUG (session:580) RESP BODY: {"itemNotFound": {"code": 404, "message": "Flavor builder-cpu2-ram4-disk20 could not be found."}} 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/flavors/builder-cpu2-ram4-disk20 used request id req-368e4c2d-8c6d-44e5-9751-b8631ec65dd7 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1/flavors?is_public=None -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/flavors?is_public=None HTTP/1.1" 200 38271 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 38271 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:54 GMT Keep-Alive: timeout=75, max=997 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-a17c2c13-50d6-4305-91cf-1910290288ca x-openstack-request-id: req-a17c2c13-50d6-4305-91cf-1910290288ca 1110s DEBUG (session:580) RESP BODY: {"flavors": [{"id": "0109c751-c572-4a9f-91d0-8d6e59b0d20c", "name": "builder-cpu2-ram16-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/0109c751-c572-4a9f-91d0-8d6e59b0d20c"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/0109c751-c572-4a9f-91d0-8d6e59b0d20c"}], "description": null}, {"id": "04e8a167-7954-458b-8424-8ae54e780178", "name": "builder-cpu2-ram12-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/04e8a167-7954-458b-8424-8ae54e780178"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/04e8a167-7954-458b-8424-8ae54e780178"}], "description": null}, {"id": "07723f32-0afa-4840-a5e5-0a50201c8e44", "name": "builder-cpu8-ram12-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/07723f32-0afa-4840-a5e5-0a50201c8e44"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/07723f32-0afa-4840-a5e5-0a50201c8e44"}], "description": null}, {"id": "07be7136-de73-419a-b60c-ead47c716a6c", "name": "builder-cpu4-ram24-disk68", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/07be7136-de73-419a-b60c-ead47c716a6c"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/07be7136-de73-419a-b60c-ead47c716a6c"}], "description": null}, {"id": "11b100e1-177c-44bf-9020-b8337bee93d4", "name": "builder-cpu16-ram4-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/11b100e1-177c-44bf-9020-b8337bee93d4"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/11b100e1-177c-44bf-9020-b8337bee93d4"}], "description": null}, {"id": "138760ec-e722-45fb-9a1b-dbe9faa4be05", "name": "builder-cpu4-ram32-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/138760ec-e722-45fb-9a1b-dbe9faa4be05"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/138760ec-e722-45fb-9a1b-dbe9faa4be05"}], "description": null}, {"id": "141ab266-affc-43f6-9aff-d32400802e26", "name": "builder-cpu16-ram4-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/141ab266-affc-43f6-9aff-d32400802e26"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/141ab266-affc-43f6-9aff-d32400802e26"}], "description": null}, {"id": "158b4ac0-c3d5-4189-9385-67b42147a8ff", "name": "builder-cpu8-ram16-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/158b4ac0-c3d5-4189-9385-67b42147a8ff"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/158b4ac0-c3d5-4189-9385-67b42147a8ff"}], "description": null}, {"id": "175e511c-8e8c-4bef-a838-296f69e1f9f1", "name": "builder-cpu4-ram16-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/175e511c-8e8c-4bef-a838-296f69e1f9f1"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/175e511c-8e8c-4bef-a838-296f69e1f9f1"}], "description": null}, {"id": "21561384-f0d4-4889-a07a-76ffc6972fc5", "name": "builder-cpu8-ram40-disk68", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/21561384-f0d4-4889-a07a-76ffc6972fc5"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/21561384-f0d4-4889-a07a-76ffc6972fc5"}], "description": null}, {"id": "249b6326-3243-4734-8e0b-414c6fc87e05", "name": "builder-cpu8-ram128-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/249b6326-3243-4734-8e0b-414c6fc87e05"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/249b6326-3243-4734-8e0b-414c6fc87e05"}], "description": null}, {"id": "25b5a8fc-a0aa-40d4-b7f3-5d875fee6392", "name": "builder-cpu2-ram32-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/25b5a8fc-a0aa-40d4-b7f3-5d875fee6392"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/25b5a8fc-a0aa-40d4-b7f3-5d875fee6392"}], "description": null}, {"id": "272fd155-f1d0-4d6a-ac21-6f79e528596a", "name": "builder-cpu32-ram128-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/272fd155-f1d0-4d6a-ac21-6f79e528596a"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/272fd155-f1d0-4d6a-ac21-6f79e528596a"}], "description": null}, {"id": "2a40caa9-d7ce-47d8-9c7a-4df29137d59e", "name": "builder-cpu4-ram72-disk28", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2a40caa9-d7ce-47d8-9c7a-4df29137d59e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2a40caa9-d7ce-47d8-9c7a-4df29137d59e"}], "description": null}, {"id": "2bb265e5-3dde-4e54-8222-23e92d5e3ec6", "name": "builder-cpu4-ram40-disk188", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2bb265e5-3dde-4e54-8222-23e92d5e3ec6"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2bb265e5-3dde-4e54-8222-23e92d5e3ec6"}], "description": null}, {"id": "2bd20aa0-a89c-4bbc-a604-1f24ffacf6b9", "name": "builder-cpu8-ram8-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2bd20aa0-a89c-4bbc-a604-1f24ffacf6b9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2bd20aa0-a89c-4bbc-a604-1f24ffacf6b9"}], "description": null}, {"id": "2cf12751-76e5-4288-8aa5-f2d9deea52c8", "name": "builder-cpu24-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2cf12751-76e5-4288-8aa5-f2d9deea52c8"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2cf12751-76e5-4288-8aa5-f2d9deea52c8"}], "description": null}, {"id": "2d153fc9-adc6-410a-8ee9-ffd692c5fbad", "name": "builder-cpu2-ram8-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2d153fc9-adc6-410a-8ee9-ffd692c5fbad"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2d153fc9-adc6-410a-8ee9-ffd692c5fbad"}], "description": null}, {"id": "2db0936e-251d-45de-822d-2de051f51fdb", "name": "builder-cpu8-ram16-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2db0936e-251d-45de-822d-2de051f51fdb"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2db0936e-251d-45de-822d-2de051f51fdb"}], "description": null}, {"id": "2db19277-009c-47a0-8034-29a27d02368f", "name": "builder-cpu16-ram4-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/2db19277-009c-47a0-8034-29a27d02368f"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/2db19277-009c-47a0-8034-29a27d02368f"}], "description": null}, {"id": "30e7c231-fc6a-4320-a9ef-bd53e01a46b2", "name": "builder-cpu8-ram16-disk500", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/30e7c231-fc6a-4320-a9ef-bd53e01a46b2"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/30e7c231-fc6a-4320-a9ef-bd53e01a46b2"}], "description": null}, {"id": "36592d98-43f4-48ce-b750-3eea97096511", "name": "builder-cpu32-ram256-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/36592d98-43f4-48ce-b750-3eea97096511"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/36592d98-43f4-48ce-b750-3eea97096511"}], "description": null}, {"id": "36e6d612-0802-400d-a5bd-1a49426335d3", "name": "builder-cpu2-ram4-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/36e6d612-0802-400d-a5bd-1a49426335d3"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/36e6d612-0802-400d-a5bd-1a49426335d3"}], "description": null}, {"id": "3b89d4fc-b6d9-4a2f-9276-b03f9629b42a", "name": "builder-cpu8-ram4-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/3b89d4fc-b6d9-4a2f-9276-b03f9629b42a"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/3b89d4fc-b6d9-4a2f-9276-b03f9629b42a"}], "description": null}, {"id": "425f06de-791e-4ad1-9d83-d2172e41df58", "name": "builder-cpu48-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/425f06de-791e-4ad1-9d83-d2172e41df58"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/425f06de-791e-4ad1-9d83-d2172e41df58"}], "description": null}, {"id": "475af682-b53e-43ae-99f6-46690ee01bb9", "name": "builder-cpu16-ram16-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/475af682-b53e-43ae-99f6-46690ee01bb9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/475af682-b53e-43ae-99f6-46690ee01bb9"}], "description": null}, {"id": "4b4eba1b-4cb6-4420-b6ea-07979ac20442", "name": "builder-cpu8-ram12-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/4b4eba1b-4cb6-4420-b6ea-07979ac20442"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/4b4eba1b-4cb6-4420-b6ea-07979ac20442"}], "description": null}, {"id": "4d5d521a-16cc-45d8-9907-a7308535d205", "name": "builder-cpu8-ram64-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/4d5d521a-16cc-45d8-9907-a7308535d205"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/4d5d521a-16cc-45d8-9907-a7308535d205"}], "description": null}, {"id": "4e55b0be-1268-47da-9820-9678a3d9fb27", "name": "builder-cpu4-ram64-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/4e55b0be-1268-47da-9820-9678a3d9fb27"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/4e55b0be-1268-47da-9820-9678a3d9fb27"}], "description": null}, {"id": "4fbee455-b681-4e03-8d58-9bb3a2090ad4", "name": "builder-cpu128-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/4fbee455-b681-4e03-8d58-9bb3a2090ad4"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/4fbee455-b681-4e03-8d58-9bb3a2090ad4"}], "description": null}, {"id": "524b7819-9c1f-4ef5-99b9-3e9a28c2eb97", "name": "builder-cpu4-ram32-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/524b7819-9c1f-4ef5-99b9-3e9a28c2eb97"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/524b7819-9c1f-4ef5-99b9-3e9a28c2eb97"}], "description": null}, {"id": "52a591a7-a936-4a37-a2bc-edd6f8d57f7e", "name": "builder-cpu8-ram32-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/52a591a7-a936-4a37-a2bc-edd6f8d57f7e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/52a591a7-a936-4a37-a2bc-edd6f8d57f7e"}], "description": null}, {"id": "52ac7ac9-f1dc-4149-b205-7b005bc13cf4", "name": "builder-cpu4-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/52ac7ac9-f1dc-4149-b205-7b005bc13cf4"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/52ac7ac9-f1dc-4149-b205-7b005bc13cf4"}], "description": null}, {"id": "5334be72-1d86-439a-8549-fad956b798c7", "name": "builder-cpu2-ram16-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/5334be72-1d86-439a-8549-fad956b798c7"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/5334be72-1d86-439a-8549-fad956b798c7"}], "description": null}, {"id": "56da88c5-b279-4c1e-a32c-c98f93a56fee", "name": "builder-cpu4-ram4-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/56da88c5-b279-4c1e-a32c-c98f93a56fee"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/56da88c5-b279-4c1e-a32c-c98f93a56fee"}], "description": null}, {"id": "5a27630d-a77e-49e1-9f49-f59c07fc1b36", "name": "builder-cpu16-ram16-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/5a27630d-a77e-49e1-9f49-f59c07fc1b36"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/5a27630d-a77e-49e1-9f49-f59c07fc1b36"}], "description": null}, {"id": "63d310b0-ffab-461d-9d8f-5b2ac4bba10e", "name": "builder-cpu8-ram32-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/63d310b0-ffab-461d-9d8f-5b2ac4bba10e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/63d310b0-ffab-461d-9d8f-5b2ac4bba10e"}], "description": null}, {"id": "67cee1ba-8264-4fc2-9294-b40ca701a925", "name": "builder-cpu16-ram32-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/67cee1ba-8264-4fc2-9294-b40ca701a925"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/67cee1ba-8264-4fc2-9294-b40ca701a925"}], "description": null}, {"id": "693e1657-a13b-45bb-a302-d3b024dbc7a7", "name": "builder-cpu2-ram8-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/693e1657-a13b-45bb-a302-d3b024dbc7a7"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/693e1657-a13b-45bb-a302-d3b024dbc7a7"}], "description": null}, {"id": "694f2dbf-3783-421c-8029-14204ec0fa76", "name": "builder-cpu4-ram4-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/694f2dbf-3783-421c-8029-14204ec0fa76"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/694f2dbf-3783-421c-8029-14204ec0fa76"}], "description": null}, {"id": "6acbb7e5-cdd7-4cb0-967d-cc3f35e71e54", "name": "builder-cpu8-ram16-disk1000", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6acbb7e5-cdd7-4cb0-967d-cc3f35e71e54"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6acbb7e5-cdd7-4cb0-967d-cc3f35e71e54"}], "description": null}, {"id": "6b16b58b-1cda-440f-b02d-6d4f9731dc70", "name": "builder-cpu2-ram32-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6b16b58b-1cda-440f-b02d-6d4f9731dc70"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6b16b58b-1cda-440f-b02d-6d4f9731dc70"}], "description": null}, {"id": "6cca0a62-74a7-4c38-b596-87e0c1bbc4d5", "name": "builder-cpu2-ram64-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6cca0a62-74a7-4c38-b596-87e0c1bbc4d5"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6cca0a62-74a7-4c38-b596-87e0c1bbc4d5"}], "description": null}, {"id": "6d2be426-11a0-4ce5-ba4d-951205974cec", "name": "builder-cpu8-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6d2be426-11a0-4ce5-ba4d-951205974cec"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6d2be426-11a0-4ce5-ba4d-951205974cec"}], "description": null}, {"id": "6d42974f-627a-4f43-9f75-ab5f6260e513", "name": "builder-cpu4-ram64-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6d42974f-627a-4f43-9f75-ab5f6260e513"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6d42974f-627a-4f43-9f75-ab5f6260e513"}], "description": null}, {"id": "6e7e9a3e-de86-42a0-a5ea-1adc850fffa9", "name": "builder-cpu2-ram8-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6e7e9a3e-de86-42a0-a5ea-1adc850fffa9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6e7e9a3e-de86-42a0-a5ea-1adc850fffa9"}], "description": null}, {"id": "6e970178-024d-43c4-b3d4-f11ab6a91b7c", "name": "builder-cpu128-ram128-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6e970178-024d-43c4-b3d4-f11ab6a91b7c"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6e970178-024d-43c4-b3d4-f11ab6a91b7c"}], "description": null}, {"id": "6f3c1c22-bdf3-436c-93b1-3d7255571bd9", "name": "builder-cpu16-ram8-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/6f3c1c22-bdf3-436c-93b1-3d7255571bd9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/6f3c1c22-bdf3-436c-93b1-3d7255571bd9"}], "description": null}, {"id": "7225571b-1026-44d1-a058-7091c062c47c", "name": "builder-cpu8-ram120-disk28", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/7225571b-1026-44d1-a058-7091c062c47c"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/7225571b-1026-44d1-a058-7091c062c47c"}], "description": null}, {"id": "72c17641-ea75-4cd4-94da-ff03cee05f72", "name": "builder-cpu16-ram72-disk80", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/72c17641-ea75-4cd4-94da-ff03cee05f72"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/72c17641-ea75-4cd4-94da-ff03cee05f72"}], "description": null}, {"id": "72d12f58-ba43-4d26-8ea6-12d9c0a51444", "name": "builder-cpu4-ram72-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/72d12f58-ba43-4d26-8ea6-12d9c0a51444"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/72d12f58-ba43-4d26-8ea6-12d9c0a51444"}], "description": null}, {"id": "75058787-ad3e-47b5-bff3-faec47577eb9", "name": "builder-cpu4-ram105-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/75058787-ad3e-47b5-bff3-faec47577eb9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/75058787-ad3e-47b5-bff3-faec47577eb9"}], "description": null}, {"id": "77ba4c1f-1832-4c08-8e97-1aeace974c42", "name": "builder-cpu4-ram16-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/77ba4c1f-1832-4c08-8e97-1aeace974c42"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/77ba4c1f-1832-4c08-8e97-1aeace974c42"}], "description": null}, {"id": "785ee83f-5c7f-47df-86df-80956a6e32f3", "name": "builder-cpu16-ram32-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/785ee83f-5c7f-47df-86df-80956a6e32f3"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/785ee83f-5c7f-47df-86df-80956a6e32f3"}], "description": null}, {"id": "79f6a305-2aa7-4860-9158-7d89841648a9", "name": "builder-cpu8-ram4-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/79f6a305-2aa7-4860-9158-7d89841648a9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/79f6a305-2aa7-4860-9158-7d89841648a9"}], "description": null}, {"id": "7a011be8-94a6-4b77-a5a5-e77254ccbca8", "name": "builder-cpu4-ram8-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/7a011be8-94a6-4b77-a5a5-e77254ccbca8"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/7a011be8-94a6-4b77-a5a5-e77254ccbca8"}], "description": null}, {"id": "7a55424e-2c8e-4e12-b4c2-226ac97f7237", "name": "builder-cpu4-ram8-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/7a55424e-2c8e-4e12-b4c2-226ac97f7237"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/7a55424e-2c8e-4e12-b4c2-226ac97f7237"}], "description": null}, {"id": "7f96fb47-d80d-4438-9869-04b733a2c8ea", "name": "builder-cpu4-ram16-disk40", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/7f96fb47-d80d-4438-9869-04b733a2c8ea"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/7f96fb47-d80d-4438-9869-04b733a2c8ea"}], "description": null}, {"id": "8192d4de-dbc4-4932-8599-7e5039d37410", "name": "builder-cpu4-ram8-disk120", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/8192d4de-dbc4-4932-8599-7e5039d37410"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/8192d4de-dbc4-4932-8599-7e5039d37410"}], "description": null}, {"id": "844e4d87-7d63-4df9-ae60-ec55926a83f7", "name": "builder-cpu16-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/844e4d87-7d63-4df9-ae60-ec55926a83f7"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/844e4d87-7d63-4df9-ae60-ec55926a83f7"}], "description": null}, {"id": "864f58ce-7611-4c29-8541-2cb4aba5bed7", "name": "builder-cpu8-ram8-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/864f58ce-7611-4c29-8541-2cb4aba5bed7"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/864f58ce-7611-4c29-8541-2cb4aba5bed7"}], "description": null}, {"id": "87550b2d-edc9-4d6a-81a1-8c65a954ae34", "name": "builder-cpu32-ram128-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/87550b2d-edc9-4d6a-81a1-8c65a954ae34"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/87550b2d-edc9-4d6a-81a1-8c65a954ae34"}], "description": null}, {"id": "88476d5c-36a0-40a0-a5cd-ce7887a403af", "name": "builder-cpu4-ram16-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/88476d5c-36a0-40a0-a5cd-ce7887a403af"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/88476d5c-36a0-40a0-a5cd-ce7887a403af"}], "description": null}, {"id": "88f47114-c251-4759-aa7d-f6280baab638", "name": "builder-cpu16-ram32-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/88f47114-c251-4759-aa7d-f6280baab638"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/88f47114-c251-4759-aa7d-f6280baab638"}], "description": null}, {"id": "8b7c656b-f42c-42a1-9136-d352b7ba4b78", "name": "builder-cpu16-ram16-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/8b7c656b-f42c-42a1-9136-d352b7ba4b78"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/8b7c656b-f42c-42a1-9136-d352b7ba4b78"}], "description": null}, {"id": "9371011e-59db-485e-9aba-38d8b8aeb207", "name": "builder-cpu4-ram32-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/9371011e-59db-485e-9aba-38d8b8aeb207"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/9371011e-59db-485e-9aba-38d8b8aeb207"}], "description": null}, {"id": "96cfd027-df21-4909-9b0b-206b1312f595", "name": "builder-cpu2-ram16-disk68", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/96cfd027-df21-4909-9b0b-206b1312f595"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/96cfd027-df21-4909-9b0b-206b1312f595"}], "description": null}, {"id": "985fca03-bec8-47d9-bdd3-0a32698ed6b5", "name": "builder-cpu4-ram8-disk200", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/985fca03-bec8-47d9-bdd3-0a32698ed6b5"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/985fca03-bec8-47d9-bdd3-0a32698ed6b5"}], "description": null}, {"id": "9d0fc448-e765-4542-9410-784b587f1821", "name": "builder-cpu32-ram256-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/9d0fc448-e765-4542-9410-784b587f1821"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/9d0fc448-e765-4542-9410-784b587f1821"}], "description": null}, {"id": "9ff981fa-78dc-450d-a19d-bc1a888410f3", "name": "builder-cpu8-ram16-disk200", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/9ff981fa-78dc-450d-a19d-bc1a888410f3"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/9ff981fa-78dc-450d-a19d-bc1a888410f3"}], "description": null}, {"id": "a522a9b4-db9e-40a8-ab36-a3bd78e4938f", "name": "builder-cpu2-ram12-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/a522a9b4-db9e-40a8-ab36-a3bd78e4938f"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/a522a9b4-db9e-40a8-ab36-a3bd78e4938f"}], "description": null}, {"id": "a64772ca-be6e-495b-ae24-7a733eaa07b5", "name": "builder-cpu128-ram64-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/a64772ca-be6e-495b-ae24-7a733eaa07b5"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/a64772ca-be6e-495b-ae24-7a733eaa07b5"}], "description": null}, {"id": "a8a22275-6a83-4a1e-ab29-4dd64358bd82", "name": "builder-cpu4-ram12-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/a8a22275-6a83-4a1e-ab29-4dd64358bd82"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/a8a22275-6a83-4a1e-ab29-4dd64358bd82"}], "description": null}, {"id": "a96c87b7-24d4-4982-9bfd-b67873fb0804", "name": "builder-cpu16-ram64-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/a96c87b7-24d4-4982-9bfd-b67873fb0804"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/a96c87b7-24d4-4982-9bfd-b67873fb0804"}], "description": null}, {"id": "aaecb8e2-af16-4f03-bee9-d987a226308a", "name": "builder-cpu8-ram32-disk40", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/aaecb8e2-af16-4f03-bee9-d987a226308a"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/aaecb8e2-af16-4f03-bee9-d987a226308a"}], "description": null}, {"id": "ad3bba6e-fc8d-4058-a25b-59e1da055fba", "name": "builder-cpu128-ram32-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/ad3bba6e-fc8d-4058-a25b-59e1da055fba"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/ad3bba6e-fc8d-4058-a25b-59e1da055fba"}], "description": null}, {"id": "b24f6896-0d34-4c85-b541-86ed1b90bf50", "name": "builder-cpu2-ram8-disk1500", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/b24f6896-0d34-4c85-b541-86ed1b90bf50"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/b24f6896-0d34-4c85-b541-86ed1b90bf50"}], "description": null}, {"id": "b33cc302-5dc3-4956-b919-744a9c7938e2", "name": "builder-cpu8-ram32-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/b33cc302-5dc3-4956-b919-744a9c7938e2"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/b33cc302-5dc3-4956-b919-744a9c7938e2"}], "description": null}, {"id": "bdfa8820-0a64-451a-a843-adb63fbc0d1e", "name": "builder-cpu2-ram44-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/bdfa8820-0a64-451a-a843-adb63fbc0d1e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/bdfa8820-0a64-451a-a843-adb63fbc0d1e"}], "description": null}, {"id": "c26ce93c-2e37-49a3-8d0d-29dd4e608c3e", "name": "builder-cpu16-ram128-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/c26ce93c-2e37-49a3-8d0d-29dd4e608c3e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/c26ce93c-2e37-49a3-8d0d-29dd4e608c3e"}], "description": null}, {"id": "c3f22941-d6f7-4af2-bff2-56f11319f383", "name": "builder-cpu2-ram4-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/c3f22941-d6f7-4af2-bff2-56f11319f383"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/c3f22941-d6f7-4af2-bff2-56f11319f383"}], "description": null}, {"id": "c60e327f-55f7-4040-9bcc-3954450befc2", "name": "builder-cpu4-ram12-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/c60e327f-55f7-4040-9bcc-3954450befc2"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/c60e327f-55f7-4040-9bcc-3954450befc2"}], "description": null}, {"id": "c6b90335-0ca7-4bc1-ba8a-adca9972c8e9", "name": "builder-cpu2-ram64-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/c6b90335-0ca7-4bc1-ba8a-adca9972c8e9"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/c6b90335-0ca7-4bc1-ba8a-adca9972c8e9"}], "description": null}, {"id": "c791e411-1ff5-46b5-9e54-17d181bfe727", "name": "builder-cpu2-ram32-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/c791e411-1ff5-46b5-9e54-17d181bfe727"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/c791e411-1ff5-46b5-9e54-17d181bfe727"}], "description": null}, {"id": "ca0b4981-c9ea-4bfe-b848-50f9514ce7ed", "name": "builder-cpu2-ram55-disk28", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/ca0b4981-c9ea-4bfe-b848-50f9514ce7ed"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/ca0b4981-c9ea-4bfe-b848-50f9514ce7ed"}], "description": null}, {"id": "cf420ea2-b852-4299-9894-2df35510350f", "name": "builder-cpu64-ram256-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/cf420ea2-b852-4299-9894-2df35510350f"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/cf420ea2-b852-4299-9894-2df35510350f"}], "description": null}, {"id": "d26e5c93-1d6c-4e5e-90fd-780550218127", "name": "builder-cpu2-ram16-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/d26e5c93-1d6c-4e5e-90fd-780550218127"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/d26e5c93-1d6c-4e5e-90fd-780550218127"}], "description": null}, {"id": "d2dc768c-8a0b-4821-9881-efbdd8a7c06e", "name": "builder-cpu4-ram8-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/d2dc768c-8a0b-4821-9881-efbdd8a7c06e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/d2dc768c-8a0b-4821-9881-efbdd8a7c06e"}], "description": null}, {"id": "d659e268-4be5-4242-ad73-e88072f321d2", "name": "builder-cpu16-ram8-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/d659e268-4be5-4242-ad73-e88072f321d2"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/d659e268-4be5-4242-ad73-e88072f321d2"}], "description": null}, {"id": "d66ef0ba-4ed3-4b71-bc63-844e5a20e052", "name": "builder-cpu128-ram32-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/d66ef0ba-4ed3-4b71-bc63-844e5a20e052"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/d66ef0ba-4ed3-4b71-bc63-844e5a20e052"}], "description": null}, {"id": "d90fc2c7-dd7c-4ef4-bee2-eb2d06f9b9c8", "name": "builder-cpu4-ram105-disk28", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/d90fc2c7-dd7c-4ef4-bee2-eb2d06f9b9c8"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/d90fc2c7-dd7c-4ef4-bee2-eb2d06f9b9c8"}], "description": null}, {"id": "d955a9a4-1b25-4f3f-91d1-6bf9cd03cbf1", "name": "builder-cpu2-ram64-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/d955a9a4-1b25-4f3f-91d1-6bf9cd03cbf1"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/d955a9a4-1b25-4f3f-91d1-6bf9cd03cbf1"}], "description": null}, {"id": "da119a46-1d41-4a4b-8ae0-9f7d1fe6880b", "name": "builder-cpu2-ram55-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/da119a46-1d41-4a4b-8ae0-9f7d1fe6880b"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/da119a46-1d41-4a4b-8ae0-9f7d1fe6880b"}], "description": null}, {"id": "dcd35934-8138-4535-876e-161cc3fa1ee7", "name": "builder-cpu8-ram64-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/dcd35934-8138-4535-876e-161cc3fa1ee7"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/dcd35934-8138-4535-876e-161cc3fa1ee7"}], "description": null}, {"id": "df486496-2753-4212-b4be-2e3a6e9b5b36", "name": "builder-cpu4-ram4-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/df486496-2753-4212-b4be-2e3a6e9b5b36"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/df486496-2753-4212-b4be-2e3a6e9b5b36"}], "description": null}, {"id": "dffd96f6-2523-45ea-bd8c-0e13a12d753e", "name": "builder-cpu8-ram16-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/dffd96f6-2523-45ea-bd8c-0e13a12d753e"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/dffd96f6-2523-45ea-bd8c-0e13a12d753e"}], "description": null}, {"id": "e0416e72-df6b-44d4-b3de-db9ab74cc7b3", "name": "builder-cpu2-ram4-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3"}], "description": null}, {"id": "e8143db4-e2e5-4b0f-a770-c9f9c21bff31", "name": "builder-cpu64-ram128-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/e8143db4-e2e5-4b0f-a770-c9f9c21bff31"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/e8143db4-e2e5-4b0f-a770-c9f9c21bff31"}], "description": null}, {"id": "e8d11c62-287d-45ac-b117-789a4a391eba", "name": "builder-cpu8-ram12-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/e8d11c62-287d-45ac-b117-789a4a391eba"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/e8d11c62-287d-45ac-b117-789a4a391eba"}], "description": null}, {"id": "e8fc6c71-cf89-40d7-a04e-659a6a37f5f3", "name": "builder-cpu24-ram128-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/e8fc6c71-cf89-40d7-a04e-659a6a37f5f3"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/e8fc6c71-cf89-40d7-a04e-659a6a37f5f3"}], "description": null}, {"id": "ebbdc26b-516b-4023-8ef8-c9ef383977ae", "name": "builder-cpu64-ram256-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/ebbdc26b-516b-4023-8ef8-c9ef383977ae"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/ebbdc26b-516b-4023-8ef8-c9ef383977ae"}], "description": null}, {"id": "ec310147-5973-4942-aae9-f6bbae890e7c", "name": "builder-cpu16-ram8-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/ec310147-5973-4942-aae9-f6bbae890e7c"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/ec310147-5973-4942-aae9-f6bbae890e7c"}], "description": null}, {"id": "eef2cd3d-9e03-4605-8440-19b4346a1850", "name": "builder-cpu48-ram128-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/eef2cd3d-9e03-4605-8440-19b4346a1850"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/eef2cd3d-9e03-4605-8440-19b4346a1850"}], "description": null}, {"id": "f167a964-645f-40a6-8e7e-b98a74b68482", "name": "builder-cpu4-ram128-disk20", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/f167a964-645f-40a6-8e7e-b98a74b68482"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/f167a964-645f-40a6-8e7e-b98a74b68482"}], "description": null}, {"id": "f1954571-7536-49b4-b9a7-88d87d5f3613", "name": "builder-cpu128-ram128-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/f1954571-7536-49b4-b9a7-88d87d5f3613"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/f1954571-7536-49b4-b9a7-88d87d5f3613"}], "description": null}, {"id": "f5ba3652-bd6c-45d2-adbb-f43aa0e0026d", "name": "builder-cpu2-ram12-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/f5ba3652-bd6c-45d2-adbb-f43aa0e0026d"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/f5ba3652-bd6c-45d2-adbb-f43aa0e0026d"}], "description": null}, {"id": "f614ef9a-82e3-43ef-a9cd-3b6def3a0951", "name": "builder-cpu8-ram4-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/f614ef9a-82e3-43ef-a9cd-3b6def3a0951"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/f614ef9a-82e3-43ef-a9cd-3b6def3a0951"}], "description": null}, {"id": "f65cdaae-ff32-4a9c-88cd-6304233f2896", "name": "builder-cpu64-ram128-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/f65cdaae-ff32-4a9c-88cd-6304233f2896"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/f65cdaae-ff32-4a9c-88cd-6304233f2896"}], "description": null}, {"id": "fb2bff74-8f1e-48b1-a955-2ce89a4d0c72", "name": "builder-cpu4-ram12-disk100", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/fb2bff74-8f1e-48b1-a955-2ce89a4d0c72"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/fb2bff74-8f1e-48b1-a955-2ce89a4d0c72"}], "description": null}, {"id": "fbb30d53-fd7a-4e40-8164-061a24326fee", "name": "builder-cpu8-ram8-disk50", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/fbb30d53-fd7a-4e40-8164-061a24326fee"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/fbb30d53-fd7a-4e40-8164-061a24326fee"}], "description": null}, {"id": "fdf1b849-98d4-40ac-b60a-f56fe00b8b6d", "name": "builder-cpu2-ram8-disk28", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/fdf1b849-98d4-40ac-b60a-f56fe00b8b6d"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/fdf1b849-98d4-40ac-b60a-f56fe00b8b6d"}], "description": null}]} 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/flavors?is_public=None used request id req-a17c2c13-50d6-4305-91cf-1910290288ca 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3 HTTP/1.1" 200 594 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 594 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:55 GMT Keep-Alive: timeout=75, max=996 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-3131b6d8-344a-4ef9-841a-5afc52467c23 x-openstack-request-id: req-3131b6d8-344a-4ef9-841a-5afc52467c23 1110s DEBUG (session:580) RESP BODY: {"flavor": {"id": "e0416e72-df6b-44d4-b3de-db9ab74cc7b3", "name": "builder-cpu2-ram4-disk20", "ram": 4096, "disk": 20, "swap": 0, "OS-FLV-EXT-DATA:ephemeral": 0, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "os-flavor-access:is_public": false, "rxtx_factor": 1.0, "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3"}], "description": null, "extra_specs": {"aggregate_instance_extra_specs:commit": "builder"}}} 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/flavors/e0416e72-df6b-44d4-b3de-db9ab74cc7b3 used request id req-3131b6d8-344a-4ef9-841a-5afc52467c23 1110s DEBUG (session:517) REQ: curl -g -i -X POST https://nova.ps6.canonical.com:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" -d '{"server": {"name": "adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b", "imageRef": "9e8e99d5-3366-42e6-8f42-63b527e5abcc", "flavorRef": "e0416e72-df6b-44d4-b3de-db9ab74cc7b3", "user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJ2h0dHBfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4naHR0cHNfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4nbm9fcHJveHk9MTI3LjAuMC4xLDEyNy4wLjEuMSxsb2dpbi51YnVudHUuY29tLGxvY2FsaG9zdCxsb2NhbGRvbWFpbixub3ZhbG9jYWwsaW50ZXJuYWwsYXJjaGl2ZS51YnVudHUuY29tLHBvcnRzLnVidW50dS5jb20sc2VjdXJpdHkudWJ1bnR1LmNvbSxkZGVicy51YnVudHUuY29tLGNoYW5nZWxvZ3MudWJ1bnR1LmNvbSxrZXlzZXJ2ZXIudWJ1bnR1LmNvbSxsYXVuY2hwYWRsaWJyYXJpYW4ubmV0LGxhdW5jaHBhZGNvbnRlbnQubmV0LGxhdW5jaHBhZC5uZXQsMTAuMjQuMC4wLzI0LGtleXN0b25lLnBzNS5jYW5vbmljYWwuY29tLG9iamVjdHN0b3JhZ2UucHJvZHN0YWNrNS5jYW5vbmljYWwuY29tJ1xuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-15", "min_count": 1, "max_count": 1, "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-29.secgroup"}], "networks": [{"uuid": "6ed11345-2198-454b-9eb6-d2e8a156635a"}]}}' 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "POST /v2.1/servers HTTP/1.1" 202 471 1110s DEBUG (session:548) RESP: [202] Connection: Keep-Alive Content-Length: 471 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:55 GMT Keep-Alive: timeout=75, max=995 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 location: https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 x-compute-request-id: req-b946d579-ff29-42fc-871c-2e603fbaed93 x-openstack-request-id: req-b946d579-ff29-42fc-871c-2e603fbaed93 1110s DEBUG (session:580) RESP BODY: {"server": {"id": "25d8654c-a20a-49e9-ac2d-e4f120d5b409", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}], "OS-DCF:diskConfig": "MANUAL", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-29.secgroup"}], "adminPass": "4AMs9nBh9Mzi"}} 1110s DEBUG (session:936) POST call to compute for https://nova.ps6.canonical.com:8774/v2.1/servers used request id req-b946d579-ff29-42fc-871c-2e603fbaed93 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 HTTP/1.1" 200 3168 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 3168 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:58 GMT Keep-Alive: timeout=75, max=994 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-c0733cac-e20b-40c6-b453-245e404823fb x-openstack-request-id: req-c0733cac-e20b-40c6-b453-245e404823fb 1110s DEBUG (session:580) RESP BODY: {"server": {"id": "25d8654c-a20a-49e9-ac2d-e4f120d5b409", "name": "adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b", "status": "BUILD", "tenant_id": "6804bfca484f4f559c01edaf5615dc5f", "user_id": "39656a4e94d140279666b3398a5d36e3", "metadata": {}, "hostId": "", "image": {"id": "9e8e99d5-3366-42e6-8f42-63b527e5abcc", "links": [{"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "builder-cpu2-ram4-disk20", "extra_specs": {"aggregate_instance_extra_specs:commit": "builder"}}, "created": "2024-12-04T01:27:58Z", "updated": "2024-12-04T01:27:58Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-15", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-hx0wm33j", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-plucky-amd64-glib2-0-20241204-012746-juju-7f2275-prod-propo", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJ2h0dHBfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4naHR0cHNfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4nbm9fcHJveHk9MTI3LjAuMC4xLDEyNy4wLjEuMSxsb2dpbi51YnVudHUuY29tLGxvY2FsaG9zdCxsb2NhbGRvbWFpbixub3ZhbG9jYWwsaW50ZXJuYWwsYXJjaGl2ZS51YnVudHUuY29tLHBvcnRzLnVidW50dS5jb20sc2VjdXJpdHkudWJ1bnR1LmNvbSxkZGVicy51YnVudHUuY29tLGNoYW5nZWxvZ3MudWJ1bnR1LmNvbSxrZXlzZXJ2ZXIudWJ1bnR1LmNvbSxsYXVuY2hwYWRsaWJyYXJpYW4ubmV0LGxhdW5jaHBhZGNvbnRlbnQubmV0LGxhdW5jaHBhZC5uZXQsMTAuMjQuMC4wLzI0LGtleXN0b25lLnBzNS5jYW5vbmljYWwuY29tLG9iamVjdHN0b3JhZ2UucHJvZHN0YWNrNS5jYW5vbmljYWwuY29tJ1xuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 used request id req-c0733cac-e20b-40c6-b453-245e404823fb 1110s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps6.canonical.com:9292/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://glance.ps6.canonical.com:9292 "GET /v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc HTTP/1.1" 200 2279 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2279 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:58 GMT Keep-Alive: timeout=75, max=999 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-7746368a-32d4-40d7-90b6-8e637db10b93 1110s DEBUG (session:580) RESP BODY: {"architecture": "x86_64", "base_image_ref": "9295bc67-0c0a-44a4-9931-1c94892ca3ee", "boot_roles": "load-balancer_member,reader,member", "content_id": "auto.sync", "hw_cdrom_bus": "ide", "hw_disk_bus": "virtio", "hw_machine_type": "pc", "hw_video_model": "qxl", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "instance_uuid": "8d32cd41-acd1-467f-b589-b264074046a8", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "25.04", "owner_id": "6804bfca484f4f559c01edaf5615dc5f", "owner_project_name": "prod-proposed-migration-amd64_project", "owner_user_name": "prod-proposed-migration-amd64", "product_name": "com.ubuntu.cloud.daily:server:25.04:amd64", "simplestreams_metadata": "{\"aliases\": \"25.04,p,plucky,devel\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"md5\": \"bb63558566e3d16c93b6743e975c6727\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-plucky-daily-amd64-server-20241122\", \"release\": \"plucky\", \"release_codename\": \"Pluck", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "39656a4e94d140279666b3398a5d36e3", "version_name": "20241122", "name": "adt/ubuntu-plucky-amd64-server-20241203.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 3004694528, "virtual_size": 21474836480, "status": "active", "checksum": "29f39de84e400803d996c30643d24db5", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "6804bfca484f4f559c01edaf5615dc5f", "os_hidden": false, "os_hash_algo": "sha512", "os_hash_value": "80c0ac53a19ff804f29ff2662b2f935343a64f934f2c00a65b437742dce541778d7f9719b4695ccbeeca0c31ea526a2c886fbade7a36e999dccb5781c7721495", "id": "9e8e99d5-3366-42e6-8f42-63b527e5abcc", "created_at": "2024-12-03T02:34:26Z", "updated_at": "2024-12-03T02:37:07Z", "locations": [{"url": "rbd://eea9d068-c18c-11ed-8dc0-013aacb71b80/glance/9e8e99d5-3366-42e6-8f42-63b527e5abcc/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://eea9d068-c18c-11ed-8dc0-013aacb71b80/glance/9e8e99d5-3366-42e6-8f42-63b527e5abcc/snap", "tags": [], "self": "/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc", "file": "/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc/file", "schema": "/v2/schemas/image", "stores": "ceph"} 1110s DEBUG (session:936) GET call to image for https://glance.ps6.canonical.com:9292/v2/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc used request id req-7746368a-32d4-40d7-90b6-8e637db10b93 1110s +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ 1110s | Property | Value | 1110s +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ 1110s | OS-DCF:diskConfig | MANUAL | 1110s | OS-EXT-AZ:availability_zone | | 1110s | OS-EXT-SRV-ATTR:host | - | 1110s | OS-EXT-SRV-ATTR:hostname | adt-plucky-amd64-glib2-0-20241204-012746-juju-7f2275-prod-propo | 1110s | OS-EXT-SRV-ATTR:hypervisor_hostname | - | 1110s | OS-EXT-SRV-ATTR:instance_name | | 1110s | OS-EXT-SRV-ATTR:kernel_id | | 1110s | OS-EXT-SRV-ATTR:launch_index | 0 | 1110s | OS-EXT-SRV-ATTR:ramdisk_id | | 1110s | OS-EXT-SRV-ATTR:reservation_id | r-hx0wm33j | 1110s | OS-EXT-SRV-ATTR:root_device_name | - | 1110s | OS-EXT-STS:power_state | 0 | 1110s | OS-EXT-STS:task_state | scheduling | 1110s | OS-EXT-STS:vm_state | building | 1110s | OS-SRV-USG:launched_at | - | 1110s | OS-SRV-USG:terminated_at | - | 1110s | accessIPv4 | | 1110s | accessIPv6 | | 1110s | adminPass | 4AMs9nBh9Mzi | 1110s | config_drive | | 1110s | created | 2024-12-04T01:27:58Z | 1110s | description | - | 1110s | flavor:disk | 20 | 1110s | flavor:ephemeral | 0 | 1110s | flavor:extra_specs | {"aggregate_instance_extra_specs:commit": "builder"} | 1110s | flavor:original_name | builder-cpu2-ram4-disk20 | 1110s | flavor:ram | 4096 | 1110s | flavor:swap | 0 | 1110s | flavor:vcpus | 2 | 1110s | hostId | | 1110s | id | 25d8654c-a20a-49e9-ac2d-e4f120d5b409 | 1110s | image | adt/ubuntu-plucky-amd64-server-20241203.img (9e8e99d5-3366-42e6-8f42-63b527e5abcc) | 1110s | key_name | testbed-juju-7f2275-prod-proposed-migration-environment-15 | 1110s | locked | False | 1110s | locked_reason | - | 1110s | metadata | {} | 1110s | name | adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b | 1110s | os-extended-volumes:volumes_attached | [] | 1110s | progress | 0 | 1110s | security_groups | autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-29.secgroup | 1110s | server_groups | [] | 1110s | status | BUILD | 1110s | tags | [] | 1110s | tenant_id | 6804bfca484f4f559c01edaf5615dc5f | 1110s | trusted_image_certificates | - | 1110s | updated | 2024-12-04T01:27:58Z | 1110s | user_id | 39656a4e94d140279666b3398a5d36e3 | 1110s +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 HTTP/1.1" 200 3168 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 3168 Content-Type: application/json Date: Wed, 04 Dec 2024 01:27:59 GMT Keep-Alive: timeout=75, max=993 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-0b74bf23-c514-45fc-956a-a5c57d4c0da2 x-openstack-request-id: req-0b74bf23-c514-45fc-956a-a5c57d4c0da2 1110s DEBUG (session:580) RESP BODY: {"server": {"id": "25d8654c-a20a-49e9-ac2d-e4f120d5b409", "name": "adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b", "status": "BUILD", "tenant_id": "6804bfca484f4f559c01edaf5615dc5f", "user_id": "39656a4e94d140279666b3398a5d36e3", "metadata": {}, "hostId": "", "image": {"id": "9e8e99d5-3366-42e6-8f42-63b527e5abcc", "links": [{"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "builder-cpu2-ram4-disk20", "extra_specs": {"aggregate_instance_extra_specs:commit": "builder"}}, "created": "2024-12-04T01:27:58Z", "updated": "2024-12-04T01:27:59Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-15", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-hx0wm33j", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-plucky-amd64-glib2-0-20241204-012746-juju-7f2275-prod-propo", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJ2h0dHBfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4naHR0cHNfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4nbm9fcHJveHk9MTI3LjAuMC4xLDEyNy4wLjEuMSxsb2dpbi51YnVudHUuY29tLGxvY2FsaG9zdCxsb2NhbGRvbWFpbixub3ZhbG9jYWwsaW50ZXJuYWwsYXJjaGl2ZS51YnVudHUuY29tLHBvcnRzLnVidW50dS5jb20sc2VjdXJpdHkudWJ1bnR1LmNvbSxkZGVicy51YnVudHUuY29tLGNoYW5nZWxvZ3MudWJ1bnR1LmNvbSxrZXlzZXJ2ZXIudWJ1bnR1LmNvbSxsYXVuY2hwYWRsaWJyYXJpYW4ubmV0LGxhdW5jaHBhZGNvbnRlbnQubmV0LGxhdW5jaHBhZC5uZXQsMTAuMjQuMC4wLzI0LGtleXN0b25lLnBzNS5jYW5vbmljYWwuY29tLG9iamVjdHN0b3JhZ2UucHJvZHN0YWNrNS5jYW5vbmljYWwuY29tJ1xuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 used request id req-0b74bf23-c514-45fc-956a-a5c57d4c0da2 1110s 1110s 1110s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}c2d73ef232f461f2d93adc19ebe1c90902776ca0dd049d88a756bf39c318a59b" -H "X-OpenStack-Nova-API-Version: 2.87" 1110s DEBUG (connectionpool:429) https://nova.ps6.canonical.com:8774 "GET /v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 HTTP/1.1" 200 3324 1110s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 3324 Content-Type: application/json Date: Wed, 04 Dec 2024 01:28:04 GMT Keep-Alive: timeout=75, max=992 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-0d6c0515-ed7f-4ab2-9464-3833a15c20d2 x-openstack-request-id: req-0d6c0515-ed7f-4ab2-9464-3833a15c20d2 1110s DEBUG (session:580) RESP BODY: {"server": {"id": "25d8654c-a20a-49e9-ac2d-e4f120d5b409", "name": "adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b", "status": "ERROR", "tenant_id": "6804bfca484f4f559c01edaf5615dc5f", "user_id": "39656a4e94d140279666b3398a5d36e3", "metadata": {}, "hostId": "", "image": {"id": "9e8e99d5-3366-42e6-8f42-63b527e5abcc", "links": [{"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/images/9e8e99d5-3366-42e6-8f42-63b527e5abcc"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "builder-cpu2-ram4-disk20", "extra_specs": {"aggregate_instance_extra_specs:commit": "builder"}}, "created": "2024-12-04T01:27:58Z", "updated": "2024-12-04T01:28:00Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}, {"rel": "bookmark", "href": "https://nova.ps6.canonical.com:8774/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409"}], "OS-DCF:diskConfig": "MANUAL", "fault": {"code": 413, "created": "2024-12-04T01:28:00Z", "message": "Quota exceeded for cores: Requested 2, but already used 160 of 160 cores"}, "OS-EXT-AZ:availability_zone": "availability-zone-3", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-15", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "instance-00419347", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-hx0wm33j", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-plucky-amd64-glib2-0-20241204-012746-juju-7f2275-prod-propo", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJ2h0dHBfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4naHR0cHNfcHJveHk9aHR0cDovL3NxdWlkLmludGVybmFsOjMxMjgnXG4nbm9fcHJveHk9MTI3LjAuMC4xLDEyNy4wLjEuMSxsb2dpbi51YnVudHUuY29tLGxvY2FsaG9zdCxsb2NhbGRvbWFpbixub3ZhbG9jYWwsaW50ZXJuYWwsYXJjaGl2ZS51YnVudHUuY29tLHBvcnRzLnVidW50dS5jb20sc2VjdXJpdHkudWJ1bnR1LmNvbSxkZGVicy51YnVudHUuY29tLGNoYW5nZWxvZ3MudWJ1bnR1LmNvbSxrZXlzZXJ2ZXIudWJ1bnR1LmNvbSxsYXVuY2hwYWRsaWJyYXJpYW4ubmV0LGxhdW5jaHBhZGNvbnRlbnQubmV0LGxhdW5jaHBhZC5uZXQsMTAuMjQuMC4wLzI0LGtleXN0b25lLnBzNS5jYW5vbmljYWwuY29tLG9iamVjdHN0b3JhZ2UucHJvZHN0YWNrNS5jYW5vbmljYWwuY29tJ1xuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 1110s DEBUG (session:936) GET call to compute for https://nova.ps6.canonical.com:8774/v2.1/servers/25d8654c-a20a-49e9-ac2d-e4f120d5b409 used request id req-0d6c0515-ed7f-4ab2-9464-3833a15c20d2 1110s DEBUG (shell:822) 1110s Traceback (most recent call last): 1110s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 820, in main 1110s OpenStackComputeShell().main(argv) 1110s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 742, in main 1110s args.func(self.cs, args) 1110s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 980, in do_boot 1110s _poll_for_status(cs.servers.get, server.id, 'building', ['active']) 1110s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 1019, in _poll_for_status 1110s raise exceptions.ResourceInErrorState(obj) 1110s novaclient.exceptions.ResourceInErrorState: 1110s ERROR (ResourceInErrorState): 1110s 1110s Error building server 1110s nova [W] nova quota exceeded (attempt #0) 1112s autopkgtest [01:46:18]: testbed dpkg architecture: amd64 1112s autopkgtest [01:46:18]: testbed apt version: 2.9.14ubuntu1 1113s autopkgtest [01:46:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1113s autopkgtest [01:46:19]: testbed release detected to be: None 1113s autopkgtest [01:46:19]: updating testbed package index (apt update) 1114s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1114s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1114s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1114s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1114s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1114s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 1114s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 1114s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 1114s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [89.7 kB] 1114s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [138 kB] 1114s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2572 B] 1114s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.6 kB] 1114s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 1114s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [236 kB] 1114s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [21.4 kB] 1114s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6364 B] 1115s Fetched 2088 kB in 1s (2329 kB/s) 1115s Reading package lists... 1116s Reading package lists... 1116s Building dependency tree... 1116s Reading state information... 1116s Calculating upgrade... 1116s The following package was automatically installed and is no longer required: 1116s libassuan0 1116s Use 'sudo apt autoremove' to remove it. 1116s The following packages will be upgraded: 1116s binutils binutils-common binutils-x86-64-linux-gnu dirmngr gcc-14-base gnupg 1116s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1116s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 1116s libgprofng0 libsframe1 libstdc++6 publicsuffix 1117s 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1117s Need to get 7991 kB of archives. 1117s After this operation, 332 kB of additional disk space will be used. 1117s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-9ubuntu1 [10.3 kB] 1117s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-9ubuntu1 [52.0 kB] 1117s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-9ubuntu1 [788 kB] 1117s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-9ubuntu1 [78.4 kB] 1117s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4 [15.5 kB] 1117s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-wks-client amd64 2.4.4-2ubuntu20 [73.8 kB] 1117s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 dirmngr amd64 2.4.4-2ubuntu20 [354 kB] 1117s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgsm amd64 2.4.4-2ubuntu20 [263 kB] 1117s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-utils amd64 2.4.4-2ubuntu20 [114 kB] 1117s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-agent amd64 2.4.4-2ubuntu20 [247 kB] 1117s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg amd64 2.4.4-2ubuntu20 [652 kB] 1117s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgconf amd64 2.4.4-2ubuntu20 [106 kB] 1117s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg all 2.4.4-2ubuntu20 [359 kB] 1117s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 keyboxd amd64 2.4.4-2ubuntu20 [86.3 kB] 1117s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgv amd64 2.4.4-2ubuntu20 [181 kB] 1117s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 publicsuffix all 20241025.1547-0.1 [135 kB] 1117s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.43.50.20241126-3ubuntu1 [885 kB] 1117s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.43.50.20241126-3ubuntu1 [96.4 kB] 1117s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.43.50.20241126-3ubuntu1 [98.6 kB] 1117s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.43.50.20241126-3ubuntu1 [3282 B] 1117s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.43.50.20241126-3ubuntu1 [2486 kB] 1117s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.43.50.20241126-3ubuntu1 [583 kB] 1117s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.43.50.20241126-3ubuntu1 [244 kB] 1117s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.43.50.20241126-3ubuntu1 [14.6 kB] 1117s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 1118s Fetched 7991 kB in 1s (9003 kB/s) 1118s (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 ... 75952 files and directories currently installed.) 1118s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_amd64.deb ... 1118s Unpacking libatomic1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1118s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_amd64.deb ... 1118s Unpacking gcc-14-base:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1118s Setting up gcc-14-base:amd64 (14.2.0-9ubuntu1) ... 1118s (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 ... 75952 files and directories currently installed.) 1118s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_amd64.deb ... 1118s Unpacking libstdc++6:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1118s Setting up libstdc++6:amd64 (14.2.0-9ubuntu1) ... 1118s (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 ... 75952 files and directories currently installed.) 1118s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_amd64.deb ... 1118s Unpacking libgcc-s1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1118s Setting up libgcc-s1:amd64 (14.2.0-9ubuntu1) ... 1118s (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 ... 75952 files and directories currently installed.) 1118s Preparing to unpack .../libcap-ng0_0.8.5-4_amd64.deb ... 1118s Unpacking libcap-ng0:amd64 (0.8.5-4) over (0.8.5-3build1) ... 1118s Setting up libcap-ng0:amd64 (0.8.5-4) ... 1118s (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 ... 75952 files and directories currently installed.) 1118s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_amd64.deb ... 1118s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1118s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 1118s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1119s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_amd64.deb ... 1119s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1119s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_amd64.deb ... 1119s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1119s Setting up gpgv (2.4.4-2ubuntu20) ... 1119s (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 ... 75952 files and directories currently installed.) 1119s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 1119s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 1119s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking libctf0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking libbinutils:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking binutils-common:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_amd64.deb ... 1119s Unpacking libsframe1:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1119s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 1119s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1119s Setting up binutils-common:amd64 (2.43.50.20241126-3ubuntu1) ... 1119s Setting up libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) ... 1119s Setting up libsframe1:amd64 (2.43.50.20241126-3ubuntu1) ... 1119s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 1119s Setting up libatomic1:amd64 (14.2.0-9ubuntu1) ... 1119s Setting up gpgconf (2.4.4-2ubuntu20) ... 1119s Setting up libbinutils:amd64 (2.43.50.20241126-3ubuntu1) ... 1119s Setting up publicsuffix (20241025.1547-0.1) ... 1119s Setting up gpg (2.4.4-2ubuntu20) ... 1119s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 1119s Setting up libctf0:amd64 (2.43.50.20241126-3ubuntu1) ... 1119s Setting up gpg-agent (2.4.4-2ubuntu20) ... 1119s Setting up gpgsm (2.4.4-2ubuntu20) ... 1119s Setting up dirmngr (2.4.4-2ubuntu20) ... 1120s Setting up libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) ... 1120s Setting up keyboxd (2.4.4-2ubuntu20) ... 1120s Setting up gnupg (2.4.4-2ubuntu20) ... 1120s Setting up binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 1120s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 1120s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 1120s Processing triggers for install-info (7.1.1-1) ... 1120s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1120s Processing triggers for man-db (2.13.0-1) ... 1121s Reading package lists... 1121s Building dependency tree... 1121s Reading state information... 1122s The following packages will be REMOVED: 1122s libassuan0* 1122s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1122s After this operation, 102 kB disk space will be freed. 1122s (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 ... 75957 files and directories currently installed.) 1122s Removing libassuan0:amd64 (2.5.6-1build1) ... 1122s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1122s autopkgtest [01:46:28]: upgrading testbed (apt dist-upgrade and autopurge) 1122s Reading package lists... 1123s Building dependency tree... 1123s Reading state information... 1123s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1123s Starting 2 pkgProblemResolver with broken count: 0 1123s Done 1124s Entering ResolveByKeep 1124s 1124s The following packages will be upgraded: 1124s xauth 1124s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1124s Need to get 26.6 kB of archives. 1124s After this operation, 1024 B of additional disk space will be used. 1124s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xauth amd64 1:1.1.2-1.1 [26.6 kB] 1124s Fetched 26.6 kB in 0s (127 kB/s) 1124s (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 ... 75952 files and directories currently installed.) 1124s Preparing to unpack .../xauth_1%3a1.1.2-1.1_amd64.deb ... 1124s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1124s Setting up xauth (1:1.1.2-1.1) ... 1124s Processing triggers for man-db (2.13.0-1) ... 1125s Reading package lists... 1125s Building dependency tree... 1125s Reading state information... 1126s Starting pkgProblemResolver with broken count: 0 1126s Starting 2 pkgProblemResolver with broken count: 0 1126s Done 1126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1128s autopkgtest [01:46:34]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 1129s autopkgtest [01:46:35]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 1139s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (dsc) [4921 B] 1139s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [263 kB] 1139s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [5556 kB] 1139s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (diff) [141 kB] 1139s gpgv: Signature made Wed Nov 13 21:48:54 2024 UTC 1139s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 1139s gpgv: Can't check signature: No public key 1139s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.2-3.dsc: no acceptable signature found 1139s autopkgtest [01:46:45]: testing package glib2.0 version 2.82.2-3 1143s autopkgtest [01:46:49]: build not needed 1153s autopkgtest [01:46:59]: test build: preparing testbed 1153s Reading package lists... 1153s Building dependency tree... 1153s Reading state information... 1153s Starting pkgProblemResolver with broken count: 0 1153s Starting 2 pkgProblemResolver with broken count: 0 1153s Done 1154s The following NEW packages will be installed: 1154s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 1154s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 1154s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 1154s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 1154s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 1154s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 1154s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 1154s pkgconf-bin uuid-dev zlib1g-dev 1154s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 1154s Need to get 70.4 MB of archives. 1154s After this operation, 243 MB of additional disk space will be used. 1154s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 1154s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 1154s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-9ubuntu1 [11.9 MB] 1154s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-9ubuntu1 [1032 B] 1154s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 1154s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 1154s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-9ubuntu1 [47.6 kB] 1154s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-9ubuntu1 [148 kB] 1154s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-9ubuntu1 [28.9 kB] 1154s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-9ubuntu1 [2998 kB] 1155s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-9ubuntu1 [1316 kB] 1155s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-9ubuntu1 [2732 kB] 1155s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-9ubuntu1 [1177 kB] 1155s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-9ubuntu1 [1634 kB] 1155s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-9ubuntu1 [153 kB] 1155s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-9ubuntu1 [2814 kB] 1155s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-9ubuntu1 [23.4 MB] 1155s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-9ubuntu1 [531 kB] 1155s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 1155s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 1155s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-9ubuntu1 [2482 kB] 1155s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-9ubuntu1 [13.4 MB] 1156s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-9ubuntu1 [20.1 kB] 1156s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 1156s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 1156s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 1156s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 1156s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu1 [52.7 kB] 1156s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu1 [225 kB] 1156s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 1156s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 1156s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 1156s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 1156s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 1156s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu1 [169 kB] 1156s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu1 [33.0 kB] 1156s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 1156s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 1156s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 1156s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 1156s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 1156s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.2-3 [1876 kB] 1157s Fetched 70.4 MB in 3s (24.7 MB/s) 1157s Selecting previously unselected package libisl23:amd64. 1157s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75952 files and directories currently installed.) 1157s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 1157s Unpacking libisl23:amd64 (0.27-1) ... 1157s Selecting previously unselected package libmpc3:amd64. 1157s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 1157s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 1157s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 1157s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package cpp-14. 1157s Preparing to unpack .../03-cpp-14_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking cpp-14 (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package cpp-x86-64-linux-gnu. 1157s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 1157s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1157s Selecting previously unselected package cpp. 1157s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 1157s Unpacking cpp (4:14.1.0-2ubuntu1) ... 1157s Selecting previously unselected package libcc1-0:amd64. 1157s Preparing to unpack .../06-libcc1-0_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking libcc1-0:amd64 (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package libgomp1:amd64. 1157s Preparing to unpack .../07-libgomp1_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking libgomp1:amd64 (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package libitm1:amd64. 1157s Preparing to unpack .../08-libitm1_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking libitm1:amd64 (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package libasan8:amd64. 1157s Preparing to unpack .../09-libasan8_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking libasan8:amd64 (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package liblsan0:amd64. 1157s Preparing to unpack .../10-liblsan0_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking liblsan0:amd64 (14.2.0-9ubuntu1) ... 1157s Selecting previously unselected package libtsan2:amd64. 1157s Preparing to unpack .../11-libtsan2_14.2.0-9ubuntu1_amd64.deb ... 1157s Unpacking libtsan2:amd64 (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package libubsan1:amd64. 1158s Preparing to unpack .../12-libubsan1_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking libubsan1:amd64 (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package libhwasan0:amd64. 1158s Preparing to unpack .../13-libhwasan0_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking libhwasan0:amd64 (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package libquadmath0:amd64. 1158s Preparing to unpack .../14-libquadmath0_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking libquadmath0:amd64 (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package libgcc-14-dev:amd64. 1158s Preparing to unpack .../15-libgcc-14-dev_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking libgcc-14-dev:amd64 (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 1158s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package gcc-14. 1158s Preparing to unpack .../17-gcc-14_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking gcc-14 (14.2.0-9ubuntu1) ... 1158s Selecting previously unselected package gcc-x86-64-linux-gnu. 1158s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 1158s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1158s Selecting previously unselected package gcc. 1158s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 1158s Unpacking gcc (4:14.1.0-2ubuntu1) ... 1158s Selecting previously unselected package libstdc++-14-dev:amd64. 1158s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-9ubuntu1_amd64.deb ... 1158s Unpacking libstdc++-14-dev:amd64 (14.2.0-9ubuntu1) ... 1159s Selecting previously unselected package g++-14-x86-64-linux-gnu. 1159s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-9ubuntu1_amd64.deb ... 1159s Unpacking g++-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1159s Selecting previously unselected package g++-14. 1159s Preparing to unpack .../22-g++-14_14.2.0-9ubuntu1_amd64.deb ... 1159s Unpacking g++-14 (14.2.0-9ubuntu1) ... 1159s Selecting previously unselected package g++-x86-64-linux-gnu. 1159s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 1159s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1159s Selecting previously unselected package g++. 1159s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 1159s Unpacking g++ (4:14.1.0-2ubuntu1) ... 1159s Selecting previously unselected package build-essential. 1159s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 1159s Unpacking build-essential (12.10ubuntu1) ... 1159s Selecting previously unselected package libffi-dev:amd64. 1159s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_amd64.deb ... 1159s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 1159s Selecting previously unselected package uuid-dev:amd64. 1159s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu1_amd64.deb ... 1159s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu1) ... 1159s Selecting previously unselected package libblkid-dev:amd64. 1159s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu1_amd64.deb ... 1159s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu1) ... 1159s Selecting previously unselected package libsepol-dev:amd64. 1159s Preparing to unpack .../29-libsepol-dev_3.7-1_amd64.deb ... 1159s Unpacking libsepol-dev:amd64 (3.7-1) ... 1159s Selecting previously unselected package libpcre2-16-0:amd64. 1159s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 1159s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 1159s Selecting previously unselected package libpcre2-32-0:amd64. 1159s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 1159s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 1159s Selecting previously unselected package libpcre2-posix3:amd64. 1159s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 1159s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 1159s Selecting previously unselected package libpcre2-dev:amd64. 1159s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 1159s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 1159s Selecting previously unselected package libselinux1-dev:amd64. 1159s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_amd64.deb ... 1159s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu1) ... 1159s Selecting previously unselected package libmount-dev:amd64. 1159s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu1_amd64.deb ... 1159s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu1) ... 1159s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 1159s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 1159s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 1159s Selecting previously unselected package libpkgconf3:amd64. 1159s Preparing to unpack .../37-libpkgconf3_1.8.1-4_amd64.deb ... 1159s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 1159s Selecting previously unselected package pkgconf-bin. 1159s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_amd64.deb ... 1159s Unpacking pkgconf-bin (1.8.1-4) ... 1159s Selecting previously unselected package pkgconf:amd64. 1159s Preparing to unpack .../39-pkgconf_1.8.1-4_amd64.deb ... 1159s Unpacking pkgconf:amd64 (1.8.1-4) ... 1159s Selecting previously unselected package zlib1g-dev:amd64. 1159s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 1159s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1159s Selecting previously unselected package libgio-2.0-dev:amd64. 1159s Preparing to unpack .../41-libgio-2.0-dev_2.82.2-3_amd64.deb ... 1159s Unpacking libgio-2.0-dev:amd64 (2.82.2-3) ... 1159s Setting up libgomp1:amd64 (14.2.0-9ubuntu1) ... 1159s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 1159s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 1159s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 1159s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 1159s Setting up libpkgconf3:amd64 (1.8.1-4) ... 1160s Setting up uuid-dev:amd64 (2.40.2-1ubuntu1) ... 1160s Setting up libquadmath0:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libmpc3:amd64 (1.3.1-1build2) ... 1160s Setting up libsepol-dev:amd64 (3.7-1) ... 1160s Setting up pkgconf-bin (1.8.1-4) ... 1160s Setting up libubsan1:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1160s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 1160s Setting up libhwasan0:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libasan8:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libtsan2:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libisl23:amd64 (0.27-1) ... 1160s Setting up libcc1-0:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up liblsan0:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libitm1:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu1) ... 1160s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 1160s Setting up libselinux1-dev:amd64 (3.7-3ubuntu1) ... 1160s Setting up pkgconf:amd64 (1.8.1-4) ... 1160s Setting up cpp-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1160s Setting up cpp-14 (14.2.0-9ubuntu1) ... 1160s Setting up libgcc-14-dev:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libstdc++-14-dev:amd64 (14.2.0-9ubuntu1) ... 1160s Setting up libmount-dev:amd64 (2.40.2-1ubuntu1) ... 1160s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1160s Setting up libgio-2.0-dev:amd64 (2.82.2-3) ... 1160s Setting up cpp (4:14.1.0-2ubuntu1) ... 1160s Setting up gcc-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1160s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1160s Setting up gcc-14 (14.2.0-9ubuntu1) ... 1160s Setting up g++-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1160s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1160s Setting up g++-14 (14.2.0-9ubuntu1) ... 1160s Setting up gcc (4:14.1.0-2ubuntu1) ... 1160s Setting up g++ (4:14.1.0-2ubuntu1) ... 1160s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1160s Setting up build-essential (12.10ubuntu1) ... 1160s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1160s Processing triggers for man-db (2.13.0-1) ... 1160s Processing triggers for libglib2.0-0t64:amd64 (2.82.2-3) ... 1160s No schema files found: doing nothing. 1160s Processing triggers for install-info (7.1.1-1) ... 1161s autopkgtest [01:47:07]: test build: [----------------------- 1162s + mode=dynamic 1162s + getopt -o --long static -n debian/tests/build -- 1162s + getopt_temp= -- 1162s + eval set -- -- 1162s + set -- -- 1162s + true 1162s + shift 1162s + break 1162s + mktemp -d 1162s + WORKDIR=/tmp/tmp.C7fk33VtUf 1162s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1162s + cd /tmp/tmp.C7fk33VtUf 1162s + [ -n ] 1162s + CROSS_COMPILE= 1162s + cat 1162s + cat 1162s + cat 1162s + cat 1162s + cat 1162s + cat 1162s + cflags= 1162s + pcflags= 1162s + packages=glib-2.0 1162s + pkg-config --cflags --libs glib-2.0 1162s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 1162s + echo build (glib, dynamic): OK 1162s + [ -x glib-dynamic ] 1162s + foo=bar ./glib-dynamic 1162s build (glib, dynamic): OK 1162s run (glib, dynamic): OK 1162s + echo run (glib, dynamic): OK 1162s + cflags= 1162s + pcflags= 1162s + packages=gobject-2.0 1162s + pkg-config --cflags --libs gobject-2.0 1162s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 1162s + echo build (gobject, dynamic): OK 1162s + [ -x gobject-dynamic ] 1162s build (gobject, dynamic): OK 1162s + foo=bar ./gobject-dynamic 1162s run (gobject, dynamic): OK 1162s + echo run (gobject, dynamic): OK 1162s + cflags= 1162s + pcflags= 1162s + packages=gio-2.0 1162s + pkg-config --cflags --libs gio-2.0 1162s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1162s build (gio, dynamic): OK 1162s + echo build (gio, dynamic): OK 1162s + [ -x gio-dynamic ] 1162s + foo=bar ./gio-dynamic 1162s + echo run (gio, dynamic): OK 1162s + cflags= 1162s + pcflags= 1162s + packages=gio-unix-2.0 1162s + pkg-config --cflags --libs gio-unix-2.0 1162s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1162s run (gio, dynamic): OK 1162s + echo build (gio-unix, dynamic): OK 1162s + [ -x gio-unix-dynamic ] 1162s + foo=bar ./gio-unix-dynamic 1162s build (gio-unix, dynamic): OK 1162s run (gio-unix, dynamic): OK 1162s + echo run (gio-unix, dynamic): OK 1162s + cflags= 1162s + pcflags= 1162s + packages=gmodule-2.0 1162s + pkg-config --cflags --libs gmodule-2.0 1162s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 1162s build (gmodule, dynamic): OK 1162s + echo build (gmodule, dynamic): OK 1162s + [ -x gmodule-dynamic ] 1162s + foo=bar ./gmodule-dynamic 1162s run (gmodule, dynamic): OK 1162s + echo run (gmodule, dynamic): OK 1162s + cflags= 1162s + pcflags= 1162s + packages=gthread-2.0 1162s + pkg-config --cflags --libs gthread-2.0 1162s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 1162s build (gthread, dynamic): OK 1162s + echo build (gthread, dynamic): OK 1162s + [ -x gthread-dynamic ] 1162s + foo=bar ./gthread-dynamic 1162s + echo run (gthread, dynamic): OK 1162s + rm -rf /tmp/tmp.C7fk33VtUf 1162s run (gthread, dynamic): OK 1163s autopkgtest [01:47:09]: test build: -----------------------] 1163s build PASS (superficial) 1163s autopkgtest [01:47:09]: test build: - - - - - - - - - - results - - - - - - - - - - 1164s autopkgtest [01:47:10]: test build-static: preparing testbed 1164s Reading package lists... 1164s Building dependency tree... 1164s Reading state information... 1164s Starting pkgProblemResolver with broken count: 0 1164s Starting 2 pkgProblemResolver with broken count: 0 1164s Done 1165s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1165s autopkgtest [01:47:11]: test build-static: [----------------------- 1166s + mode=dynamic 1166s + getopt -o --long static -n debian/tests/build -- --static 1166s + getopt_temp= --static -- 1166s + eval set -- --static -- 1166s + set -- --static -- 1166s + true 1166s + mode=static 1166s + shift 1166s + continue 1166s + true 1166s + shift 1166s + break 1166s + mktemp -d 1166s + WORKDIR=/tmp/tmp.GGaw1S2OEH 1166s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1166s + cd /tmp/tmp.GGaw1S2OEH 1166s + [ -n ] 1166s + CROSS_COMPILE= 1166s + cat 1166s + cat 1166s + cat 1166s + cat 1166s + cat 1166s + cat 1166s + cflags= 1166s + pcflags= 1166s + packages=glib-2.0 1166s + cflags=-static 1166s + pcflags=--static 1166s + pkg-config --static --cflags --libs glib-2.0 1166s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1166s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1166s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s build (glib, static): OK 1166s + echo build (glib, static): OK 1166s + [ -x glib-static ] 1166s + foo=bar ./glib-static 1166s + echo run (glib, static): OK 1166s + cflags= 1166s + pcflags= 1166s + packages=gobject-2.0 1166s + cflags=-static 1166s + pcflags=--static 1166s + pkg-config --static --cflags --libs gobject-2.0 1166s run (glib, static): OK 1166s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 1166s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1166s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s + echo build (gobject, static): OK 1166s + [ -x gobject-static ] 1166s + foo=bar ./gobject-static 1166s build (gobject, static): OK 1166s + echo run (gobject, static): OK 1166s + run (gobject, static): OK 1166s cflags= 1166s + pcflags= 1166s + packages=gio-2.0 1166s + cflags=-static 1166s + pcflags=--static 1166s + continue 1166s + cflags= 1166s + pcflags= 1166s + packages=gio-unix-2.0 1166s + cflags=-static 1166s + pcflags=--static 1166s + continue 1166s + cflags= 1166s + pcflags= 1166s + packages=gmodule-2.0 1166s + cflags=-static 1166s + pcflags=--static 1166s + pkg-config --static --cflags --libs gmodule-2.0 1166s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1166s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 1166s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1166s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s + echo build (gmodule, static): OK 1166s + [ -x gmodule-static ] 1166s + foo=bar ./gmodule-static 1166s build (gmodule, static): OK 1166s run (gmodule, static): OK 1166s + echo run (gmodule, static): OK 1166s + cflags= 1166s + pcflags= 1166s + packages=gthread-2.0 1166s + cflags=-static 1166s + pcflags=--static 1166s + pkg-config --static --cflags --libs gthread-2.0 1166s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1166s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1166s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1166s + echo build (gthread, static): OK 1166s + [ -x gthread-static ] 1166s + foo=bar ./gthread-static 1166s build (gthread, static): OK 1166s + echo run (gthread, static): OK 1166s + run (gthread, static): OK 1166s rm -rf /tmp/tmp.GGaw1S2OEH 1167s autopkgtest [01:47:13]: test build-static: -----------------------] 1167s autopkgtest [01:47:13]: test build-static: - - - - - - - - - - results - - - - - - - - - - 1167s build-static PASS (superficial) 1168s autopkgtest [01:47:14]: test girepository-tools: preparing testbed 1292s autopkgtest [01:49:18]: testbed dpkg architecture: amd64 1292s autopkgtest [01:49:18]: testbed apt version: 2.9.14ubuntu1 1292s autopkgtest [01:49:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1293s autopkgtest [01:49:19]: testbed release detected to be: plucky 1293s autopkgtest [01:49:19]: updating testbed package index (apt update) 1294s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1294s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1294s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1294s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1294s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 1294s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 1294s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 1294s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1294s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [138 kB] 1294s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [89.7 kB] 1294s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2572 B] 1294s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.6 kB] 1294s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [236 kB] 1295s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 1295s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6364 B] 1295s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [21.4 kB] 1295s Fetched 2088 kB in 1s (1773 kB/s) 1296s Reading package lists... 1296s Reading package lists... 1296s Building dependency tree... 1296s Reading state information... 1297s Calculating upgrade... 1297s The following package was automatically installed and is no longer required: 1297s libassuan0 1297s Use 'sudo apt autoremove' to remove it. 1297s The following packages will be upgraded: 1297s binutils binutils-common binutils-x86-64-linux-gnu dirmngr gcc-14-base gnupg 1297s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1297s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 1297s libgprofng0 libsframe1 libstdc++6 publicsuffix 1297s 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1297s Need to get 7991 kB of archives. 1297s After this operation, 332 kB of additional disk space will be used. 1297s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-9ubuntu1 [10.3 kB] 1297s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-9ubuntu1 [52.0 kB] 1297s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-9ubuntu1 [788 kB] 1297s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-9ubuntu1 [78.4 kB] 1297s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4 [15.5 kB] 1297s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-wks-client amd64 2.4.4-2ubuntu20 [73.8 kB] 1297s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 dirmngr amd64 2.4.4-2ubuntu20 [354 kB] 1297s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgsm amd64 2.4.4-2ubuntu20 [263 kB] 1297s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-utils amd64 2.4.4-2ubuntu20 [114 kB] 1297s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-agent amd64 2.4.4-2ubuntu20 [247 kB] 1298s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg amd64 2.4.4-2ubuntu20 [652 kB] 1298s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgconf amd64 2.4.4-2ubuntu20 [106 kB] 1298s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg all 2.4.4-2ubuntu20 [359 kB] 1298s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 keyboxd amd64 2.4.4-2ubuntu20 [86.3 kB] 1298s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgv amd64 2.4.4-2ubuntu20 [181 kB] 1298s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 publicsuffix all 20241025.1547-0.1 [135 kB] 1298s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.43.50.20241126-3ubuntu1 [885 kB] 1298s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.43.50.20241126-3ubuntu1 [96.4 kB] 1298s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.43.50.20241126-3ubuntu1 [98.6 kB] 1298s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.43.50.20241126-3ubuntu1 [3282 B] 1298s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.43.50.20241126-3ubuntu1 [2486 kB] 1298s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.43.50.20241126-3ubuntu1 [583 kB] 1298s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.43.50.20241126-3ubuntu1 [244 kB] 1298s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.43.50.20241126-3ubuntu1 [14.6 kB] 1298s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 1298s Fetched 7991 kB in 1s (7889 kB/s) 1298s (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 ... 75952 files and directories currently installed.) 1298s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_amd64.deb ... 1298s Unpacking libatomic1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1298s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_amd64.deb ... 1298s Unpacking gcc-14-base:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1298s Setting up gcc-14-base:amd64 (14.2.0-9ubuntu1) ... 1298s (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 ... 75952 files and directories currently installed.) 1298s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_amd64.deb ... 1299s Unpacking libstdc++6:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1299s Setting up libstdc++6:amd64 (14.2.0-9ubuntu1) ... 1299s (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 ... 75952 files and directories currently installed.) 1299s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_amd64.deb ... 1299s Unpacking libgcc-s1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1299s Setting up libgcc-s1:amd64 (14.2.0-9ubuntu1) ... 1299s (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 ... 75952 files and directories currently installed.) 1299s Preparing to unpack .../libcap-ng0_0.8.5-4_amd64.deb ... 1299s Unpacking libcap-ng0:amd64 (0.8.5-4) over (0.8.5-3build1) ... 1299s Setting up libcap-ng0:amd64 (0.8.5-4) ... 1299s (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 ... 75952 files and directories currently installed.) 1299s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 1299s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_amd64.deb ... 1299s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1299s Setting up gpgv (2.4.4-2ubuntu20) ... 1299s (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 ... 75952 files and directories currently installed.) 1299s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 1299s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 1299s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1299s Unpacking libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1299s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1299s Unpacking libctf0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1299s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1299s Unpacking libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1299s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1299s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1299s Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.43.50.20241126-3ubuntu1_amd64.deb ... 1299s Unpacking binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1300s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1300s Unpacking libbinutils:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1300s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_amd64.deb ... 1300s Unpacking binutils-common:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1300s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_amd64.deb ... 1300s Unpacking libsframe1:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1300s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 1300s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1300s Setting up binutils-common:amd64 (2.43.50.20241126-3ubuntu1) ... 1300s Setting up libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) ... 1300s Setting up libsframe1:amd64 (2.43.50.20241126-3ubuntu1) ... 1300s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 1300s Setting up libatomic1:amd64 (14.2.0-9ubuntu1) ... 1300s Setting up gpgconf (2.4.4-2ubuntu20) ... 1300s Setting up libbinutils:amd64 (2.43.50.20241126-3ubuntu1) ... 1300s Setting up publicsuffix (20241025.1547-0.1) ... 1300s Setting up gpg (2.4.4-2ubuntu20) ... 1300s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 1300s Setting up libctf0:amd64 (2.43.50.20241126-3ubuntu1) ... 1300s Setting up gpg-agent (2.4.4-2ubuntu20) ... 1300s Setting up gpgsm (2.4.4-2ubuntu20) ... 1300s Setting up dirmngr (2.4.4-2ubuntu20) ... 1300s Setting up libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) ... 1300s Setting up keyboxd (2.4.4-2ubuntu20) ... 1300s Setting up gnupg (2.4.4-2ubuntu20) ... 1300s Setting up binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 1300s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 1300s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 1300s Processing triggers for install-info (7.1.1-1) ... 1301s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1301s Processing triggers for man-db (2.13.0-1) ... 1302s Reading package lists... 1302s Building dependency tree... 1302s Reading state information... 1302s The following packages will be REMOVED: 1302s libassuan0* 1303s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1303s After this operation, 102 kB disk space will be freed. 1303s (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 ... 75957 files and directories currently installed.) 1303s Removing libassuan0:amd64 (2.5.6-1build1) ... 1303s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1303s autopkgtest [01:49:29]: upgrading testbed (apt dist-upgrade and autopurge) 1303s Reading package lists... 1303s Building dependency tree... 1303s Reading state information... 1303s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1303s Starting 2 pkgProblemResolver with broken count: 0 1303s Done 1304s Entering ResolveByKeep 1304s 1304s The following packages will be upgraded: 1304s xauth 1304s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1304s Need to get 26.6 kB of archives. 1304s After this operation, 1024 B of additional disk space will be used. 1304s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xauth amd64 1:1.1.2-1.1 [26.6 kB] 1304s Fetched 26.6 kB in 0s (130 kB/s) 1305s (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 ... 75952 files and directories currently installed.) 1305s Preparing to unpack .../xauth_1%3a1.1.2-1.1_amd64.deb ... 1305s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1305s Setting up xauth (1:1.1.2-1.1) ... 1305s Processing triggers for man-db (2.13.0-1) ... 1305s Reading package lists... 1305s Building dependency tree... 1305s Reading state information... 1306s Starting pkgProblemResolver with broken count: 0 1306s Starting 2 pkgProblemResolver with broken count: 0 1306s Done 1306s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1309s Reading package lists... 1309s Building dependency tree... 1309s Reading state information... 1309s Starting pkgProblemResolver with broken count: 0 1309s Starting 2 pkgProblemResolver with broken count: 0 1309s Done 1310s The following NEW packages will be installed: 1310s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 1310s native-architecture 1310s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 1310s Need to get 1047 kB of archives. 1310s After this operation, 12.5 MB of additional disk space will be used. 1310s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.2-3 [852 kB] 1310s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 1310s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.2-3 [78.2 kB] 1310s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.2-3 [115 kB] 1311s Fetched 1047 kB in 1s (1848 kB/s) 1311s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 1311s (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 ... 75952 files and directories currently installed.) 1311s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.2-3_amd64.deb ... 1311s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.2-3) ... 1311s Selecting previously unselected package native-architecture. 1311s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 1311s Unpacking native-architecture (0.2.3) ... 1311s Selecting previously unselected package libgirepository-2.0-0:amd64. 1311s Preparing to unpack .../libgirepository-2.0-0_2.82.2-3_amd64.deb ... 1311s Unpacking libgirepository-2.0-0:amd64 (2.82.2-3) ... 1311s Selecting previously unselected package girepository-tools:amd64. 1311s Preparing to unpack .../girepository-tools_2.82.2-3_amd64.deb ... 1311s Unpacking girepository-tools:amd64 (2.82.2-3) ... 1311s Setting up native-architecture (0.2.3) ... 1311s Setting up libgirepository-2.0-0:amd64 (2.82.2-3) ... 1311s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.2-3) ... 1311s Setting up girepository-tools:amd64 (2.82.2-3) ... 1311s Processing triggers for man-db (2.13.0-1) ... 1311s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1318s autopkgtest [01:49:44]: test girepository-tools: [----------------------- 1318s + cd /tmp/autopkgtest.C3znvm/autopkgtest_tmp 1318s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1318s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 1318s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 1318s + dpkg-architecture -qDEB_HOST_MULTIARCH 1318s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 1318s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 1318s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1318s typelib: GLib-2.0 1318s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 1318s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 1319s autopkgtest [01:49:45]: test girepository-tools: -----------------------] 1319s autopkgtest [01:49:45]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 1319s girepository-tools PASS (superficial) 1320s autopkgtest [01:49:46]: test libgio-2.0-dev-bin: preparing testbed 1418s autopkgtest [01:51:24]: testbed dpkg architecture: amd64 1418s autopkgtest [01:51:24]: testbed apt version: 2.9.14ubuntu1 1418s autopkgtest [01:51:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1418s autopkgtest [01:51:24]: testbed release detected to be: plucky 1419s autopkgtest [01:51:25]: updating testbed package index (apt update) 1419s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1419s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1420s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1420s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1420s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1420s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 1420s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 1420s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 1420s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [89.7 kB] 1420s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [138 kB] 1420s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2572 B] 1420s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.6 kB] 1420s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [236 kB] 1420s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 1420s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [21.4 kB] 1420s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6364 B] 1420s Fetched 2088 kB in 1s (2333 kB/s) 1421s Reading package lists... 1421s Reading package lists... 1422s Building dependency tree... 1422s Reading state information... 1422s Calculating upgrade... 1422s The following package was automatically installed and is no longer required: 1422s libassuan0 1422s Use 'sudo apt autoremove' to remove it. 1422s The following packages will be upgraded: 1422s binutils binutils-common binutils-x86-64-linux-gnu dirmngr gcc-14-base gnupg 1422s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1422s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 1422s libgprofng0 libsframe1 libstdc++6 publicsuffix 1422s 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1422s Need to get 7991 kB of archives. 1422s After this operation, 332 kB of additional disk space will be used. 1422s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-9ubuntu1 [10.3 kB] 1422s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-9ubuntu1 [52.0 kB] 1422s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-9ubuntu1 [788 kB] 1422s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-9ubuntu1 [78.4 kB] 1422s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4 [15.5 kB] 1422s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-wks-client amd64 2.4.4-2ubuntu20 [73.8 kB] 1422s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 dirmngr amd64 2.4.4-2ubuntu20 [354 kB] 1422s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgsm amd64 2.4.4-2ubuntu20 [263 kB] 1423s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-utils amd64 2.4.4-2ubuntu20 [114 kB] 1423s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-agent amd64 2.4.4-2ubuntu20 [247 kB] 1423s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg amd64 2.4.4-2ubuntu20 [652 kB] 1423s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgconf amd64 2.4.4-2ubuntu20 [106 kB] 1423s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg all 2.4.4-2ubuntu20 [359 kB] 1423s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 keyboxd amd64 2.4.4-2ubuntu20 [86.3 kB] 1423s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgv amd64 2.4.4-2ubuntu20 [181 kB] 1423s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 publicsuffix all 20241025.1547-0.1 [135 kB] 1423s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.43.50.20241126-3ubuntu1 [885 kB] 1423s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.43.50.20241126-3ubuntu1 [96.4 kB] 1423s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.43.50.20241126-3ubuntu1 [98.6 kB] 1423s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.43.50.20241126-3ubuntu1 [3282 B] 1423s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.43.50.20241126-3ubuntu1 [2486 kB] 1423s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.43.50.20241126-3ubuntu1 [583 kB] 1423s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.43.50.20241126-3ubuntu1 [244 kB] 1423s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.43.50.20241126-3ubuntu1 [14.6 kB] 1423s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 1423s Fetched 7991 kB in 1s (9677 kB/s) 1423s (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 ... 75952 files and directories currently installed.) 1423s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_amd64.deb ... 1423s Unpacking libatomic1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1423s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_amd64.deb ... 1423s Unpacking gcc-14-base:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1423s Setting up gcc-14-base:amd64 (14.2.0-9ubuntu1) ... 1423s (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 ... 75952 files and directories currently installed.) 1423s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_amd64.deb ... 1423s Unpacking libstdc++6:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1424s Setting up libstdc++6:amd64 (14.2.0-9ubuntu1) ... 1424s (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 ... 75952 files and directories currently installed.) 1424s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_amd64.deb ... 1424s Unpacking libgcc-s1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1424s Setting up libgcc-s1:amd64 (14.2.0-9ubuntu1) ... 1424s (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 ... 75952 files and directories currently installed.) 1424s Preparing to unpack .../libcap-ng0_0.8.5-4_amd64.deb ... 1424s Unpacking libcap-ng0:amd64 (0.8.5-4) over (0.8.5-3build1) ... 1424s Setting up libcap-ng0:amd64 (0.8.5-4) ... 1424s (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 ... 75952 files and directories currently installed.) 1424s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 1424s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_amd64.deb ... 1424s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Setting up gpgv (2.4.4-2ubuntu20) ... 1424s (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 ... 75952 files and directories currently installed.) 1424s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 1424s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 1424s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking libctf0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking libbinutils:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking binutils-common:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_amd64.deb ... 1424s Unpacking libsframe1:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1424s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 1424s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1424s Setting up binutils-common:amd64 (2.43.50.20241126-3ubuntu1) ... 1424s Setting up libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) ... 1424s Setting up libsframe1:amd64 (2.43.50.20241126-3ubuntu1) ... 1424s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 1424s Setting up libatomic1:amd64 (14.2.0-9ubuntu1) ... 1424s Setting up gpgconf (2.4.4-2ubuntu20) ... 1424s Setting up libbinutils:amd64 (2.43.50.20241126-3ubuntu1) ... 1424s Setting up publicsuffix (20241025.1547-0.1) ... 1424s Setting up gpg (2.4.4-2ubuntu20) ... 1424s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 1424s Setting up libctf0:amd64 (2.43.50.20241126-3ubuntu1) ... 1424s Setting up gpg-agent (2.4.4-2ubuntu20) ... 1425s Setting up gpgsm (2.4.4-2ubuntu20) ... 1425s Setting up dirmngr (2.4.4-2ubuntu20) ... 1425s Setting up libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) ... 1425s Setting up keyboxd (2.4.4-2ubuntu20) ... 1425s Setting up gnupg (2.4.4-2ubuntu20) ... 1425s Setting up binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 1425s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 1425s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 1425s Processing triggers for install-info (7.1.1-1) ... 1425s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1425s Processing triggers for man-db (2.13.0-1) ... 1427s Reading package lists... 1427s Building dependency tree... 1427s Reading state information... 1427s The following packages will be REMOVED: 1427s libassuan0* 1427s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1427s After this operation, 102 kB disk space will be freed. 1427s (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 ... 75957 files and directories currently installed.) 1427s Removing libassuan0:amd64 (2.5.6-1build1) ... 1427s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1428s autopkgtest [01:51:34]: upgrading testbed (apt dist-upgrade and autopurge) 1428s Reading package lists... 1428s Building dependency tree... 1428s Reading state information... 1428s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1428s Starting 2 pkgProblemResolver with broken count: 0 1428s Done 1429s Entering ResolveByKeep 1429s 1429s The following packages will be upgraded: 1429s xauth 1429s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1429s Need to get 26.6 kB of archives. 1429s After this operation, 1024 B of additional disk space will be used. 1429s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xauth amd64 1:1.1.2-1.1 [26.6 kB] 1430s Fetched 26.6 kB in 0s (130 kB/s) 1430s (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 ... 75952 files and directories currently installed.) 1430s Preparing to unpack .../xauth_1%3a1.1.2-1.1_amd64.deb ... 1430s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1430s Setting up xauth (1:1.1.2-1.1) ... 1430s Processing triggers for man-db (2.13.0-1) ... 1430s Reading package lists... 1431s Building dependency tree... 1431s Reading state information... 1431s Starting pkgProblemResolver with broken count: 0 1431s Starting 2 pkgProblemResolver with broken count: 0 1431s Done 1431s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1434s Reading package lists... 1434s Building dependency tree... 1434s Reading state information... 1434s Starting pkgProblemResolver with broken count: 0 1434s Starting 2 pkgProblemResolver with broken count: 0 1434s Done 1435s The following NEW packages will be installed: 1435s libgio-2.0-dev-bin python3-packaging 1435s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 1435s Need to get 180 kB of archives. 1435s After this operation, 959 kB of additional disk space will be used. 1435s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 1435s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.2-3 [128 kB] 1435s Fetched 180 kB in 0s (434 kB/s) 1435s Selecting previously unselected package python3-packaging. 1435s (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 ... 75952 files and directories currently installed.) 1435s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 1435s Unpacking python3-packaging (24.2-1) ... 1435s Selecting previously unselected package libgio-2.0-dev-bin. 1435s Preparing to unpack .../libgio-2.0-dev-bin_2.82.2-3_amd64.deb ... 1435s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 1435s Setting up python3-packaging (24.2-1) ... 1436s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 1436s Processing triggers for man-db (2.13.0-1) ... 1441s autopkgtest [01:51:47]: test libgio-2.0-dev-bin: [----------------------- 1441s + gdbus-codegen --help 1441s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1441s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1441s [--c-generate-autocleanup {none,objects,all}] 1441s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1441s [--generate-rst OUTFILES] [--pragma-once] 1441s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1441s [--glib-min-required VERSION] 1441s [--glib-max-allowed VERSION] 1441s [--symbol-decorator SYMBOL_DECORATOR] 1441s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1441s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1441s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1441s [--output FILE | --output-directory OUTDIR] 1441s FILE [FILE ...] 1441s 1441s D-Bus code and documentation generator 1441s 1441s positional arguments: 1441s FILE D-Bus introspection XML file 1441s 1441s options: 1441s -h, --help show this help message and exit 1441s --interface-prefix PREFIX 1441s String to strip from D-Bus interface names for code 1441s and docs 1441s --c-namespace NAMESPACE 1441s The namespace to use for generated C code 1441s --c-generate-object-manager 1441s Generate a GDBusObjectManagerClient subclass when 1441s generating C code 1441s --c-generate-autocleanup {none,objects,all} 1441s Generate autocleanup support 1441s --generate-docbook OUTFILES 1441s Generate Docbook in OUTFILES-org.Project.IFace.xml 1441s --generate-md OUTFILES 1441s Generate Markdown in OUTFILES-org.Project.IFace.md 1441s --generate-rst OUTFILES 1441s Generate reStructuredText in OUTFILES- 1441s org.Project.IFace.rst 1441s --pragma-once Use "pragma once" as the inclusion guard 1441s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1441s Add annotation (may be used several times) 1441s --glib-min-required VERSION 1441s Minimum version of GLib to be supported by the 1441s outputted code (default: 2.30) 1441s --glib-max-allowed VERSION 1441s Maximum version of GLib to be used by the outputted 1441s code (default: current GLib version) 1441s --symbol-decorator SYMBOL_DECORATOR 1441s Macro used to decorate a symbol in the outputted 1441s header, possibly to export symbols 1441s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1441s Additional header required for decorator specified by 1441s --symbol-decorator 1441s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1441s Additional define required for decorator specified by 1441s --symbol-decorator 1441s --generate-c-code OUTFILES 1441s Generate C code in OUTFILES.[ch] 1441s --header Generate C headers 1441s --body Generate C code 1441s --interface-info-header 1441s Generate GDBusInterfaceInfo C header 1441s --interface-info-body 1441s Generate GDBusInterfaceInfo C code 1441s --output FILE Write output into the specified file 1441s --output-directory OUTDIR 1441s Location to output generated files 1441s + glib-compile-resources --version 1441s 2.82.2 1441s + glib-genmarshal --version 1441s glib-genmarshal version 2.82.2 1441s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1441s You may redistribute copies of glib-genmarshal under the terms of 1441s the GNU General Public License which can be found in the 1441s GLib source package. Sources, examples and contact 1441s information are available at http://www.gtk.org 1441s + glib-gettextize --version 1441s /usr/bin/glib-gettextize (GNU glib) 2.82.2 1441s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1441s This is free software; see the source for copying conditions. There is NO 1441s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1441s Written by Ulrich Drepper 1441s + glib-mkenums --version 1441s glib-mkenums version 2.82.2 1441s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1441s You may redistribute copies of glib-mkenums under the terms of 1441s the GNU General Public License which can be found in the 1441s GLib source package. Sources, examples and contact 1441s information are available at http://www.gtk.org 1441s + gobject-query tree 1441s GObject 1441s + gtester --version 1441s gtester version 2.82.2 1441s + gtester-report --version 1441s gtester-report (GLib utils) version 2.82.2. 1442s autopkgtest [01:51:48]: test libgio-2.0-dev-bin: -----------------------] 1442s libgio-2.0-dev-bin PASS (superficial) 1442s autopkgtest [01:51:48]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 1442s autopkgtest [01:51:48]: test libglib2.0-dev: preparing testbed 1608s autopkgtest [01:54:34]: testbed dpkg architecture: amd64 1608s autopkgtest [01:54:34]: testbed apt version: 2.9.14ubuntu1 1609s autopkgtest [01:54:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1609s autopkgtest [01:54:35]: testbed release detected to be: plucky 1610s autopkgtest [01:54:36]: updating testbed package index (apt update) 1610s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1610s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1610s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1610s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1610s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 1610s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1610s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 1610s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 1611s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [138 kB] 1611s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [89.7 kB] 1611s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.6 kB] 1611s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2572 B] 1611s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [236 kB] 1611s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 1611s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6364 B] 1611s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [21.4 kB] 1611s Fetched 2088 kB in 1s (2177 kB/s) 1612s Reading package lists... 1613s Reading package lists... 1613s Building dependency tree... 1613s Reading state information... 1614s Calculating upgrade... 1614s The following package was automatically installed and is no longer required: 1614s libassuan0 1614s Use 'sudo apt autoremove' to remove it. 1614s The following packages will be upgraded: 1614s binutils binutils-common binutils-x86-64-linux-gnu dirmngr gcc-14-base gnupg 1614s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1614s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 1614s libgprofng0 libsframe1 libstdc++6 publicsuffix 1614s 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1614s Need to get 7991 kB of archives. 1614s After this operation, 332 kB of additional disk space will be used. 1614s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-9ubuntu1 [10.3 kB] 1614s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-9ubuntu1 [52.0 kB] 1614s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-9ubuntu1 [788 kB] 1614s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-9ubuntu1 [78.4 kB] 1614s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4 [15.5 kB] 1614s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-wks-client amd64 2.4.4-2ubuntu20 [73.8 kB] 1614s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 dirmngr amd64 2.4.4-2ubuntu20 [354 kB] 1614s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgsm amd64 2.4.4-2ubuntu20 [263 kB] 1614s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-utils amd64 2.4.4-2ubuntu20 [114 kB] 1614s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-agent amd64 2.4.4-2ubuntu20 [247 kB] 1614s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg amd64 2.4.4-2ubuntu20 [652 kB] 1614s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgconf amd64 2.4.4-2ubuntu20 [106 kB] 1614s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg all 2.4.4-2ubuntu20 [359 kB] 1614s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 keyboxd amd64 2.4.4-2ubuntu20 [86.3 kB] 1614s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgv amd64 2.4.4-2ubuntu20 [181 kB] 1614s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 publicsuffix all 20241025.1547-0.1 [135 kB] 1614s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.43.50.20241126-3ubuntu1 [885 kB] 1615s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.43.50.20241126-3ubuntu1 [96.4 kB] 1615s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.43.50.20241126-3ubuntu1 [98.6 kB] 1615s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.43.50.20241126-3ubuntu1 [3282 B] 1615s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.43.50.20241126-3ubuntu1 [2486 kB] 1615s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.43.50.20241126-3ubuntu1 [583 kB] 1615s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.43.50.20241126-3ubuntu1 [244 kB] 1615s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.43.50.20241126-3ubuntu1 [14.6 kB] 1615s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 1615s Fetched 7991 kB in 1s (9506 kB/s) 1615s (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 ... 75952 files and directories currently installed.) 1615s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_amd64.deb ... 1615s Unpacking libatomic1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1615s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_amd64.deb ... 1615s Unpacking gcc-14-base:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1615s Setting up gcc-14-base:amd64 (14.2.0-9ubuntu1) ... 1615s (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 ... 75952 files and directories currently installed.) 1615s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_amd64.deb ... 1616s Unpacking libstdc++6:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1616s Setting up libstdc++6:amd64 (14.2.0-9ubuntu1) ... 1616s (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 ... 75952 files and directories currently installed.) 1616s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_amd64.deb ... 1616s Unpacking libgcc-s1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1616s Setting up libgcc-s1:amd64 (14.2.0-9ubuntu1) ... 1616s (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 ... 75952 files and directories currently installed.) 1616s Preparing to unpack .../libcap-ng0_0.8.5-4_amd64.deb ... 1616s Unpacking libcap-ng0:amd64 (0.8.5-4) over (0.8.5-3build1) ... 1616s Setting up libcap-ng0:amd64 (0.8.5-4) ... 1616s (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 ... 75952 files and directories currently installed.) 1616s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 1616s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_amd64.deb ... 1616s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1616s Setting up gpgv (2.4.4-2ubuntu20) ... 1616s (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 ... 75952 files and directories currently installed.) 1616s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 1616s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 1616s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1616s Unpacking libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking libctf0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking libbinutils:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking binutils-common:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_amd64.deb ... 1617s Unpacking libsframe1:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1617s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 1617s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1617s Setting up binutils-common:amd64 (2.43.50.20241126-3ubuntu1) ... 1617s Setting up libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) ... 1617s Setting up libsframe1:amd64 (2.43.50.20241126-3ubuntu1) ... 1617s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 1617s Setting up libatomic1:amd64 (14.2.0-9ubuntu1) ... 1617s Setting up gpgconf (2.4.4-2ubuntu20) ... 1617s Setting up libbinutils:amd64 (2.43.50.20241126-3ubuntu1) ... 1617s Setting up publicsuffix (20241025.1547-0.1) ... 1617s Setting up gpg (2.4.4-2ubuntu20) ... 1617s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 1617s Setting up libctf0:amd64 (2.43.50.20241126-3ubuntu1) ... 1617s Setting up gpg-agent (2.4.4-2ubuntu20) ... 1617s Setting up gpgsm (2.4.4-2ubuntu20) ... 1617s Setting up dirmngr (2.4.4-2ubuntu20) ... 1618s Setting up libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) ... 1618s Setting up keyboxd (2.4.4-2ubuntu20) ... 1618s Setting up gnupg (2.4.4-2ubuntu20) ... 1618s Setting up binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 1618s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 1618s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 1618s Processing triggers for install-info (7.1.1-1) ... 1618s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1618s Processing triggers for man-db (2.13.0-1) ... 1620s Reading package lists... 1620s Building dependency tree... 1620s Reading state information... 1620s The following packages will be REMOVED: 1620s libassuan0* 1621s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1621s After this operation, 102 kB disk space will be freed. 1621s (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 ... 75957 files and directories currently installed.) 1621s Removing libassuan0:amd64 (2.5.6-1build1) ... 1621s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1621s autopkgtest [01:54:47]: upgrading testbed (apt dist-upgrade and autopurge) 1621s Reading package lists... 1621s Building dependency tree... 1621s Reading state information... 1622s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1622s Starting 2 pkgProblemResolver with broken count: 0 1622s Done 1623s Entering ResolveByKeep 1623s 1623s The following packages will be upgraded: 1623s xauth 1624s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1624s Need to get 26.6 kB of archives. 1624s After this operation, 1024 B of additional disk space will be used. 1624s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xauth amd64 1:1.1.2-1.1 [26.6 kB] 1624s Fetched 26.6 kB in 0s (122 kB/s) 1624s (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 ... 75952 files and directories currently installed.) 1624s Preparing to unpack .../xauth_1%3a1.1.2-1.1_amd64.deb ... 1624s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1624s Setting up xauth (1:1.1.2-1.1) ... 1624s Processing triggers for man-db (2.13.0-1) ... 1625s Reading package lists... 1625s Building dependency tree... 1625s Reading state information... 1626s Starting pkgProblemResolver with broken count: 0 1626s Starting 2 pkgProblemResolver with broken count: 0 1626s Done 1626s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1629s Reading package lists... 1629s Building dependency tree... 1629s Reading state information... 1630s Starting pkgProblemResolver with broken count: 0 1630s Starting 2 pkgProblemResolver with broken count: 0 1630s Done 1631s The following NEW packages will be installed: 1631s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 1631s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 1631s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 1631s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 1631s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-dev 1631s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 1631s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 1631s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 1631s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 1631s native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 1631s zlib1g-dev 1631s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1631s Need to get 71.7 MB of archives. 1631s After this operation, 257 MB of additional disk space will be used. 1631s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 1631s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 1631s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-9ubuntu1 [11.9 MB] 1631s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-9ubuntu1 [1032 B] 1631s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 1631s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 1631s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-9ubuntu1 [47.6 kB] 1631s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-9ubuntu1 [148 kB] 1631s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-9ubuntu1 [28.9 kB] 1632s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-9ubuntu1 [2998 kB] 1632s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-9ubuntu1 [1316 kB] 1632s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-9ubuntu1 [2732 kB] 1632s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-9ubuntu1 [1177 kB] 1632s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-9ubuntu1 [1634 kB] 1632s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-9ubuntu1 [153 kB] 1632s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-9ubuntu1 [2814 kB] 1632s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-9ubuntu1 [23.4 MB] 1632s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-9ubuntu1 [531 kB] 1632s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 1632s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 1632s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-9ubuntu1 [2482 kB] 1632s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-9ubuntu1 [13.4 MB] 1633s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-9ubuntu1 [20.1 kB] 1633s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 1633s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 1633s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 1633s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.2-3 [852 kB] 1633s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 1633s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.2-3 [78.2 kB] 1633s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.2-3 [115 kB] 1633s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 1633s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu1 [52.7 kB] 1633s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu1 [225 kB] 1633s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 1633s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 1633s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 1633s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 1633s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 1633s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu1 [169 kB] 1633s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu1 [33.0 kB] 1633s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 1633s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 1633s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 1633s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 1633s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 1633s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.2-3 [1876 kB] 1633s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 1633s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.2-3 [128 kB] 1633s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.2-3 [18.1 kB] 1633s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev amd64 2.82.2-3 [18.8 kB] 1634s Fetched 71.7 MB in 2s (28.9 MB/s) 1634s Selecting previously unselected package libisl23:amd64. 1634s (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 ... 75952 files and directories currently installed.) 1634s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 1634s Unpacking libisl23:amd64 (0.27-1) ... 1634s Selecting previously unselected package libmpc3:amd64. 1634s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 1634s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 1634s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 1634s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package cpp-14. 1634s Preparing to unpack .../03-cpp-14_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking cpp-14 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package cpp-x86-64-linux-gnu. 1634s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 1634s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1634s Selecting previously unselected package cpp. 1634s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 1634s Unpacking cpp (4:14.1.0-2ubuntu1) ... 1634s Selecting previously unselected package libcc1-0:amd64. 1634s Preparing to unpack .../06-libcc1-0_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libcc1-0:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libgomp1:amd64. 1634s Preparing to unpack .../07-libgomp1_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libgomp1:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libitm1:amd64. 1634s Preparing to unpack .../08-libitm1_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libitm1:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libasan8:amd64. 1634s Preparing to unpack .../09-libasan8_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libasan8:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package liblsan0:amd64. 1634s Preparing to unpack .../10-liblsan0_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking liblsan0:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libtsan2:amd64. 1634s Preparing to unpack .../11-libtsan2_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libtsan2:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libubsan1:amd64. 1634s Preparing to unpack .../12-libubsan1_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libubsan1:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libhwasan0:amd64. 1634s Preparing to unpack .../13-libhwasan0_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libhwasan0:amd64 (14.2.0-9ubuntu1) ... 1634s Selecting previously unselected package libquadmath0:amd64. 1634s Preparing to unpack .../14-libquadmath0_14.2.0-9ubuntu1_amd64.deb ... 1634s Unpacking libquadmath0:amd64 (14.2.0-9ubuntu1) ... 1635s Selecting previously unselected package libgcc-14-dev:amd64. 1635s Preparing to unpack .../15-libgcc-14-dev_14.2.0-9ubuntu1_amd64.deb ... 1635s Unpacking libgcc-14-dev:amd64 (14.2.0-9ubuntu1) ... 1635s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 1635s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-9ubuntu1_amd64.deb ... 1635s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1635s Selecting previously unselected package gcc-14. 1635s Preparing to unpack .../17-gcc-14_14.2.0-9ubuntu1_amd64.deb ... 1635s Unpacking gcc-14 (14.2.0-9ubuntu1) ... 1635s Selecting previously unselected package gcc-x86-64-linux-gnu. 1635s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 1635s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1635s Selecting previously unselected package gcc. 1635s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 1635s Unpacking gcc (4:14.1.0-2ubuntu1) ... 1635s Selecting previously unselected package libstdc++-14-dev:amd64. 1635s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-9ubuntu1_amd64.deb ... 1635s Unpacking libstdc++-14-dev:amd64 (14.2.0-9ubuntu1) ... 1635s Selecting previously unselected package g++-14-x86-64-linux-gnu. 1635s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-9ubuntu1_amd64.deb ... 1635s Unpacking g++-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1636s Selecting previously unselected package g++-14. 1636s Preparing to unpack .../22-g++-14_14.2.0-9ubuntu1_amd64.deb ... 1636s Unpacking g++-14 (14.2.0-9ubuntu1) ... 1636s Selecting previously unselected package g++-x86-64-linux-gnu. 1636s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 1636s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1636s Selecting previously unselected package g++. 1636s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 1636s Unpacking g++ (4:14.1.0-2ubuntu1) ... 1636s Selecting previously unselected package build-essential. 1636s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 1636s Unpacking build-essential (12.10ubuntu1) ... 1636s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 1636s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.2-3_amd64.deb ... 1636s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.2-3) ... 1636s Selecting previously unselected package native-architecture. 1636s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ... 1636s Unpacking native-architecture (0.2.3) ... 1636s Selecting previously unselected package libgirepository-2.0-0:amd64. 1636s Preparing to unpack .../28-libgirepository-2.0-0_2.82.2-3_amd64.deb ... 1636s Unpacking libgirepository-2.0-0:amd64 (2.82.2-3) ... 1636s Selecting previously unselected package girepository-tools:amd64. 1636s Preparing to unpack .../29-girepository-tools_2.82.2-3_amd64.deb ... 1636s Unpacking girepository-tools:amd64 (2.82.2-3) ... 1636s Selecting previously unselected package libffi-dev:amd64. 1636s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_amd64.deb ... 1636s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 1636s Selecting previously unselected package uuid-dev:amd64. 1636s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu1_amd64.deb ... 1636s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu1) ... 1636s Selecting previously unselected package libblkid-dev:amd64. 1636s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu1_amd64.deb ... 1636s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu1) ... 1636s Selecting previously unselected package libsepol-dev:amd64. 1636s Preparing to unpack .../33-libsepol-dev_3.7-1_amd64.deb ... 1636s Unpacking libsepol-dev:amd64 (3.7-1) ... 1636s Selecting previously unselected package libpcre2-16-0:amd64. 1636s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 1636s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 1636s Selecting previously unselected package libpcre2-32-0:amd64. 1636s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 1636s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 1636s Selecting previously unselected package libpcre2-posix3:amd64. 1636s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 1636s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 1636s Selecting previously unselected package libpcre2-dev:amd64. 1636s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 1636s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 1636s Selecting previously unselected package libselinux1-dev:amd64. 1636s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu1_amd64.deb ... 1636s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu1) ... 1636s Selecting previously unselected package libmount-dev:amd64. 1636s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu1_amd64.deb ... 1636s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu1) ... 1636s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 1636s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 1636s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 1636s Selecting previously unselected package libpkgconf3:amd64. 1636s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 1636s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 1636s Selecting previously unselected package pkgconf-bin. 1636s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 1636s Unpacking pkgconf-bin (1.8.1-4) ... 1636s Selecting previously unselected package pkgconf:amd64. 1636s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 1636s Unpacking pkgconf:amd64 (1.8.1-4) ... 1636s Selecting previously unselected package zlib1g-dev:amd64. 1636s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 1636s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1637s Selecting previously unselected package libgio-2.0-dev:amd64. 1637s Preparing to unpack .../45-libgio-2.0-dev_2.82.2-3_amd64.deb ... 1637s Unpacking libgio-2.0-dev:amd64 (2.82.2-3) ... 1637s Selecting previously unselected package python3-packaging. 1637s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 1637s Unpacking python3-packaging (24.2-1) ... 1637s Selecting previously unselected package libgio-2.0-dev-bin. 1637s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.2-3_amd64.deb ... 1637s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 1637s Selecting previously unselected package libglib2.0-dev-bin. 1637s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.2-3_amd64.deb ... 1637s Unpacking libglib2.0-dev-bin (2.82.2-3) ... 1637s Selecting previously unselected package libglib2.0-dev:amd64. 1637s Preparing to unpack .../49-libglib2.0-dev_2.82.2-3_amd64.deb ... 1637s Unpacking libglib2.0-dev:amd64 (2.82.2-3) ... 1637s Setting up native-architecture (0.2.3) ... 1637s Setting up libgirepository-2.0-0:amd64 (2.82.2-3) ... 1637s Setting up libgomp1:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 1637s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 1637s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 1637s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 1637s Setting up python3-packaging (24.2-1) ... 1637s Setting up libpkgconf3:amd64 (1.8.1-4) ... 1637s Setting up uuid-dev:amd64 (2.40.2-1ubuntu1) ... 1637s Setting up libquadmath0:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libmpc3:amd64 (1.3.1-1build2) ... 1637s Setting up libsepol-dev:amd64 (3.7-1) ... 1637s Setting up pkgconf-bin (1.8.1-4) ... 1637s Setting up libubsan1:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1637s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 1637s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.2-3) ... 1637s Setting up libhwasan0:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libasan8:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libtsan2:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libisl23:amd64 (0.27-1) ... 1637s Setting up libcc1-0:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up liblsan0:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libitm1:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu1) ... 1637s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 1637s Setting up girepository-tools:amd64 (2.82.2-3) ... 1637s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 1637s Setting up libselinux1-dev:amd64 (3.7-3ubuntu1) ... 1637s Setting up pkgconf:amd64 (1.8.1-4) ... 1637s Setting up cpp-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1637s Setting up cpp-14 (14.2.0-9ubuntu1) ... 1637s Setting up libgcc-14-dev:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libstdc++-14-dev:amd64 (14.2.0-9ubuntu1) ... 1637s Setting up libmount-dev:amd64 (2.40.2-1ubuntu1) ... 1637s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1637s Setting up libglib2.0-dev-bin (2.82.2-3) ... 1637s Setting up libgio-2.0-dev:amd64 (2.82.2-3) ... 1637s Setting up cpp (4:14.1.0-2ubuntu1) ... 1637s Setting up gcc-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1637s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1637s Setting up gcc-14 (14.2.0-9ubuntu1) ... 1637s Setting up g++-14-x86-64-linux-gnu (14.2.0-9ubuntu1) ... 1637s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 1637s Setting up g++-14 (14.2.0-9ubuntu1) ... 1637s Setting up gcc (4:14.1.0-2ubuntu1) ... 1637s Setting up g++ (4:14.1.0-2ubuntu1) ... 1637s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1637s Setting up build-essential (12.10ubuntu1) ... 1637s Processing triggers for install-info (7.1.1-1) ... 1638s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1638s Processing triggers for man-db (2.13.0-1) ... 1638s Processing triggers for libglib2.0-0t64:amd64 (2.82.2-3) ... 1639s No schema files found: doing nothing. 1639s Setting up libglib2.0-dev:amd64 (2.82.2-3) ... 1654s autopkgtest [01:55:20]: test libglib2.0-dev: [----------------------- 1655s + debian/tests/build 1655s + mode=dynamic 1655s + getopt -o --long static -n debian/tests/build -- 1655s + getopt_temp= -- 1655s + eval set -- -- 1655s + set -- -- 1655s + true 1655s + shift 1655s + break 1655s + mktemp -d 1655s + WORKDIR=/tmp/tmp.OyF8Bz7Jsf 1655s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1655s + cd /tmp/tmp.OyF8Bz7Jsf 1655s + [ -n ] 1655s + CROSS_COMPILE= 1655s + cat 1655s + cat 1655s + cat 1655s + cat 1655s + cat 1655s + cat 1655s + cflags= 1655s + pcflags= 1655s + packages=glib-2.0 1655s + pkg-config --cflags --libs glib-2.0 1655s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 1655s + echo build (glib, dynamic): OK 1655s + [ -x glib-dynamic ] 1655s + foo=bar ./glib-dynamic 1655s build (glib, dynamic): OK 1655s run (glib, dynamic): OK 1655s + echo run (glib, dynamic): OK 1655s + cflags= 1655s + pcflags= 1655s + packages=gobject-2.0 1655s + pkg-config --cflags --libs gobject-2.0 1655s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 1655s build (gobject, dynamic): OK 1655s + echo build (gobject, dynamic): OK 1655s + [ -x gobject-dynamic ] 1655s + foo=bar ./gobject-dynamic 1655s + echo run (gobject, dynamic): OK 1655s + cflags= 1655s + pcflags= 1655s + packages=gio-2.0 1655s run (gobject, dynamic): OK 1655s + pkg-config --cflags --libs gio-2.0 1655s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1655s build (gio, dynamic): OK 1655s + echo build (gio, dynamic): OK 1655s + [ -x gio-dynamic ] 1655s + foo=bar ./gio-dynamic 1655s run (gio, dynamic): OK 1655s + echo run (gio, dynamic): OK 1655s + cflags= 1655s + pcflags= 1655s + packages=gio-unix-2.0 1655s + pkg-config --cflags --libs gio-unix-2.0 1655s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1655s build (gio-unix, dynamic): OK 1655s + echo build (gio-unix, dynamic): OK 1655s + [ -x gio-unix-dynamic ] 1655s + foo=bar ./gio-unix-dynamic 1655s + echo run (gio-unix, dynamic): OK 1655s + cflags= 1655s + pcflags= 1655s + packages=gmodule-2.0 1655s run (gio-unix, dynamic): OK 1655s + pkg-config --cflags --libs gmodule-2.0 1655s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 1655s build (gmodule, dynamic): OK 1655s + echo build (gmodule, dynamic): OK 1655s + [ -x gmodule-dynamic ] 1655s + foo=bar ./gmodule-dynamic 1655s run (gmodule, dynamic): OK 1655s + echo run (gmodule, dynamic): OK 1655s + cflags= 1655s + pcflags= 1655s + packages=gthread-2.0 1655s + pkg-config --cflags --libs gthread-2.0 1655s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 1655s build (gthread, dynamic): OK 1655s + echo build (gthread, dynamic): OK 1655s + [ -x gthread-dynamic ] 1655s + foo=bar ./gthread-dynamic 1655s run (gthread, dynamic): OK 1655s + echo run (gthread, dynamic): OK 1655s + rm -rf /tmp/tmp.OyF8Bz7Jsf 1655s + debian/tests/build-static 1655s + mode=dynamic 1655s + getopt -o --long static -n debian/tests/build -- --static 1655s + getopt_temp= --static -- 1655s + eval set -- --static -- 1655s + set -- --static -- 1655s + true 1655s + mode=static 1655s + shift 1655s + continue 1655s + true 1655s + shift 1655s + break 1655s + mktemp -d 1655s + WORKDIR=/tmp/tmp.05W20KLhOQ 1655s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1655s + cd /tmp/tmp.05W20KLhOQ 1655s + [ -n ] 1655s + CROSS_COMPILE= 1655s + cat 1655s + cat 1655s + cat 1655s + cat 1655s + cat 1655s + cat 1655s + cflags= 1655s + pcflags= 1655s + packages=glib-2.0 1655s + cflags=-static 1655s + pcflags=--static 1655s + pkg-config --static --cflags --libs glib-2.0 1655s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1656s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1656s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s build (glib, static): OK 1656s + echo build (glib, static): OK 1656s + [ -x glib-static ] 1656s + foo=bar ./glib-static 1656s + echo run (glib, static): OK 1656s + cflags= 1656s + pcflags= 1656s + packages=gobject-2.0 1656s + cflags=-static 1656s + pcflags=--static 1656s run (glib, static): OK 1656s + pkg-config --static --cflags --libs gobject-2.0 1656s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 1656s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1656s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s + build (gobject, static): OK 1656s echo build (gobject, static): OK 1656s + [ -x gobject-static ] 1656s + foo=bar ./gobject-static 1656s + run (gobject, static): OK 1656s echo run (gobject, static): OK 1656s + cflags= 1656s + pcflags= 1656s + packages=gio-2.0 1656s + cflags=-static 1656s + pcflags=--static 1656s + continue 1656s + cflags= 1656s + pcflags= 1656s + packages=gio-unix-2.0 1656s + cflags=-static 1656s + pcflags=--static 1656s + continue 1656s + cflags= 1656s + pcflags= 1656s + packages=gmodule-2.0 1656s + cflags=-static 1656s + pcflags=--static 1656s + pkg-config --static --cflags --libs gmodule-2.0 1656s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1656s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 1656s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1656s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s + echo build (gmodule, static): OK 1656s + [ -x gmodule-static ] 1656s + foo=bar ./gmodule-static 1656s build (gmodule, static): OK 1656s run (gmodule, static): OK 1656s + echo run (gmodule, static): OK 1656s + cflags= 1656s + pcflags= 1656s + packages=gthread-2.0 1656s + cflags=-static 1656s + pcflags=--static 1656s + pkg-config --static --cflags --libs gthread-2.0 1656s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1656s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1656s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1656s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1657s + echo build (gthread, static): OK 1657s + [ -x gthread-static ] 1657s + foo=bar ./gthread-static 1657s build (gthread, static): OK 1657s + echo run (gthread, static): OK 1657s + rm -rf /tmp/tmp.05W20KLhOQ 1657s run (gthread, static): OK 1657s + debian/tests/girepository-tools 1657s + cd /tmp/autopkgtest.C3znvm/autopkgtest_tmp 1657s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1657s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 1657s + dpkg-architecture -qDEB_HOST_MULTIARCH 1657s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 1657s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1657s typelib: GLib-2.0 1657s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 1657s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 1657s + debian/tests/libgio-2.0-dev-bin 1657s + gdbus-codegen --help 1657s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1657s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1657s [--c-generate-autocleanup {none,objects,all}] 1657s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1657s [--generate-rst OUTFILES] [--pragma-once] 1657s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1657s [--glib-min-required VERSION] 1657s [--glib-max-allowed VERSION] 1657s [--symbol-decorator SYMBOL_DECORATOR] 1657s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1657s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1657s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1657s [--output FILE | --output-directory OUTDIR] 1657s FILE [FILE ...] 1657s 1657s D-Bus code and documentation generator 1657s 1657s positional arguments: 1657s FILE D-Bus introspection XML file 1657s 1657s options: 1657s -h, --help show this help message and exit 1657s --interface-prefix PREFIX 1657s String to strip from D-Bus interface names for code 1657s and docs 1657s --c-namespace NAMESPACE 1657s The namespace to use for generated C code 1657s --c-generate-object-manager 1657s Generate a GDBusObjectManagerClient subclass when 1657s generating C code 1657s --c-generate-autocleanup {none,objects,all} 1657s Generate autocleanup support 1657s --generate-docbook OUTFILES 1657s Generate Docbook in OUTFILES-org.Project.IFace.xml 1657s --generate-md OUTFILES 1657s Generate Markdown in OUTFILES-org.Project.IFace.md 1657s --generate-rst OUTFILES 1657s Generate reStructuredText in OUTFILES- 1657s org.Project.IFace.rst 1657s --pragma-once Use "pragma once" as the inclusion guard 1657s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1657s Add annotation (may be used several times) 1657s --glib-min-required VERSION 1657s Minimum version of GLib to be supported by the 1657s outputted code (default: 2.30) 1657s --glib-max-allowed VERSION 1657s Maximum version of GLib to be used by the outputted 1657s code (default: current GLib version) 1657s --symbol-decorator SYMBOL_DECORATOR 1657s Macro used to decorate a symbol in the outputted 1657s header, possibly to export symbols 1657s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1657s Additional header required for decorator specified by 1657s --symbol-decorator 1657s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1657s Additional define required for decorator specified by 1657s --symbol-decorator 1657s --generate-c-code OUTFILES 1657s Generate C code in OUTFILES.[ch] 1657s --header Generate C headers 1657s --body Generate C code 1657s --interface-info-header 1657s Generate GDBusInterfaceInfo C header 1657s --interface-info-body 1657s Generate GDBusInterfaceInfo C code 1657s --output FILE Write output into the specified file 1657s --output-directory OUTDIR 1657s Location to output generated files 1657s + glib-compile-resources --version 1657s 2.82.2 1657s + glib-genmarshal --version 1657s glib-genmarshal version 2.82.2 1657s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1657s You may redistribute copies of glib-genmarshal under the terms of 1657s the GNU General Public License which can be found in the 1657s GLib source package. Sources, examples and contact 1657s information are available at http://www.gtk.org 1657s + glib-gettextize --version 1657s /usr/bin/glib-gettextize (GNU glib) 2.82.2 1657s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1657s This is free software; see the source for copying conditions. There is NO 1657s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1657s Written by Ulrich Drepper 1657s + glib-mkenums --version 1657s glib-mkenums version 2.82.2 1657s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1657s You may redistribute copies of glib-mkenums under the terms of 1657s the GNU General Public License which can be found in the 1657s GLib source package. Sources, examples and contact 1657s information are available at http://www.gtk.org 1657s + gobject-query tree 1657s GObject 1657s + gtester --version 1657s + gtester-report --version 1657s gtester version 2.82.2 1657s gtester-report (GLib utils) version 2.82.2. 1657s + cd /tmp/autopkgtest.C3znvm/autopkgtest_tmp 1657s + dpkg-architecture -qDEB_HOST_MULTIARCH 1657s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 1657s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1657s typelib: GLib-2.0 1657s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 1657s + gi-decompile-typelib -o GLib.gir GLib.typelib 1658s autopkgtest [01:55:24]: test libglib2.0-dev: -----------------------] 1658s autopkgtest [01:55:24]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1658s libglib2.0-dev PASS (superficial) 1658s autopkgtest [01:55:24]: test installed-tests: preparing testbed 1787s autopkgtest [01:57:33]: testbed dpkg architecture: amd64 1787s autopkgtest [01:57:33]: testbed apt version: 2.9.14ubuntu1 1787s autopkgtest [01:57:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1787s autopkgtest [01:57:33]: testbed release detected to be: plucky 1788s autopkgtest [01:57:34]: updating testbed package index (apt update) 1788s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1788s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1789s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1789s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1789s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 1789s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 1789s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 1789s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1789s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [138 kB] 1789s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [89.7 kB] 1789s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.6 kB] 1789s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2572 B] 1789s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [236 kB] 1789s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 1789s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6364 B] 1789s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [21.4 kB] 1789s Fetched 2088 kB in 1s (2309 kB/s) 1790s Reading package lists... 1790s Reading package lists... 1791s Building dependency tree... 1791s Reading state information... 1791s Calculating upgrade... 1791s The following package was automatically installed and is no longer required: 1791s libassuan0 1791s Use 'sudo apt autoremove' to remove it. 1791s The following packages will be upgraded: 1791s binutils binutils-common binutils-x86-64-linux-gnu dirmngr gcc-14-base gnupg 1791s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1791s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 1791s libgprofng0 libsframe1 libstdc++6 publicsuffix 1791s 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1791s Need to get 7991 kB of archives. 1791s After this operation, 332 kB of additional disk space will be used. 1791s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-9ubuntu1 [10.3 kB] 1791s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-9ubuntu1 [52.0 kB] 1791s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-9ubuntu1 [788 kB] 1792s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-9ubuntu1 [78.4 kB] 1792s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4 [15.5 kB] 1792s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-wks-client amd64 2.4.4-2ubuntu20 [73.8 kB] 1792s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 dirmngr amd64 2.4.4-2ubuntu20 [354 kB] 1792s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgsm amd64 2.4.4-2ubuntu20 [263 kB] 1792s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-utils amd64 2.4.4-2ubuntu20 [114 kB] 1792s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-agent amd64 2.4.4-2ubuntu20 [247 kB] 1792s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg amd64 2.4.4-2ubuntu20 [652 kB] 1792s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgconf amd64 2.4.4-2ubuntu20 [106 kB] 1792s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg all 2.4.4-2ubuntu20 [359 kB] 1792s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 keyboxd amd64 2.4.4-2ubuntu20 [86.3 kB] 1792s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgv amd64 2.4.4-2ubuntu20 [181 kB] 1792s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 publicsuffix all 20241025.1547-0.1 [135 kB] 1792s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.43.50.20241126-3ubuntu1 [885 kB] 1792s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.43.50.20241126-3ubuntu1 [96.4 kB] 1792s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.43.50.20241126-3ubuntu1 [98.6 kB] 1792s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.43.50.20241126-3ubuntu1 [3282 B] 1792s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.43.50.20241126-3ubuntu1 [2486 kB] 1792s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.43.50.20241126-3ubuntu1 [583 kB] 1792s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.43.50.20241126-3ubuntu1 [244 kB] 1792s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.43.50.20241126-3ubuntu1 [14.6 kB] 1792s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 1792s Fetched 7991 kB in 1s (9660 kB/s) 1793s (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 ... 75952 files and directories currently installed.) 1793s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_amd64.deb ... 1793s Unpacking libatomic1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1793s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_amd64.deb ... 1793s Unpacking gcc-14-base:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1793s Setting up gcc-14-base:amd64 (14.2.0-9ubuntu1) ... 1793s (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 ... 75952 files and directories currently installed.) 1793s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_amd64.deb ... 1793s Unpacking libstdc++6:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1793s Setting up libstdc++6:amd64 (14.2.0-9ubuntu1) ... 1793s (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 ... 75952 files and directories currently installed.) 1793s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_amd64.deb ... 1793s Unpacking libgcc-s1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 1793s Setting up libgcc-s1:amd64 (14.2.0-9ubuntu1) ... 1793s (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 ... 75952 files and directories currently installed.) 1793s Preparing to unpack .../libcap-ng0_0.8.5-4_amd64.deb ... 1793s Unpacking libcap-ng0:amd64 (0.8.5-4) over (0.8.5-3build1) ... 1793s Setting up libcap-ng0:amd64 (0.8.5-4) ... 1793s (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 ... 75952 files and directories currently installed.) 1793s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1793s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1793s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1793s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1793s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1793s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1793s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_amd64.deb ... 1793s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1794s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 1794s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1794s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_amd64.deb ... 1794s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1794s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_amd64.deb ... 1794s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1794s Setting up gpgv (2.4.4-2ubuntu20) ... 1794s (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 ... 75952 files and directories currently installed.) 1794s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 1794s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 1794s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking libctf0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking libbinutils:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking binutils-common:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_amd64.deb ... 1794s Unpacking libsframe1:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 1794s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 1794s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 1794s Setting up binutils-common:amd64 (2.43.50.20241126-3ubuntu1) ... 1794s Setting up libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) ... 1794s Setting up libsframe1:amd64 (2.43.50.20241126-3ubuntu1) ... 1794s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 1794s Setting up libatomic1:amd64 (14.2.0-9ubuntu1) ... 1794s Setting up gpgconf (2.4.4-2ubuntu20) ... 1794s Setting up libbinutils:amd64 (2.43.50.20241126-3ubuntu1) ... 1794s Setting up publicsuffix (20241025.1547-0.1) ... 1794s Setting up gpg (2.4.4-2ubuntu20) ... 1794s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 1794s Setting up libctf0:amd64 (2.43.50.20241126-3ubuntu1) ... 1794s Setting up gpg-agent (2.4.4-2ubuntu20) ... 1795s Setting up gpgsm (2.4.4-2ubuntu20) ... 1795s Setting up dirmngr (2.4.4-2ubuntu20) ... 1795s Setting up libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) ... 1795s Setting up keyboxd (2.4.4-2ubuntu20) ... 1795s Setting up gnupg (2.4.4-2ubuntu20) ... 1795s Setting up binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 1795s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 1795s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 1795s Processing triggers for install-info (7.1.1-1) ... 1795s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1795s Processing triggers for man-db (2.13.0-1) ... 1797s Reading package lists... 1797s Building dependency tree... 1797s Reading state information... 1798s The following packages will be REMOVED: 1798s libassuan0* 1798s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1798s After this operation, 102 kB disk space will be freed. 1798s (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 ... 75957 files and directories currently installed.) 1798s Removing libassuan0:amd64 (2.5.6-1build1) ... 1798s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1798s autopkgtest [01:57:44]: upgrading testbed (apt dist-upgrade and autopurge) 1798s Reading package lists... 1799s Building dependency tree... 1799s Reading state information... 1799s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1799s Starting 2 pkgProblemResolver with broken count: 0 1799s Done 1800s Entering ResolveByKeep 1800s 1800s The following packages will be upgraded: 1800s xauth 1801s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1801s Need to get 26.6 kB of archives. 1801s After this operation, 1024 B of additional disk space will be used. 1801s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xauth amd64 1:1.1.2-1.1 [26.6 kB] 1801s Fetched 26.6 kB in 0s (115 kB/s) 1801s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75952 files and directories currently installed.) 1801s Preparing to unpack .../xauth_1%3a1.1.2-1.1_amd64.deb ... 1801s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1801s Setting up xauth (1:1.1.2-1.1) ... 1801s Processing triggers for man-db (2.13.0-1) ... 1802s Reading package lists... 1802s Building dependency tree... 1802s Reading state information... 1802s Starting pkgProblemResolver with broken count: 0 1802s Starting 2 pkgProblemResolver with broken count: 0 1802s Done 1803s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1805s Reading package lists... 1806s Building dependency tree... 1806s Reading state information... 1806s Starting pkgProblemResolver with broken count: 0 1806s Starting 2 pkgProblemResolver with broken count: 0 1806s Done 1806s The following NEW packages will be installed: 1806s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 1806s libdrm-intel1 libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin 1806s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa 1806s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 1806s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 1806s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 1806s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 1806s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 1806s libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock 1806s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 1807s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 1807s Need to get 16.1 MB of archives. 1807s After this operation, 69.3 MB of additional disk space will be used. 1807s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 dbus-x11 amd64 1.14.10-4ubuntu5 [23.4 kB] 1807s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 desktop-file-utils amd64 0.28-1 [54.5 kB] 1807s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 1807s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.2-3 [78.2 kB] 1807s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.2-3 [115 kB] 1807s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 1807s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 1807s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.123-1 [68.8 kB] 1807s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-radeon1 amd64 2.4.123-1 [25.3 kB] 1807s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 1807s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.0-1 [35.1 kB] 1807s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 1807s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libglapi-mesa amd64 24.2.3-1ubuntu1 [42.4 kB] 1807s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 1807s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri2-0 amd64 1.17.0-2 [7222 B] 1807s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 1807s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 1807s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 1807s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 1807s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 1807s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 24.2.3-1ubuntu1 [9904 kB] 1807s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 24.2.3-1ubuntu1 [32.0 kB] 1807s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 1807s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.2-3 [128 kB] 1807s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.3.296.0-1 [143 kB] 1807s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 24.2.3-1ubuntu1 [34.4 kB] 1807s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.2-3 [18.1 kB] 1807s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-dbusmock all 0.32.2-2 [90.7 kB] 1807s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 tzdata-legacy all 2024b-1ubuntu2 [99.9 kB] 1807s Get:30 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglib2.0-tests amd64 2.82.2-3 [2245 kB] 1807s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 1807s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 1807s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 1807s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 1807s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 24.2.3-1ubuntu1 [153 kB] 1807s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1807s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 1807s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 1807s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 1808s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 1808s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 1808s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 1808s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 1808s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 1808s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 1808s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 1808s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 1808s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 1808s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 1808s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 1808s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 1808s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 1808s Get:53 http://ftpmaster.internal/ubuntu plucky/universe amd64 xvfb amd64 2:21.1.14-2ubuntu1 [965 kB] 1808s Fetched 16.1 MB in 1s (11.8 MB/s) 1808s Selecting previously unselected package dbus-x11. 1808s (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 ... 75952 files and directories currently installed.) 1808s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_amd64.deb ... 1808s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 1808s Selecting previously unselected package desktop-file-utils. 1808s Preparing to unpack .../01-desktop-file-utils_0.28-1_amd64.deb ... 1808s Unpacking desktop-file-utils (0.28-1) ... 1808s Selecting previously unselected package native-architecture. 1808s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 1808s Unpacking native-architecture (0.2.3) ... 1808s Selecting previously unselected package libgirepository-2.0-0:amd64. 1808s Preparing to unpack .../03-libgirepository-2.0-0_2.82.2-3_amd64.deb ... 1808s Unpacking libgirepository-2.0-0:amd64 (2.82.2-3) ... 1808s Selecting previously unselected package girepository-tools:amd64. 1808s Preparing to unpack .../04-girepository-tools_2.82.2-3_amd64.deb ... 1808s Unpacking girepository-tools:amd64 (2.82.2-3) ... 1808s Selecting previously unselected package gnome-desktop-testing. 1808s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_amd64.deb ... 1808s Unpacking gnome-desktop-testing (2021.1-4) ... 1808s Selecting previously unselected package libpciaccess0:amd64. 1808s Preparing to unpack .../06-libpciaccess0_0.17-3build1_amd64.deb ... 1808s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 1808s Selecting previously unselected package libdrm-intel1:amd64. 1808s Preparing to unpack .../07-libdrm-intel1_2.4.123-1_amd64.deb ... 1808s Unpacking libdrm-intel1:amd64 (2.4.123-1) ... 1808s Selecting previously unselected package libdrm-radeon1:amd64. 1808s Preparing to unpack .../08-libdrm-radeon1_2.4.123-1_amd64.deb ... 1808s Unpacking libdrm-radeon1:amd64 (2.4.123-1) ... 1808s Selecting previously unselected package libfontenc1:amd64. 1808s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 1808s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 1808s Selecting previously unselected package libwayland-server0:amd64. 1808s Preparing to unpack .../10-libwayland-server0_1.23.0-1_amd64.deb ... 1808s Unpacking libwayland-server0:amd64 (1.23.0-1) ... 1808s Selecting previously unselected package libxcb-randr0:amd64. 1808s Preparing to unpack .../11-libxcb-randr0_1.17.0-2_amd64.deb ... 1808s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 1808s Selecting previously unselected package libglapi-mesa:amd64. 1808s Preparing to unpack .../12-libglapi-mesa_24.2.3-1ubuntu1_amd64.deb ... 1808s Unpacking libglapi-mesa:amd64 (24.2.3-1ubuntu1) ... 1808s Selecting previously unselected package libx11-xcb1:amd64. 1808s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 1808s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 1808s Selecting previously unselected package libxcb-dri2-0:amd64. 1808s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_amd64.deb ... 1808s Unpacking libxcb-dri2-0:amd64 (1.17.0-2) ... 1808s Selecting previously unselected package libxcb-dri3-0:amd64. 1808s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_amd64.deb ... 1808s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 1808s Selecting previously unselected package libxcb-present0:amd64. 1808s Preparing to unpack .../16-libxcb-present0_1.17.0-2_amd64.deb ... 1808s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 1808s Selecting previously unselected package libxcb-sync1:amd64. 1808s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_amd64.deb ... 1808s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 1808s Selecting previously unselected package libxcb-xfixes0:amd64. 1808s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_amd64.deb ... 1808s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 1808s Selecting previously unselected package libxshmfence1:amd64. 1808s Preparing to unpack .../19-libxshmfence1_1.3-1build5_amd64.deb ... 1808s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 1808s Selecting previously unselected package mesa-libgallium:amd64. 1809s Preparing to unpack .../20-mesa-libgallium_24.2.3-1ubuntu1_amd64.deb ... 1809s Unpacking mesa-libgallium:amd64 (24.2.3-1ubuntu1) ... 1809s Selecting previously unselected package libgbm1:amd64. 1809s Preparing to unpack .../21-libgbm1_24.2.3-1ubuntu1_amd64.deb ... 1809s Unpacking libgbm1:amd64 (24.2.3-1ubuntu1) ... 1809s Selecting previously unselected package python3-packaging. 1809s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 1809s Unpacking python3-packaging (24.2-1) ... 1809s Selecting previously unselected package libgio-2.0-dev-bin. 1809s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.2-3_amd64.deb ... 1809s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 1809s Selecting previously unselected package libvulkan1:amd64. 1809s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_amd64.deb ... 1809s Unpacking libvulkan1:amd64 (1.3.296.0-1) ... 1809s Selecting previously unselected package libgl1-mesa-dri:amd64. 1809s Preparing to unpack .../25-libgl1-mesa-dri_24.2.3-1ubuntu1_amd64.deb ... 1809s Unpacking libgl1-mesa-dri:amd64 (24.2.3-1ubuntu1) ... 1809s Selecting previously unselected package libglib2.0-dev-bin. 1809s Preparing to unpack .../26-libglib2.0-dev-bin_2.82.2-3_amd64.deb ... 1809s Unpacking libglib2.0-dev-bin (2.82.2-3) ... 1809s Selecting previously unselected package python3-dbusmock. 1809s Preparing to unpack .../27-python3-dbusmock_0.32.2-2_all.deb ... 1809s Unpacking python3-dbusmock (0.32.2-2) ... 1809s Selecting previously unselected package tzdata-legacy. 1809s Preparing to unpack .../28-tzdata-legacy_2024b-1ubuntu2_all.deb ... 1809s Unpacking tzdata-legacy (2024b-1ubuntu2) ... 1809s Selecting previously unselected package libglib2.0-tests. 1809s Preparing to unpack .../29-libglib2.0-tests_2.82.2-3_amd64.deb ... 1809s Unpacking libglib2.0-tests (2.82.2-3) ... 1809s Selecting previously unselected package libxcb-glx0:amd64. 1809s Preparing to unpack .../30-libxcb-glx0_1.17.0-2_amd64.deb ... 1809s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 1809s Selecting previously unselected package libxcb-shm0:amd64. 1809s Preparing to unpack .../31-libxcb-shm0_1.17.0-2_amd64.deb ... 1809s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 1809s Selecting previously unselected package libxfixes3:amd64. 1809s Preparing to unpack .../32-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 1809s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 1809s Selecting previously unselected package libxxf86vm1:amd64. 1809s Preparing to unpack .../33-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 1809s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 1809s Selecting previously unselected package libglx-mesa0:amd64. 1809s Preparing to unpack .../34-libglx-mesa0_24.2.3-1ubuntu1_amd64.deb ... 1809s Unpacking libglx-mesa0:amd64 (24.2.3-1ubuntu1) ... 1809s Selecting previously unselected package x11-common. 1809s Preparing to unpack .../35-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1809s Unpacking x11-common (1:7.7+23ubuntu3) ... 1809s Selecting previously unselected package libice6:amd64. 1809s Preparing to unpack .../36-libice6_2%3a1.1.1-1_amd64.deb ... 1809s Unpacking libice6:amd64 (2:1.1.1-1) ... 1809s Selecting previously unselected package libpixman-1-0:amd64. 1809s Preparing to unpack .../37-libpixman-1-0_0.44.0-3_amd64.deb ... 1809s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 1809s Selecting previously unselected package libsm6:amd64. 1809s Preparing to unpack .../38-libsm6_2%3a1.2.4-1_amd64.deb ... 1809s Unpacking libsm6:amd64 (2:1.2.4-1) ... 1809s Selecting previously unselected package libxt6t64:amd64. 1809s Preparing to unpack .../39-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 1809s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 1809s Selecting previously unselected package libxmu6:amd64. 1809s Preparing to unpack .../40-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 1809s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 1809s Selecting previously unselected package libxpm4:amd64. 1809s Preparing to unpack .../41-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 1809s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 1809s Selecting previously unselected package libxaw7:amd64. 1809s Preparing to unpack .../42-libxaw7_2%3a1.0.16-1_amd64.deb ... 1809s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 1809s Selecting previously unselected package libxfont2:amd64. 1809s Preparing to unpack .../43-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 1809s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 1809s Selecting previously unselected package libxkbfile1:amd64. 1809s Preparing to unpack .../44-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 1809s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 1809s Selecting previously unselected package libxrender1:amd64. 1809s Preparing to unpack .../45-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 1809s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 1810s Selecting previously unselected package libxrandr2:amd64. 1810s Preparing to unpack .../46-libxrandr2_2%3a1.5.4-1_amd64.deb ... 1810s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 1810s Selecting previously unselected package x11-xkb-utils. 1810s Preparing to unpack .../47-x11-xkb-utils_7.7+9_amd64.deb ... 1810s Unpacking x11-xkb-utils (7.7+9) ... 1810s Selecting previously unselected package xserver-common. 1810s Preparing to unpack .../48-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 1810s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 1810s Selecting previously unselected package libglvnd0:amd64. 1810s Preparing to unpack .../49-libglvnd0_1.7.0-1build1_amd64.deb ... 1810s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 1810s Selecting previously unselected package libglx0:amd64. 1810s Preparing to unpack .../50-libglx0_1.7.0-1build1_amd64.deb ... 1810s Unpacking libglx0:amd64 (1.7.0-1build1) ... 1810s Selecting previously unselected package libgl1:amd64. 1810s Preparing to unpack .../51-libgl1_1.7.0-1build1_amd64.deb ... 1810s Unpacking libgl1:amd64 (1.7.0-1build1) ... 1810s Selecting previously unselected package xvfb. 1810s Preparing to unpack .../52-xvfb_2%3a21.1.14-2ubuntu1_amd64.deb ... 1810s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 1810s Setting up gnome-desktop-testing (2021.1-4) ... 1810s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 1810s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 1810s Setting up libwayland-server0:amd64 (1.23.0-1) ... 1810s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 1810s Setting up libpciaccess0:amd64 (0.17-3build1) ... 1810s Setting up native-architecture (0.2.3) ... 1810s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 1810s Setting up desktop-file-utils (0.28-1) ... 1810s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 1810s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 1810s Setting up libgirepository-2.0-0:amd64 (2.82.2-3) ... 1810s Setting up libdrm-radeon1:amd64 (2.4.123-1) ... 1810s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 1810s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 1810s Setting up libdrm-intel1:amd64 (2.4.123-1) ... 1810s Setting up x11-common (1:7.7+23ubuntu3) ... 1810s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 1810s Setting up python3-dbusmock (0.32.2-2) ... 1810s Setting up tzdata-legacy (2024b-1ubuntu2) ... 1810s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 1810s Setting up libxcb-present0:amd64 (1.17.0-2) ... 1810s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 1810s Setting up python3-packaging (24.2-1) ... 1810s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 1810s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 1810s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 1810s Setting up libglapi-mesa:amd64 (24.2.3-1ubuntu1) ... 1810s Setting up libvulkan1:amd64 (1.3.296.0-1) ... 1810s Setting up libxcb-dri2-0:amd64 (1.17.0-2) ... 1810s Setting up libxshmfence1:amd64 (1.3-1build5) ... 1810s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 1810s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 1810s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 1810s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 1810s Setting up libice6:amd64 (2:1.1.1-1) ... 1810s Setting up mesa-libgallium:amd64 (24.2.3-1ubuntu1) ... 1810s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 1811s Setting up girepository-tools:amd64 (2.82.2-3) ... 1811s Setting up libgbm1:amd64 (24.2.3-1ubuntu1) ... 1811s Setting up libgl1-mesa-dri:amd64 (24.2.3-1ubuntu1) ... 1811s Setting up libsm6:amd64 (2:1.2.4-1) ... 1811s Setting up libglib2.0-dev-bin (2.82.2-3) ... 1811s Setting up libglx-mesa0:amd64 (24.2.3-1ubuntu1) ... 1811s Setting up libglx0:amd64 (1.7.0-1build1) ... 1811s Setting up libgl1:amd64 (1.7.0-1build1) ... 1811s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 1811s Setting up libglib2.0-tests (2.82.2-3) ... 1811s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 1811s Setting up libxaw7:amd64 (2:1.0.16-1) ... 1811s Setting up x11-xkb-utils (7.7+9) ... 1811s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 1811s Setting up xvfb (2:21.1.14-2ubuntu1) ... 1811s Processing triggers for man-db (2.13.0-1) ... 1811s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1816s autopkgtest [01:58:02]: test installed-tests: [----------------------- 1816s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1816s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1816s group entry: ubuntu:x:1000: 1816s Environment: 1816s ADTTMP=/tmp/autopkgtest.C3znvm/autopkgtest_tmp 1816s ADT_ARTIFACTS=/tmp/autopkgtest.C3znvm/installed-tests-artifacts 1816s ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 1816s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.C3znvm/installed-tests-artifacts 1816s AUTOPKGTEST_TESTBED_ARCH=amd64 1816s AUTOPKGTEST_TEST_ARCH=amd64 1816s AUTOPKGTEST_TMP=/tmp/autopkgtest.C3znvm/autopkgtest_tmp 1816s DEBIAN_FRONTEND=noninteractive 1816s DEB_BUILD_OPTIONS=parallel=2 1816s GIO_USE_VFS=local 1816s GIO_USE_VOLUME_MONITOR=unix 1816s HOME=/home/ubuntu 1816s LANG=C.UTF-8 1816s LOGNAME=ubuntu 1816s MAIL=/var/mail/ubuntu 1816s OLDPWD=/home/ubuntu 1816s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1816s PWD=/tmp/autopkgtest.C3znvm/build.3m6/src 1816s SHELL=/bin/bash 1816s SHLVL=1 1816s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests 1816s SUDO_GID=1000 1816s SUDO_UID=1000 1816s SUDO_USER=ubuntu 1816s TERM=linux 1816s USER=ubuntu 1816s XDG_RUNTIME_DIR=/tmp/autopkgtest.C3znvm/autopkgtest_tmp 1816s http_proxy=http://squid.internal:3128 1816s https_proxy=http://squid.internal:3128 1816s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 1817s run-with-locales: de_DE=ISO-8859-1... 1817s Character set: ISO-8859-1 1817s Source file: de_DE 1817s Output: /tmp/tmp.xtuRqVykPp/de_DE 1817s run-with-locales: de_DE.utf8... 1817s Character set: UTF-8 1817s Source file: de_DE 1817s Output: /tmp/tmp.xtuRqVykPp/de_DE.utf8 1818s run-with-locales: de_DE@euro.utf8... 1818s Character set: UTF-8 1818s Source file: de_DE@euro 1818s Output: /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8 1820s run-with-locales: el_GR.utf8... 1820s Character set: UTF-8 1820s Source file: el_GR 1820s Output: /tmp/tmp.xtuRqVykPp/el_GR.utf8 1821s run-with-locales: en_GB=ISO-8859-1... 1821s Character set: ISO-8859-1 1821s Source file: en_GB 1821s Output: /tmp/tmp.xtuRqVykPp/en_GB 1821s run-with-locales: en_GB.utf8... 1821s Character set: UTF-8 1821s Source file: en_GB 1821s Output: /tmp/tmp.xtuRqVykPp/en_GB.utf8 1822s run-with-locales: en_US=ISO-8859-1... 1822s Character set: ISO-8859-1 1822s Source file: en_US 1822s Output: /tmp/tmp.xtuRqVykPp/en_US 1823s run-with-locales: en_US.utf8... 1823s Character set: UTF-8 1823s Source file: en_US 1823s Output: /tmp/tmp.xtuRqVykPp/en_US.utf8 1824s run-with-locales: es_ES.utf8... 1824s Character set: UTF-8 1824s Source file: es_ES 1824s Output: /tmp/tmp.xtuRqVykPp/es_ES.utf8 1825s run-with-locales: fa_IR=UTF-8... 1825s Character set: UTF-8 1825s Source file: fa_IR 1825s Output: /tmp/tmp.xtuRqVykPp/fa_IR 1826s run-with-locales: fa_IR.utf8... 1826s Character set: UTF-8 1826s Source file: fa_IR 1826s Output: /tmp/tmp.xtuRqVykPp/fa_IR.utf8 1828s run-with-locales: fr_FR.utf8... 1828s Character set: UTF-8 1828s Source file: fr_FR 1828s Output: /tmp/tmp.xtuRqVykPp/fr_FR.utf8 1829s run-with-locales: hr_HR.utf8... 1829s Character set: UTF-8 1829s Source file: hr_HR 1829s Output: /tmp/tmp.xtuRqVykPp/hr_HR.utf8 1830s run-with-locales: ja_JP.utf8... 1830s Character set: UTF-8 1830s Source file: ja_JP 1830s Output: /tmp/tmp.xtuRqVykPp/ja_JP.utf8 1831s run-with-locales: ja_JP.EUC-JP... 1831s Character set: EUC-JP 1831s Source file: ja_JP 1831s Output: /tmp/tmp.xtuRqVykPp/ja_JP.eucjp 1831s run-with-locales: lt_LT.utf8... 1831s Character set: UTF-8 1831s Source file: lt_LT 1831s Output: /tmp/tmp.xtuRqVykPp/lt_LT.utf8 1833s run-with-locales: pl_PL=ISO-8859-2... 1833s Character set: ISO-8859-2 1833s Source file: pl_PL 1833s Output: /tmp/tmp.xtuRqVykPp/pl_PL 1833s run-with-locales: pl_PL.ISO-8859-2... 1833s Character set: ISO-8859-2 1833s Source file: pl_PL 1833s Output: /tmp/tmp.xtuRqVykPp/pl_PL.iso88592 1833s run-with-locales: pl_PL.utf8... 1833s Character set: UTF-8 1833s Source file: pl_PL 1833s Output: /tmp/tmp.xtuRqVykPp/pl_PL.utf8 1835s run-with-locales: ru_RU=ISO-8859-5... 1835s Character set: ISO-8859-5 1835s Source file: ru_RU 1835s Output: /tmp/tmp.xtuRqVykPp/ru_RU 1835s run-with-locales: ru_RU.utf8... 1835s Character set: UTF-8 1835s Source file: ru_RU 1835s Output: /tmp/tmp.xtuRqVykPp/ru_RU.utf8 1836s run-with-locales: sr_RS=UTF-8... 1836s Character set: UTF-8 1836s Source file: sr_RS 1836s Output: /tmp/tmp.xtuRqVykPp/sr_RS 1838s run-with-locales: sr_RS@latin=UTF-8... 1838s Character set: UTF-8 1838s Source file: sr_RS@latin 1838s Output: /tmp/tmp.xtuRqVykPp/sr_RS@latin 1839s run-with-locales: sv_SE=ISO-8859-1... 1839s Character set: ISO-8859-1 1839s Source file: sv_SE 1839s Output: /tmp/tmp.xtuRqVykPp/sv_SE 1839s run-with-locales: sv_SE.utf8... 1839s Character set: UTF-8 1839s Source file: sv_SE 1839s Output: /tmp/tmp.xtuRqVykPp/sv_SE.utf8 1840s run-with-locales: tr_TR=ISO-8859-9... 1840s Character set: ISO-8859-9 1840s Source file: tr_TR 1840s Output: /tmp/tmp.xtuRqVykPp/tr_TR 1841s run-with-locales: tr_TR.utf8... 1841s Character set: UTF-8 1841s Source file: tr_TR 1841s Output: /tmp/tmp.xtuRqVykPp/tr_TR.utf8 1842s run-with-locales: tt_RU=UTF-8... 1842s Character set: UTF-8 1842s Source file: tt_RU 1842s Output: /tmp/tmp.xtuRqVykPp/tt_RU 1843s run-with-locales: tt_RU.utf8... 1843s Character set: UTF-8 1843s Source file: tt_RU 1843s Output: /tmp/tmp.xtuRqVykPp/tt_RU.utf8 1844s run-with-locales: tt_RU@iqtelif=UTF-8... 1844s Character set: UTF-8 1844s Source file: tt_RU@iqtelif 1844s Output: /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif 1846s /tmp/tmp.xtuRqVykPp 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/tr_TR.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/es_ES.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/el_GR.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/de_DE.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/sr_RS 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/sr_RS/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/ja_JP.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/pl_PL.iso88592/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/fa_IR 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/fa_IR/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/sr_RS@latin/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/lt_LT.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/pl_PL.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/en_US.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/de_DE@euro.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/sv_SE.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/ja_JP.eucjp/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/sv_SE 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/sv_SE/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/fr_FR.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/tt_RU.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/tr_TR 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/tr_TR/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/en_GB 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/en_GB/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/hr_HR.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/tt_RU@iqtelif/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/pl_PL 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/pl_PL/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/ru_RU.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/en_US 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/en_US/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/fa_IR.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/tt_RU 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/tt_RU/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/en_GB.utf8/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/de_DE 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/de_DE/LC_TIME 1846s /tmp/tmp.xtuRqVykPp/ru_RU 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_IDENTIFICATION 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_MONETARY 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_CTYPE 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_NUMERIC 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_PAPER 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_MEASUREMENT 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_ADDRESS 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_TELEPHONE 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_NAME 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_COLLATE 1846s /tmp/tmp.xtuRqVykPp/ru_RU/LC_TIME 1846s 1..319 1846s # Running test: glib/memory-monitor-portal.test 1846s TAP version 13 1846s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1846s 1..1 1846s ok - glib/memory-monitor-portal.test 1846s # Running test: glib/performance-threaded.test 1846s Running test "liststore-is-a" 1847s 26755 runs, min/avg/max = 0.030/0.037/0.353 ms 1847s Running test "liststore-interface-peek" 1848s 34180 runs, min/avg/max = 0.021/0.029/0.389 ms 1848s Running test "liststore-interface-peek-same" 1849s 38393 runs, min/avg/max = 0.021/0.026/0.379 ms 1849s ok - glib/performance-threaded.test 1849s # Running test: glib/completion.test 1849s TAP version 14 1849s # random seed: R02S4c9638c5399a6b7a29d47f29ce0d8cc2 1849s 1..1 1849s # Start of completion tests 1849s ok 1 /completion/test-completion 1849s # End of completion tests 1849s ok - glib/completion.test 1849s # Running test: glib/readwrite.test 1849s TAP version 14 1849s # random seed: R02S64900d2b5787eeec8fe4240217919e08 1849s 1..3 1849s # Start of readwrite tests 1849s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1849s ok 1 /readwrite/test_g_file_open_readwrite 1849s ok 2 /readwrite/test_g_file_create_readwrite 1849s ok 3 /readwrite/test_g_file_replace_readwrite 1849s # End of readwrite tests 1849s ok - glib/readwrite.test 1849s # Running test: glib/simple-async-result.test 1849s TAP version 14 1849s # random seed: R02Scccbd4e8478a284883c56deaac7aa1be 1849s 1..2 1849s # Start of gio tests 1849s # Start of simple-async-result tests 1849s ok 1 /gio/simple-async-result/test 1849s # GLib-GIO-DEBUG: GTask 0x559eeabbf720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1849s ok 2 /gio/simple-async-result/valid 1849s # End of simple-async-result tests 1849s # End of gio tests 1849s ok - glib/simple-async-result.test 1849s # Running test: glib/g-file-info-filesystem-readonly.test 1849s TAP version 14 1849s # random seed: R02Sc37af0d4bbea34b4b4e8104c4f967b4c 1849s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1849s 1..2 1849s # Start of g-file-info-filesystem-readonly tests 1849s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1849s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1849s # End of g-file-info-filesystem-readonly tests 1849s ok - glib/g-file-info-filesystem-readonly.test 1849s # Running test: glib/g-file.test 1849s TAP version 14 1849s # random seed: R02Sbd03fa86994655ed6064b03d45c16ec4 1849s 1..8 1849s # Start of g-file tests 1849s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1849s ok 1 /g-file/test_g_file_new_null 1849s ok 2 /g-file/test_g_file_new_for_path 1849s ok 3 /g-file/test_g_file_new_for_uri 1849s ok 4 /g-file/test_g_file_dup 1849s ok 5 /g-file/test_g_file_get_parse_name_utf8 1849s file:///tmp/test-tmp-glib_g-file.test-Z81WX2 1849s file:///tmp 1849s file:///tmp 1849s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1849s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1849s ok 6 /g-file/test_g_file_new_for_commandline_arg 1849s /dir1 /dir1/dir2/dir3/ 1849s /dir1/ /dir1/dir2/dir3/ 1849s /dir1 /dir1/dir2/dir3 1849s /dir1/ /dir1/dir2/dir3 1849s /tmp/ /something/ 1849s /dir1/dir2 /dir1/ 1849s //dir1/new //dir1/new/dir2/dir3 1849s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1849s file:///dir1 file:///dir1/dir2/dir3/ 1849s file:///dir1/ file:///dir1/dir2/dir3/ 1849s file:///dir1 file:///dir1/dir2/dir3 1849s file:///dir1/ file:///dir1/dir2/dir3 1849s file:///tmp/ file:///something/ 1849s file:///dir1/dir2 file:///dir1/ 1849s file:////dir1/new file:////dir1/new/dir2/dir3 1849s 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 1849s ok 7 /g-file/test_g_file_has_prefix 1849s ok 8 /g-file/test_g_file_get_parent_child 1849s # End of g-file tests 1849s ok - glib/g-file.test 1849s # Running test: glib/thread.test 1849s TAP version 14 1849s # random seed: R02Sc8f3437a67dda56e25f77113b29d5e50 1849s 1..7 1849s # Start of thread tests 1849s ok 1 /thread/thread1 1849s ok 2 /thread/thread2 1849s ok 3 /thread/thread3 1849s ok 4 /thread/thread4 1849s ok 5 /thread/thread5 1849s ok 6 /thread/thread6 1849s ok 7 /thread/thread7 1849s # End of thread tests 1849s ok - glib/thread.test 1849s # Running test: glib/portal-support-flatpak-full.test 1849s TAP version 14 1849s # random seed: R02Sf95b4141288ca2321810eeff31dc3090 1849s 1..1 1849s # Start of portal-support tests 1849s # Start of flatpak tests 1849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/home 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/cache 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/system-config2 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/config 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/system-data2 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/data 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/state 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/runtime 1849s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_47HXX2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1849s ok 1 /portal-support/flatpak/full 1849s # End of flatpak tests 1849s # End of portal-support tests 1849s ok - glib/portal-support-flatpak-full.test 1849s # Running test: glib/tree.test 1849s TAP version 14 1849s # random seed: R02Sf586a132417a3286a1add2fad4f5a739 1849s 1..7 1849s # Start of tree tests 1849s ok 1 /tree/search 1849s ok 2 /tree/remove 1849s ok 3 /tree/destroy 1849s ok 4 /tree/traverse 1849s ok 5 /tree/insert 1849s ok 6 /tree/bounds 1849s ok 7 /tree/remove-all 1849s # End of tree tests 1849s ok - glib/tree.test 1849s # Running test: glib/macros-c-11.test 1849s TAP version 14 1849s # random seed: R02Sd54fd77ffe319648b4e318ecc71c23d0 1849s 1..4 1849s # Start of C tests 1849s ok 1 /C/standard-11 1849s # End of C tests 1849s # Start of alignof tests 1849s ok 2 /alignof/fallback 1849s # End of alignof tests 1849s # Start of assert tests 1849s ok 3 /assert/static 1849s # End of assert tests 1849s # Start of struct tests 1849s ok 4 /struct/sizeof_member 1849s # End of struct tests 1849s ok - glib/macros-c-11.test 1849s # Running test: glib/utf8-performance.test 1849s TAP version 14 1849s # random seed: R02S6ce655c462db93eeefe75abdc8c551f0 1849s 1..36 1849s # Start of utf8 tests 1849s # Start of perf tests 1849s # Start of get_char tests 1849s # max perf: 21.5 MB/s 1849s ok 1 /utf8/perf/get_char/ascii 1849s # max perf: inf MB/s 1849s ok 2 /utf8/perf/get_char/latin1 1849s # max perf: inf MB/s 1849s ok 3 /utf8/perf/get_char/cyrillic 1849s # max perf: inf MB/s 1849s ok 4 /utf8/perf/get_char/han 1849s # End of get_char tests 1849s # Start of get_char-backwards tests 1849s # max perf: inf MB/s 1849s ok 5 /utf8/perf/get_char-backwards/ascii 1849s # max perf: 67.0 MB/s 1849s ok 6 /utf8/perf/get_char-backwards/latin1 1849s # max perf: 160.0 MB/s 1849s ok 7 /utf8/perf/get_char-backwards/cyrillic 1849s # max perf: 156.0 MB/s 1849s ok 8 /utf8/perf/get_char-backwards/han 1849s # End of get_char-backwards tests 1849s # Start of get_char_validated tests 1849s # max perf: 43.0 MB/s 1849s ok 9 /utf8/perf/get_char_validated/ascii 1849s # max perf: inf MB/s 1849s ok 10 /utf8/perf/get_char_validated/latin1 1849s # max perf: 160.0 MB/s 1849s ok 11 /utf8/perf/get_char_validated/cyrillic 1849s # max perf: inf MB/s 1849s ok 12 /utf8/perf/get_char_validated/han 1849s # End of get_char_validated tests 1849s # Start of utf8_to_ucs4 tests 1849s # max perf: 43.0 MB/s 1849s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1849s # max perf: 67.0 MB/s 1849s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1849s # max perf: 160.0 MB/s 1849s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1849s # max perf: 156.0 MB/s 1849s ok 16 /utf8/perf/utf8_to_ucs4/han 1849s # End of utf8_to_ucs4 tests 1849s # Start of utf8_to_ucs4-sized tests 1849s # max perf: 43.0 MB/s 1849s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1849s # max perf: 67.0 MB/s 1849s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1849s # max perf: 160.0 MB/s 1849s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1849s # max perf: inf MB/s 1849s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1849s # End of utf8_to_ucs4-sized tests 1849s # Start of utf8_to_ucs4_fast tests 1849s # max perf: 43.0 MB/s 1849s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1849s # max perf: inf MB/s 1849s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1849s # max perf: 160.0 MB/s 1849s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1849s # max perf: inf MB/s 1849s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1849s # End of utf8_to_ucs4_fast tests 1849s # Start of utf8_to_ucs4_fast-sized tests 1849s # max perf: 43.0 MB/s 1849s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1849s # max perf: inf MB/s 1849s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1849s # max perf: 160.0 MB/s 1849s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1849s # max perf: inf MB/s 1849s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1849s # End of utf8_to_ucs4_fast-sized tests 1849s # Start of utf8_validate tests 1849s # max perf: inf MB/s 1849s ok 29 /utf8/perf/utf8_validate/ascii 1849s # max perf: 67.0 MB/s 1849s ok 30 /utf8/perf/utf8_validate/latin1 1849s # max perf: inf MB/s 1849s ok 31 /utf8/perf/utf8_validate/cyrillic 1849s # max perf: inf MB/s 1849s ok 32 /utf8/perf/utf8_validate/han 1849s # End of utf8_validate tests 1849s # Start of utf8_validate-sized tests 1849s # max perf: 43.0 MB/s 1849s ok 33 /utf8/perf/utf8_validate-sized/ascii 1849s # max perf: inf MB/s 1849s ok 34 /utf8/perf/utf8_validate-sized/latin1 1849s # max perf: 160.0 MB/s 1849s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1849s # max perf: inf MB/s 1849s ok 36 /utf8/perf/utf8_validate-sized/han 1849s # End of utf8_validate-sized tests 1849s # End of perf tests 1849s # End of utf8 tests 1849s ok - glib/utf8-performance.test 1849s # Running test: glib/object.test 1849s TAP version 14 1849s # random seed: R02S4617df9f35b769e7dcfb4f474b662da0 1849s 1..2 1849s # Start of object tests 1849s # Start of constructor tests 1849s ok 1 /object/constructor/singleton 1849s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1849s # End of constructor tests 1849s # End of object tests 1849s ok - glib/object.test 1849s # Running test: glib/portal-support-flatpak-network-only.test 1849s TAP version 14 1849s # random seed: R02S4509b1bcdedc7506fd1e626347550198 1849s 1..1 1849s # Start of portal-support tests 1849s # Start of flatpak tests 1849s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/home 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/cache 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/system-config2 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/config 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/system-data2 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/data 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/state 1849s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/runtime 1849s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_DPAWX2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1849s ok 1 /portal-support/flatpak/network 1849s # End of flatpak tests 1849s # End of portal-support tests 1849s ok - glib/portal-support-flatpak-network-only.test 1849s # Running test: glib/signals-refcount4.test 1849s TAP version 14 1849s # random seed: R02Sb57d23dcbaea9aca87b3cc0e675b4222 1849s 1..1 1849s # Start of gobject tests 1849s # Start of refcount tests 1849s # init 0x5f358a525420 1849s # 1849s # init 0x5f358a5255c0 1849s # 1850s # Executing: glib/signals-refcount4.test 1854s # dispose 0x5f358a525420! 1854s # 1854s # dispose 0x5f358a5255c0! 1854s # 1854s ok 1 /gobject/refcount/signals 1854s # slow test /gobject/refcount/signals executed in 5.00 secs 1854s # End of refcount tests 1854s # End of gobject tests 1854s ok - glib/signals-refcount4.test 1854s # Running test: glib/charset.test 1854s TAP version 14 1854s # random seed: R02Sa45e8ce735e6caaae16e82435e25d809 1854s 1..2 1854s # Start of charset tests 1854s # Test 0 1854s # Test 1 1854s # Test 2 1854s # Test 3 1854s ok 1 /charset/language_names_with_category 1854s ok 2 /charset/language_names_with_category_async 1854s # End of charset tests 1854s ok - glib/charset.test 1854s # Running test: glib/unicode-encoding.test 1854s TAP version 14 1854s # random seed: R02S65dda8e2bb8e4dc523b503c1374c4578 1854s 1..1 1854s # Start of unicode tests 1854s ok 1 /unicode/encoding 1854s # End of unicode tests 1854s ok - glib/unicode-encoding.test 1854s # Running test: glib/gdbus-addresses.test 1854s TAP version 14 1854s # random seed: R02S58f0094f09a250a059613c4a6aeb8805 1854s 1..9 1854s # Start of gdbus tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/empty-address/.dirs/runtime 1854s ok 1 /gdbus/empty-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unsupported-address/.dirs/runtime 1854s ok 2 /gdbus/unsupported-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/address-parsing/.dirs/runtime 1854s ok 3 /gdbus/address-parsing 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/unix-address/.dirs/runtime 1854s ok 4 /gdbus/unix-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/nonce-tcp-address/.dirs/runtime 1854s ok 5 /gdbus/nonce-tcp-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/tcp-address/.dirs/runtime 1854s ok 6 /gdbus/tcp-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/autolaunch-address/.dirs/runtime 1854s ok 7 /gdbus/autolaunch-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/mixed-address/.dirs/runtime 1854s ok 8 /gdbus/mixed-address 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3KMWX2/gdbus/escape-address/.dirs/runtime 1854s ok 9 /gdbus/escape-address 1854s # End of gdbus tests 1854s ok - glib/gdbus-addresses.test 1854s # Running test: glib/atomic-c-11.test 1854s TAP version 14 1854s # random seed: R02S9e289d06e93b818d401db25abb48a9c0 1854s 1..2 1854s # Start of atomic tests 1854s ok 1 /atomic/types 1854s ok 2 /atomic/threaded 1854s # End of atomic tests 1854s ok - glib/atomic-c-11.test 1854s # Running test: glib/network-monitor.test 1854s TAP version 14 1854s # random seed: R02Seebbea830d14d39047bfb59b92a9470c 1854s 1..4 1854s # Start of network-monitor tests 1854s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1854s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1854s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1854s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1854s ok 1 /network-monitor/default 1854s ok 2 /network-monitor/remove_default 1854s ok 3 /network-monitor/add_networks 1854s ok 4 /network-monitor/remove_networks 1854s # End of network-monitor tests 1854s ok - glib/network-monitor.test 1854s # Running test: glib/keyfile.test 1854s TAP version 14 1854s # random seed: R02S2c14194dd8dba0d158457321e768de65 1854s 1..36 1854s # Start of keyfile tests 1854s ok 1 /keyfile/line-ends 1854s ok 2 /keyfile/whitespace 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1854s ok 3 /keyfile/comments 1854s ok 4 /keyfile/listing 1854s ok 5 /keyfile/string 1854s ok 6 /keyfile/boolean 1854s ok 7 /keyfile/number 1854s ok 8 /keyfile/locale-string 1854s ok 9 /keyfile/lists 1854s ok 10 /keyfile/lists-set-get 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1854s ok 11 /keyfile/group-remove 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1854s ok 12 /keyfile/key-remove 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1854s ok 13 /keyfile/groups 1854s ok 14 /keyfile/duplicate-keys 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1854s ok 15 /keyfile/duplicate-groups 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1854s ok 16 /keyfile/duplicate-groups2 1854s ok 17 /keyfile/group-names 1854s ok 18 /keyfile/key-names 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1854s ok 19 /keyfile/reload 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1854s ok 20 /keyfile/int64 1854s ok 21 /keyfile/load 1854s ok 22 /keyfile/save 1854s ok 23 /keyfile/load-fail 1854s ok 24 /keyfile/non-utf8 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1854s ok 25 /keyfile/page-boundary 1854s ok 26 /keyfile/ref 1854s ok 27 /keyfile/replace-value 1854s ok 28 /keyfile/list-separator 1854s ok 29 /keyfile/empty-string 1854s ok 30 /keyfile/limbo 1854s # Testing invalid encoding ?non-UTF-8? 1854s # Testing invalid encoding ?UTF? 1854s # Testing invalid encoding ?UTF-9? 1854s ok 31 /keyfile/utf8 1854s ok 32 /keyfile/roundtrip 1854s ok 33 /keyfile/bytes 1854s ok 34 /keyfile/get-locale 1854s ok 35 /keyfile/free-when-not-last-ref 1854s # Start of locale-string tests 1854s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1854s ok 36 /keyfile/locale-string/multiple-loads 1854s # End of locale-string tests 1854s # End of keyfile tests 1854s ok - glib/keyfile.test 1854s # Running test: glib/pattern.test 1854s TAP version 14 1854s # random seed: R02Sa6b65d64b38627dd4c64a8e04186f951 1854s 1..90 1854s # Start of pattern tests 1854s # Start of compile tests 1854s ok 1 /pattern/compile/0 1854s ok 2 /pattern/compile/1 1854s ok 3 /pattern/compile/2 1854s ok 4 /pattern/compile/3 1854s ok 5 /pattern/compile/4 1854s ok 6 /pattern/compile/5 1854s ok 7 /pattern/compile/6 1854s ok 8 /pattern/compile/7 1854s ok 9 /pattern/compile/8 1854s ok 10 /pattern/compile/9 1854s ok 11 /pattern/compile/10 1854s ok 12 /pattern/compile/11 1854s ok 13 /pattern/compile/12 1854s ok 14 /pattern/compile/13 1854s # End of compile tests 1854s # Start of copy tests 1854s ok 15 /pattern/copy/0 1854s ok 16 /pattern/copy/1 1854s ok 17 /pattern/copy/2 1854s ok 18 /pattern/copy/3 1854s ok 19 /pattern/copy/4 1854s ok 20 /pattern/copy/5 1854s ok 21 /pattern/copy/6 1854s ok 22 /pattern/copy/7 1854s ok 23 /pattern/copy/8 1854s ok 24 /pattern/copy/9 1854s ok 25 /pattern/copy/10 1854s ok 26 /pattern/copy/11 1854s ok 27 /pattern/copy/12 1854s ok 28 /pattern/copy/13 1854s # End of copy tests 1854s # Start of match tests 1854s ok 29 /pattern/match/0 1854s ok 30 /pattern/match/1 1854s ok 31 /pattern/match/2 1854s ok 32 /pattern/match/3 1854s ok 33 /pattern/match/4 1854s ok 34 /pattern/match/5 1854s ok 35 /pattern/match/6 1854s ok 36 /pattern/match/7 1854s ok 37 /pattern/match/8 1854s ok 38 /pattern/match/9 1854s ok 39 /pattern/match/10 1854s ok 40 /pattern/match/11 1854s ok 41 /pattern/match/12 1854s ok 42 /pattern/match/13 1854s ok 43 /pattern/match/14 1854s ok 44 /pattern/match/15 1854s ok 45 /pattern/match/16 1854s ok 46 /pattern/match/17 1854s ok 47 /pattern/match/18 1854s ok 48 /pattern/match/19 1854s ok 49 /pattern/match/20 1854s ok 50 /pattern/match/21 1854s ok 51 /pattern/match/22 1854s ok 52 /pattern/match/23 1854s ok 53 /pattern/match/24 1854s ok 54 /pattern/match/25 1854s ok 55 /pattern/match/26 1854s ok 56 /pattern/match/27 1854s ok 57 /pattern/match/28 1854s ok 58 /pattern/match/29 1854s ok 59 /pattern/match/30 1854s ok 60 /pattern/match/31 1854s ok 61 /pattern/match/32 1854s ok 62 /pattern/match/33 1854s ok 63 /pattern/match/34 1854s ok 64 /pattern/match/35 1854s ok 65 /pattern/match/36 1854s ok 66 /pattern/match/37 1854s ok 67 /pattern/match/38 1854s ok 68 /pattern/match/39 1854s ok 69 /pattern/match/40 1854s ok 70 /pattern/match/41 1854s ok 71 /pattern/match/42 1854s ok 72 /pattern/match/43 1854s ok 73 /pattern/match/44 1854s ok 74 /pattern/match/45 1854s ok 75 /pattern/match/46 1854s ok 76 /pattern/match/47 1854s ok 77 /pattern/match/48 1854s ok 78 /pattern/match/49 1854s ok 79 /pattern/match/50 1854s # End of match tests 1854s # Start of equal tests 1854s ok 80 /pattern/equal/0 1854s ok 81 /pattern/equal/1 1854s ok 82 /pattern/equal/2 1854s ok 83 /pattern/equal/3 1854s ok 84 /pattern/equal/4 1854s ok 85 /pattern/equal/5 1854s ok 86 /pattern/equal/6 1854s ok 87 /pattern/equal/7 1854s ok 88 /pattern/equal/8 1854s ok 89 /pattern/equal/9 1854s ok 90 /pattern/equal/10 1854s # End of equal tests 1854s # End of pattern tests 1854s ok - glib/pattern.test 1854s # Running test: glib/utils.test 1854s TAP version 14 1854s # random seed: R02S94f4b1526bb7cd6b1f4ae61988b1d2ec 1854s 1..40 1854s # Start of utils tests 1854s ok 1 /utils/language-names 1854s ok 2 /utils/locale-variants 1854s ok 3 /utils/version 1854s ok 4 /utils/appname 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1854s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1854s ok 5 /utils/prgname-thread-safety 1854s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1854s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1854s ok 6 /utils/tmpdir 1854s ok 7 /utils/basic_bits 1854s ok 8 /utils/bits 1854s ok 9 /utils/swap 1854s ok 10 /utils/find-program 1854s ok 11 /utils/find-program-for-path 1854s ok 12 /utils/debug 1854s ok 13 /utils/codeset 1854s ok 14 /utils/codeset2 1854s ok 15 /utils/console-charset 1854s ok 16 /utils/gettext 1854s ok 17 /utils/username 1854s ok 18 /utils/realname 1854s ok 19 /utils/hostname 1854s ok 20 /utils/xdgdirs 1854s ok 21 /utils/specialdir 1854s # NAME: Ubuntu 1854s ok 22 /utils/os-info 1854s ok 23 /utils/clear-pointer 1854s ok 24 /utils/clear-pointer-cast 1854s ok 25 /utils/take-pointer 1854s ok 26 /utils/clear-source 1854s ok 27 /utils/misc-mem 1854s # /utils/aligned-mem summary: Aligned memory allocator 1854s # Alignment must not be zero 1854s # Alignment must be a power of two 1854s # Alignment must be a multiple of sizeof(void*) 1854s ok 28 /utils/aligned-mem 1854s # /utils/free-sized summary: Check that g_free_sized() works 1854s ok 29 /utils/free-sized 1854s ok 30 /utils/nullify 1854s ok 31 /utils/atexit 1854s ok 32 /utils/check-setuid 1854s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1854s ok 33 /utils/int-limits 1854s ok 34 /utils/clear-list 1854s ok 35 /utils/clear-slist 1854s # Start of specialdir tests 1854s ok 36 /utils/specialdir/desktop 1854s # End of specialdir tests 1854s # Start of clear-pointer tests 1854s ok 37 /utils/clear-pointer/side-effects 1854s # End of clear-pointer tests 1854s # Start of aligned-mem tests 1854s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1854s ok 38 /utils/aligned-mem/alignment 1854s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1854s ok 39 /utils/aligned-mem/zeroed 1854s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1854s ok 40 /utils/aligned-mem/free-sized 1854s # Start of subprocess tests 1854s # End of subprocess tests 1854s # End of aligned-mem tests 1854s # End of utils tests 1854s ok - glib/utils.test 1854s # Running test: glib/resolver-parsing.test 1854s TAP version 14 1854s # random seed: R02S8d9237bb7e8aa14150f0d153f944f49c 1854s 1..21 1854s # Start of gresolver tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/invalid-header/.dirs/runtime 1854s ok 1 /gresolver/invalid-header 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/record-ownership/.dirs/runtime 1854s ok 2 /gresolver/record-ownership 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/unknown-record-type/.dirs/runtime 1854s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1854s ok 3 /gresolver/unknown-record-type 1854s # Start of mx tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/valid/.dirs/runtime 1854s ok 4 /gresolver/mx/valid 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/.dirs/runtime 1854s ok 5 /gresolver/mx/invalid 1854s # Start of invalid tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short/.dirs/runtime 1854s ok 6 /gresolver/mx/invalid/too-short 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/mx/invalid/too-short2/.dirs/runtime 1854s ok 7 /gresolver/mx/invalid/too-short2 1854s # End of invalid tests 1854s # End of mx tests 1854s # Start of ns tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/valid/.dirs/runtime 1854s ok 8 /gresolver/ns/valid 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/ns/invalid/.dirs/runtime 1854s ok 9 /gresolver/ns/invalid 1854s # End of ns tests 1854s # Start of soa tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/valid/.dirs/runtime 1854s ok 10 /gresolver/soa/valid 1854s # Start of invalid tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/mname/.dirs/runtime 1854s ok 11 /gresolver/soa/invalid/mname 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/rname/.dirs/runtime 1854s ok 12 /gresolver/soa/invalid/rname 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/soa/invalid/too-short/.dirs/runtime 1854s ok 13 /gresolver/soa/invalid/too-short 1854s # End of invalid tests 1854s # End of soa tests 1854s # Start of srv tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/valid/.dirs/runtime 1854s ok 14 /gresolver/srv/valid 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/.dirs/runtime 1854s ok 15 /gresolver/srv/invalid 1854s # Start of invalid tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short/.dirs/runtime 1854s ok 16 /gresolver/srv/invalid/too-short 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/srv/invalid/too-short2/.dirs/runtime 1854s ok 17 /gresolver/srv/invalid/too-short2 1854s # End of invalid tests 1854s # End of srv tests 1854s # Start of txt tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/.dirs/runtime 1854s ok 18 /gresolver/txt/valid 1854s # Start of valid tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1854s ok 19 /gresolver/txt/valid/multiple-strings 1854s # End of valid tests 1854s # Start of invalid tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/empty/.dirs/runtime 1854s ok 20 /gresolver/txt/invalid/empty 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_GB3RX2/gresolver/txt/invalid/overflow/.dirs/runtime 1854s ok 21 /gresolver/txt/invalid/overflow 1854s # End of invalid tests 1854s # End of txt tests 1854s # End of gresolver tests 1854s ok - glib/resolver-parsing.test 1854s # Running test: glib/node.test 1854s TAP version 14 1854s # random seed: R02Sb47528c46981349c047d23f1f9ff498a 1854s 1..6 1854s # Start of node tests 1854s ok 1 /node/allocation 1854s ok 2 /node/construction 1854s ok 3 /node/traversal 1854s ok 4 /node/misc 1854s ok 5 /node/unlink 1854s ok 6 /node/copy 1854s # End of node tests 1854s ok - glib/node.test 1854s # Running test: glib/portal-support-env-var.test 1854s TAP version 14 1854s # random seed: R02S7740b6d5e0100634d0261036137ca794 1854s 1..1 1854s # Start of portal-support tests 1854s ok 1 /portal-support/env-var 1854s # End of portal-support tests 1854s ok - glib/portal-support-env-var.test 1854s # Running test: glib/gdbus-subscribe.test 1854s TAP version 14 1854s # random seed: R02S3043b644d38e025a26d6a9fd1c9fd75e 1854s 1..24 1854s # Start of gdbus tests 1854s # Start of subscribe tests 1854s # Start of conn tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/simple/.dirs/runtime 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1854s # Step 0: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 1: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 2: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 2 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 1 /gdbus/subscribe/conn/simple 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1854s # Step 0: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: service 2 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 3: emitting signal 1854s # Sender: service 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 4: emitting signal 1854s # Sender: service 2 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 1 1854s # Signal received from service 2 :1.2 1854s # Signal received from service 2 :1.2 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 2 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 3 1854s # Signal received from service 2 :1.2 1854s # Signal received from service 2 :1.2 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/match_twice/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1854s # Step 0: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 1: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: (any) 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 2: adding subscription 1854s # Sender: (any) 1854s # Path: (any) 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 3: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 4: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 3 /gdbus/subscribe/conn/match_twice 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1854s # Step 0: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 3: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 3 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1854s # Step 0: adding subscription 1854s # Sender: :0.this.had.better.not.exist 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1854s # Step 0: claiming bus name 1854s # Name: org.gtk.Test.AlreadyOwned 1854s # Owner: service 1854s # Step 1: adding subscription 1854s # Sender: org.gtk.Test.AlreadyOwned 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 2: adding subscription 1854s # Sender: org.gtk.Test.OwnedLater 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 3: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 4: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 5: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 6: claiming bus name 1854s # Name: org.gtk.Test.OwnedLater 1854s # Owner: service 1854s # Step 7: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 5 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 7 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 7 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1854s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1854s # Step 0: adding subscription 1854s # Sender: org.freedesktop.DBus 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: NameOwnerChanged 1854s # String argument 0: would I lie to you? 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: NameOwnerChanged 1854s # Waiting for signal to reach message bus 1854s # Step 3: claiming bus name 1854s # Name: org.gtk.Test.OwnedLater 1854s # Owner: service 1854s # Signal received from message bus org.freedesktop.DBus 1854s # Signal received from (unused) org.freedesktop.DBus via connection 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: NameOwnerChanged 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1854s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1854s # Step 0: claiming bus name 1854s # Name: org.gtk.Test.AlreadyOwned 1854s # Owner: service 1854s # Step 1: adding subscription 1854s # Sender: org.gtk.Test.AlreadyOwned 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Immediately unsubscribing 1854s # Waiting for AddMatch to be processed 1854s # Step 2: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1854s # End of conn tests 1854s # Start of proxy tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/simple/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1854s # Step 0: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 1: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 2: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 9 /gdbus/subscribe/proxy/simple 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1854s # Step 0: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: service 2 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 3: emitting signal 1854s # Sender: service 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 4: emitting signal 1854s # Sender: service 2 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1854s # Step 0: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 1: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: (any) 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 2: adding subscription 1854s # Sender: (any) 1854s # Path: (any) 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 3: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 4: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 11 /gdbus/subscribe/proxy/match_twice 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1854s # Step 0: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 3: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 3 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1854s # Step 0: adding subscription 1854s # Sender: :0.this.had.better.not.exist 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1854s # Step 0: claiming bus name 1854s # Name: org.gtk.Test.AlreadyOwned 1854s # Owner: service 1854s # Step 1: adding subscription 1854s # Sender: org.gtk.Test.AlreadyOwned 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 2: adding subscription 1854s # Sender: org.gtk.Test.OwnedLater 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 3: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 4: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 5: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 6: claiming bus name 1854s # Name: org.gtk.Test.OwnedLater 1854s # Owner: service 1854s # Step 7: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 5 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 7 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 7 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1854s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1854s # Step 0: adding subscription 1854s # Sender: org.freedesktop.DBus 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: attacker 1854s # Destination: (broadcast) 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: NameOwnerChanged 1854s # String argument 0: would I lie to you? 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: attacker 1854s # Destination: subscriber :1.0 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: NameOwnerChanged 1854s # Waiting for signal to reach message bus 1854s # Step 3: claiming bus name 1854s # Name: org.gtk.Test.OwnedLater 1854s # Owner: service 1854s # Signal received from message bus org.freedesktop.DBus 1854s # Signal received from (unused) org.freedesktop.DBus via proxy 1854s # Path: /org/freedesktop/DBus 1854s # Interface: org.freedesktop.DBus 1854s # Member: NameOwnerChanged 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1854s # Step 0: claiming bus name 1854s # Name: org.gtk.Test.AlreadyOwned 1854s # Owner: service 1854s # Step 1: adding subscription 1854s # Sender: org.gtk.Test.AlreadyOwned 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 2: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 2 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1854s # End of proxy tests 1854s # Start of parallel tests 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/simple/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1854s # Step 0: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 1: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 2: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 2 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1854s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 17 /gdbus/subscribe/parallel/simple 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1854s # Step 0: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 1: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 2: emitting signal 1854s # Sender: service 2 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 3: emitting signal 1854s # Sender: service 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Step 4: emitting signal 1854s # Sender: service 2 1854s # Destination: subscriber :1.0 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 1 1854s # Signal received from service 2 :1.2 1854s # Signal received from service 2 :1.2 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 2 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 3 1854s # Signal received from service 2 :1.2 1854s # Signal received from service 2 :1.2 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1854s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1854s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1854s # service 2 is :1.2 1854s # attacker is :1.3 1854s # Waiting for AddMatch to be processed 1854s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1854s # Step 0: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 1: adding subscription 1854s # Sender: (any) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: (any) 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 2: adding subscription 1854s # Sender: (any) 1854s # Path: (any) 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Cannot subscribe via proxy: no bus name 1854s # Waiting for AddMatch to be processed 1854s # Step 3: adding subscription 1854s # Sender: service :1.1 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: (any) 1854s # String argument 0: (any) 1854s # Flags: 0 1854s # Subscribing via connection 1854s # Subscribing via proxy 1854s # Waiting for AddMatch to be processed 1854s # Step 4: emitting signal 1854s # Sender: service 1854s # Destination: (broadcast) 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Waiting for signal to reach message bus 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via proxy 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Signal received from service :1.1 1854s # Signal received from service :1.1 via connection 1854s # Path: /org/gtk/GDBus/ExampleInterface 1854s # Interface: org.gtk.GDBus.ExampleInterface 1854s # Member: Foo 1854s # Argument 0: (not a string) 1854s # Sent in step: 4 1854s # Received Finished signal from subscriber :1.0 1854s # Received Finished signal from service :1.1 1854s # Received Finished signal from service 2 :1.2 1854s # Received Finished signal from attacker :1.3 1854s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1854s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s ok 19 /gdbus/subscribe/parallel/match_twice 1854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1854s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1854s # subscriber is :1.0 1854s # service is :1.1 1855s # service 2 is :1.2 1855s # attacker is :1.3 1855s # Waiting for AddMatch to be processed 1855s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1855s # Step 0: adding subscription 1855s # Sender: service :1.1 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: (any) 1855s # String argument 0: (any) 1855s # Flags: 0 1855s # Subscribing via connection 1855s # Subscribing via proxy 1855s # Waiting for AddMatch to be processed 1855s # Step 1: emitting signal 1855s # Sender: attacker 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Step 2: emitting signal 1855s # Sender: attacker 1855s # Destination: subscriber :1.0 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Step 3: emitting signal 1855s # Sender: service 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via connection 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 3 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via proxy 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 3 1855s # Received Finished signal from subscriber :1.0 1855s # Received Finished signal from service :1.1 1855s # Received Finished signal from service 2 :1.2 1855s # Received Finished signal from attacker :1.3 1855s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1855s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1855s # subscriber is :1.0 1855s # service is :1.1 1855s # service 2 is :1.2 1855s # attacker is :1.3 1855s # Waiting for AddMatch to be processed 1855s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1855s # Step 0: adding subscription 1855s # Sender: :0.this.had.better.not.exist 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: (any) 1855s # String argument 0: (any) 1855s # Flags: 0 1855s # Subscribing via connection 1855s # Subscribing via proxy 1855s # Waiting for AddMatch to be processed 1855s # Step 1: emitting signal 1855s # Sender: attacker 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Step 2: emitting signal 1855s # Sender: attacker 1855s # Destination: subscriber :1.0 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Received Finished signal from subscriber :1.0 1855s # Received Finished signal from service :1.1 1855s # Received Finished signal from service 2 :1.2 1855s # Received Finished signal from attacker :1.3 1855s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1855s # subscriber is :1.0 1855s # service is :1.1 1855s # service 2 is :1.2 1855s # attacker is :1.3 1855s # Waiting for AddMatch to be processed 1855s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 1855s # Step 0: claiming bus name 1855s # Name: org.gtk.Test.AlreadyOwned 1855s # Owner: service 1855s # Step 1: adding subscription 1855s # Sender: org.gtk.Test.AlreadyOwned 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: (any) 1855s # String argument 0: (any) 1855s # Flags: 0 1855s # Subscribing via connection 1855s # Subscribing via proxy 1855s # Waiting for AddMatch to be processed 1855s # Step 2: adding subscription 1855s # Sender: org.gtk.Test.OwnedLater 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: (any) 1855s # String argument 0: (any) 1855s # Flags: 0 1855s # Subscribing via connection 1855s # Subscribing via proxy 1855s # Waiting for AddMatch to be processed 1855s # Step 3: emitting signal 1855s # Sender: attacker 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Step 4: emitting signal 1855s # Sender: attacker 1855s # Destination: subscriber :1.0 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Step 5: emitting signal 1855s # Sender: service 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Step 6: claiming bus name 1855s # Name: org.gtk.Test.OwnedLater 1855s # Owner: service 1855s # Step 7: emitting signal 1855s # Sender: service 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via connection 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 5 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via proxy 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 5 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via connection 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 7 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via proxy 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 7 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via connection 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 7 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via proxy 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 7 1855s # Received Finished signal from subscriber :1.0 1855s # Received Finished signal from service :1.1 1855s # Received Finished signal from service 2 :1.2 1855s # Received Finished signal from attacker :1.3 1855s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1855s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1855s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1855s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1855s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1855s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1855s # subscriber is :1.0 1855s # service is :1.1 1855s # service 2 is :1.2 1855s # attacker is :1.3 1855s # Waiting for AddMatch to be processed 1855s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1855s # Step 0: adding subscription 1855s # Sender: org.freedesktop.DBus 1855s # Path: /org/freedesktop/DBus 1855s # Interface: org.freedesktop.DBus 1855s # Member: (any) 1855s # String argument 0: (any) 1855s # Flags: 0 1855s # Subscribing via connection 1855s # Subscribing via proxy 1855s # Waiting for AddMatch to be processed 1855s # Step 1: emitting signal 1855s # Sender: attacker 1855s # Destination: (broadcast) 1855s # Path: /org/freedesktop/DBus 1855s # Interface: org.freedesktop.DBus 1855s # Member: NameOwnerChanged 1855s # String argument 0: would I lie to you? 1855s # Waiting for signal to reach message bus 1855s # Step 2: emitting signal 1855s # Sender: attacker 1855s # Destination: subscriber :1.0 1855s # Path: /org/freedesktop/DBus 1855s # Interface: org.freedesktop.DBus 1855s # Member: NameOwnerChanged 1855s # Waiting for signal to reach message bus 1855s # Step 3: claiming bus name 1855s # Name: org.gtk.Test.OwnedLater 1855s # Owner: service 1855s # Signal received from message bus org.freedesktop.DBus 1855s # Signal received from (unused) org.freedesktop.DBus via connection 1855s # Path: /org/freedesktop/DBus 1855s # Interface: org.freedesktop.DBus 1855s # Member: NameOwnerChanged 1855s # Signal received from message bus org.freedesktop.DBus 1855s # Signal received from (unused) org.freedesktop.DBus via proxy 1855s # Path: /org/freedesktop/DBus 1855s # Interface: org.freedesktop.DBus 1855s # Member: NameOwnerChanged 1855s # Received Finished signal from subscriber :1.0 1855s # Received Finished signal from service :1.1 1855s # Received Finished signal from service 2 :1.2 1855s # Received Finished signal from attacker :1.3 1855s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1855s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1855s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_5UIRX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1855s # subscriber is :1.0 1855s # service is :1.1 1855s # service 2 is :1.2 1855s # attacker is :1.3 1855s # Waiting for AddMatch to be processed 1855s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1855s # Step 0: claiming bus name 1855s # Name: org.gtk.Test.AlreadyOwned 1855s # Owner: service 1855s # Step 1: adding subscription 1855s # Sender: org.gtk.Test.AlreadyOwned 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: (any) 1855s # String argument 0: (any) 1855s # Flags: 0 1855s # Subscribing via connection 1855s # Immediately unsubscribing 1855s # Subscribing via proxy 1855s # Waiting for AddMatch to be processed 1855s # Step 2: emitting signal 1855s # Sender: service 1855s # Destination: (broadcast) 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Waiting for signal to reach message bus 1855s # Signal received from service :1.1 1855s # Signal received from service :1.1 via proxy 1855s # Path: /org/gtk/GDBus/ExampleInterface 1855s # Interface: org.gtk.GDBus.ExampleInterface 1855s # Member: Foo 1855s # Argument 0: (not a string) 1855s # Sent in step: 2 1855s # Received Finished signal from subscriber :1.0 1855s # Received Finished signal from service :1.1 1855s # Received Finished signal from service 2 :1.2 1855s # Received Finished signal from attacker :1.3 1855s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1855s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1855s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1855s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1855s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1855s # End of parallel tests 1855s # End of subscribe tests 1855s # End of gdbus tests 1855s ok - glib/gdbus-subscribe.test 1855s # Running test: glib/testing.test 1855s TAP version 14 1855s # random seed: R02S6bcc2cbcb30cb9204dde28b4ce1ae3f9 1855s 1..1 1855s # Start of assert tests 1855s ok 1 /assert/finalize_object 1855s # Start of finalize_object tests 1855s # Start of subprocess tests 1855s # End of subprocess tests 1855s # End of finalize_object tests 1855s # End of assert tests 1855s ok - glib/testing.test 1855s # Running test: glib/gvariant.test 1855s TAP version 14 1855s # random seed: R02S193cce146ad257498bd545e2a9e8eff0 1855s 1..64 1855s # Start of gvariant tests 1855s ok 1 /gvariant/type 1855s ok 2 /gvariant/typeinfo 1855s ok 3 /gvariant/string 1855s ok 4 /gvariant/utf8 1855s ok 5 /gvariant/containers 1855s ok 6 /gvariant/format-strings 1855s ok 7 /gvariant/invalid-varargs 1855s ok 8 /gvariant/varargs 1855s ok 9 /gvariant/valist 1855s ok 10 /gvariant/builder-memory 1855s ok 11 /gvariant/hashing 1855s ok 12 /gvariant/byteswap 1855s # Executing: glib/gvariant.test 1856s ok 13 /gvariant/parser 1856s # slow test /gvariant/parser executed in 0.99 secs 1856s ok 14 /gvariant/parse-failures 1856s ok 15 /gvariant/parse-positional 1856s ok 16 /gvariant/floating 1856s ok 17 /gvariant/bytestring 1856s ok 18 /gvariant/lookup-value 1856s ok 19 /gvariant/lookup 1856s ok 20 /gvariant/compare 1856s ok 21 /gvariant/equal 1856s ok 22 /gvariant/fixed-array 1856s ok 23 /gvariant/check-format-string 1856s ok 24 /gvariant/checksum-basic 1856s ok 25 /gvariant/checksum-nested 1856s ok 26 /gvariant/gbytes 1856s ok 27 /gvariant/print-context 1856s ok 28 /gvariant/error-quark 1856s ok 29 /gvariant/stack-builder-init 1856s ok 30 /gvariant/stack-dict-init 1856s ok 31 /gvariant/unaligned-construction 1856s # Start of type tests 1856s # Start of string-scan tests 1856s # Start of recursion tests 1856s ok 32 /gvariant/type/string-scan/recursion/tuple 1856s ok 33 /gvariant/type/string-scan/recursion/array 1856s # End of recursion tests 1856s # End of string-scan tests 1856s # End of type tests 1856s # Start of serialiser tests 1856s ok 34 /gvariant/serialiser/maybe 1856s ok 35 /gvariant/serialiser/array 1856s ok 36 /gvariant/serialiser/tuple 1856s ok 37 /gvariant/serialiser/variant 1856s ok 38 /gvariant/serialiser/strings 1857s ok 39 /gvariant/serialiser/byteswap 1857s # slow test /gvariant/serialiser/byteswap executed in 0.57 secs 1857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1857s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1857s ok 40 /gvariant/serialiser/children 1857s # Start of fuzz tests 1858s ok 41 /gvariant/serialiser/fuzz/1% 1858s # slow test /gvariant/serialiser/fuzz/1% executed in 0.67 secs 1859s ok 42 /gvariant/serialiser/fuzz/5% 1859s # slow test /gvariant/serialiser/fuzz/5% executed in 1.03 secs 1859s ok 43 /gvariant/serialiser/fuzz/9% 1859s ok 44 /gvariant/serialiser/fuzz/13% 1859s ok 45 /gvariant/serialiser/fuzz/17% 1859s # End of fuzz tests 1859s # End of serialiser tests 1859s # Start of varargs tests 1859s # Start of subprocess tests 1859s # End of subprocess tests 1859s # End of varargs tests 1859s # Start of byteswap tests 1859s # /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. 1859s ok 46 /gvariant/byteswap/non-normal-non-aligned 1859s # End of byteswap tests 1859s # Start of parser tests 1859s ok 47 /gvariant/parser/integer-bounds 1859s ok 48 /gvariant/parser/recursion 1859s # Start of recursion tests 1859s ok 49 /gvariant/parser/recursion/typedecls 1859s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1859s # Text form 0: @mmmu 5 1859s # Text form 1: @mmmas ['hello'] 1859s # Text form 2: @mmmu just just nothing 1859s # Text form 3: @mmmas just just nothing 1859s # Text form 4: @mmmu just nothing 1859s # Text form 5: @mmmas just nothing 1859s # Text form 6: @mmmu nothing 1859s # Text form 7: @mmmas nothing 1859s ok 50 /gvariant/parser/recursion/maybes 1859s # End of recursion tests 1859s # End of parser tests 1859s # Start of parse tests 1859s # Start of subprocess tests 1859s # End of subprocess tests 1859s # End of parse tests 1859s # Start of normal-checking tests 1859s ok 51 /gvariant/normal-checking/tuples 1859s ok 52 /gvariant/normal-checking/array-offsets 1859s ok 53 /gvariant/normal-checking/array-offsets2 1859s ok 54 /gvariant/normal-checking/tuple-offsets 1859s ok 55 /gvariant/normal-checking/tuple-offsets2 1859s ok 56 /gvariant/normal-checking/tuple-offsets3 1859s ok 57 /gvariant/normal-checking/tuple-offsets4 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1859s ok 58 /gvariant/normal-checking/tuple-offsets5 1859s ok 59 /gvariant/normal-checking/empty-object-path 1859s # Start of array-offsets tests 1859s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1859s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1859s # End of array-offsets tests 1859s # Start of tuple-offsets tests 1859s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1859s # End of tuple-offsets tests 1859s # End of normal-checking tests 1859s # Start of recursion-limits tests 1859s ok 63 /gvariant/recursion-limits/variant-in-variant 1859s ok 64 /gvariant/recursion-limits/array-in-variant 1859s # End of recursion-limits tests 1859s # End of gvariant tests 1859s ok - glib/gvariant.test 1859s # Running test: glib/utils-c-11.test 1859s TAP version 14 1859s # random seed: R02S677e73ff6bccd971df842be7c0f1258f 1859s 1..40 1859s # Start of utils tests 1859s ok 1 /utils/language-names 1859s ok 2 /utils/locale-variants 1859s ok 3 /utils/version 1859s ok 4 /utils/appname 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1859s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1859s ok 5 /utils/prgname-thread-safety 1859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1859s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1859s ok 6 /utils/tmpdir 1859s ok 7 /utils/basic_bits 1859s ok 8 /utils/bits 1859s ok 9 /utils/swap 1859s ok 10 /utils/find-program 1859s ok 11 /utils/find-program-for-path 1859s ok 12 /utils/debug 1859s ok 13 /utils/codeset 1859s ok 14 /utils/codeset2 1859s ok 15 /utils/console-charset 1859s ok 16 /utils/gettext 1859s ok 17 /utils/username 1859s ok 18 /utils/realname 1859s ok 19 /utils/hostname 1859s ok 20 /utils/xdgdirs 1859s ok 21 /utils/specialdir 1859s # NAME: Ubuntu 1859s ok 22 /utils/os-info 1859s ok 23 /utils/clear-pointer 1859s ok 24 /utils/clear-pointer-cast 1859s ok 25 /utils/take-pointer 1859s ok 26 /utils/clear-source 1859s ok 27 /utils/misc-mem 1859s # /utils/aligned-mem summary: Aligned memory allocator 1859s # Alignment must not be zero 1859s # Alignment must be a power of two 1859s # Alignment must be a multiple of sizeof(void*) 1859s ok 28 /utils/aligned-mem 1859s # /utils/free-sized summary: Check that g_free_sized() works 1859s ok 29 /utils/free-sized 1859s ok 30 /utils/nullify 1859s ok 31 /utils/atexit 1859s ok 32 /utils/check-setuid 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1859s ok 33 /utils/int-limits 1859s ok 34 /utils/clear-list 1859s ok 35 /utils/clear-slist 1859s # Start of specialdir tests 1859s ok 36 /utils/specialdir/desktop 1859s # End of specialdir tests 1859s # Start of clear-pointer tests 1859s ok 37 /utils/clear-pointer/side-effects 1859s # End of clear-pointer tests 1859s # Start of aligned-mem tests 1859s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1859s ok 38 /utils/aligned-mem/alignment 1859s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1859s ok 39 /utils/aligned-mem/zeroed 1859s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1859s ok 40 /utils/aligned-mem/free-sized 1859s # Start of subprocess tests 1859s # End of subprocess tests 1859s # End of aligned-mem tests 1859s # End of utils tests 1859s ok - glib/utils-c-11.test 1859s # Running test: glib/memory-monitor-dbus.test 1859s TAP version 13 1859s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1859s 1..1 1859s ok - glib/memory-monitor-dbus.test 1859s # Running test: glib/type.test 1859s TAP version 14 1859s # random seed: R02Sed43b4689e3b50e89df00bc2e433425b 1859s 1..6 1859s # Start of type tests 1859s ok 1 /type/registration-serial 1859s ok 2 /type/interface-prerequisite 1859s ok 3 /type/interface-check 1859s ok 4 /type/next-base 1859s ok 5 /type/is-a 1859s # Invalid types can?t be queried. 1859s # Unclassed types can?t be queried. 1859s ok 6 /type/query 1859s # End of type tests 1859s ok - glib/type.test 1859s # Running test: glib/deprecated-properties.test 1859s TAP version 14 1859s # random seed: R02S229af1dbd6f2a9f74e60a23b03874f48 1859s 1..3 1859s # Start of deprecated-properties tests 1859s ok 1 /deprecated-properties/construct 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1859s ok 2 /deprecated-properties/default-construct 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1859s ok 3 /deprecated-properties/set 1859s # End of deprecated-properties tests 1859s ok - glib/deprecated-properties.test 1859s # Running test: glib/signalgroup.test 1859s TAP version 14 1859s # random seed: R02S8aa5570b9ad2a33aaad8d27d2ec83178 1859s 1..9 1859s # Start of GObject tests 1859s # Start of SignalGroup tests 1859s ok 1 /GObject/SignalGroup/invalid 1859s ok 2 /GObject/SignalGroup/simple 1859s ok 3 /GObject/SignalGroup/changing-target 1859s ok 4 /GObject/SignalGroup/blocking 1859s ok 5 /GObject/SignalGroup/weak-ref-target 1859s ok 6 /GObject/SignalGroup/connect-object 1859s ok 7 /GObject/SignalGroup/signal-parsing 1859s ok 8 /GObject/SignalGroup/properties 1859s ok 9 /GObject/SignalGroup/interface 1859s # Start of signal-parsing tests 1859s # End of signal-parsing tests 1859s # End of SignalGroup tests 1859s # End of GObject tests 1859s ok - glib/signalgroup.test 1859s # Running test: glib/gdbus-export.test 1859s TAP version 14 1859s # random seed: R02S9a50bda43c51c33893e3f8ccb143a81f 1859s 1..6 1859s # Start of gdbus tests 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration/.dirs/runtime 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s ok 1 /gdbus/object-registration 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J2CVX2/gdbus/object-registration-with-closures/.dirs/runtime 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s ok 2 /gdbus/object-registration-with-closures 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J2CVX2/gdbus/registered-interfaces/.dirs/runtime 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s ok 3 /gdbus/registered-interfaces 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J2CVX2/gdbus/async-properties/.dirs/runtime 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s ok 4 /gdbus/async-properties 1859s # Start of threaded-unregistration tests 1859s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/home 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/cache 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/system-config2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/config 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/system-data2 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/data 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/state 1859s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/object/.dirs/runtime 1859s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1859s # /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 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1859s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1860s # slow test /gdbus/threaded-unregistration/object executed in 1.08 secs 1860s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/home 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/cache 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/config 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/data 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/state 1860s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_J2CVX2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1860s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1860s # /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 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # Executing: glib/gdbus-export.test 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1860s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1861s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1861s # slow test /gdbus/threaded-unregistration/subtree executed in 1.04 secs 1861s # End of threaded-unregistration tests 1861s # End of gdbus tests 1861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1861s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1861s ok - glib/gdbus-export.test 1861s # Running test: glib/threadtests.test 1861s TAP version 14 1861s # random seed: R02Sbb22f004ac4c2c6bfbcc7bf892e01724 1861s 1..5 1861s # Start of GObject tests 1861s ok 1 /GObject/threaded-object-init 1862s ok 2 /GObject/threaded-weak-ref 1862s # slow test /GObject/threaded-weak-ref executed in 0.82 secs 1862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1862s # /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 1862s ok 3 /GObject/threaded-toggle-notify 1862s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1862s # Start of threaded-weak-ref tests 1862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1862s # /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. 1862s ok 5 /GObject/threaded-weak-ref/on-finalization 1862s # End of threaded-weak-ref tests 1862s # End of GObject tests 1862s ok - glib/threadtests.test 1862s # Running test: glib/gdbus-introspection.test 1862s TAP version 14 1862s # random seed: R02Sb22dfa78b4ed63300a71e0da9816341a 1862s 1..4 1862s # Start of gdbus tests 1862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/home 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/cache 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/system-config2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/config 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/system-data2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/data 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/state 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-parser/.dirs/runtime 1862s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1862s ok 1 /gdbus/introspection-parser 1862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/home 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/cache 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/system-config2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/config 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/system-data2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/data 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/state 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-generate/.dirs/runtime 1862s ok 2 /gdbus/introspection-generate 1862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/home 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/cache 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/system-config2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/config 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/system-data2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/data 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/state 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-default-direction/.dirs/runtime 1862s ok 3 /gdbus/introspection-default-direction 1862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/home 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/cache 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/system-config2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/config 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/system-data2 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/data 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/state 1862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_JYURX2/gdbus/introspection-extra-data/.dirs/runtime 1862s ok 4 /gdbus/introspection-extra-data 1862s # End of gdbus tests 1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1862s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1862s ok - glib/gdbus-introspection.test 1862s # Running test: glib/socket-address.test 1862s TAP version 14 1862s # random seed: R02S6f91d1f6d9a8268c1ed85f5e61d36a4b 1862s 1..2 1862s # Start of socket tests 1862s # Start of address tests 1862s # Start of unix tests 1862s ok 1 /socket/address/unix/construct 1862s ok 2 /socket/address/unix/to-string 1862s # End of unix tests 1862s # End of address tests 1862s # End of socket tests 1862s ok - glib/socket-address.test 1862s # Running test: glib/reference.test 1862s TAP version 14 1862s # random seed: R02S78c0c35e971cedad32c271ca01c525df 1862s 1..29 1862s # Start of type tests 1862s ok 1 /type/fundamentals 1862s ok 2 /type/qdata 1862s ok 3 /type/query 1862s ok 4 /type/class-private 1862s # End of type tests 1862s # Start of object tests 1862s ok 5 /object/clear 1862s ok 6 /object/clear-function 1862s ok 7 /object/set 1862s ok 8 /object/set-function 1862s ok 9 /object/value 1862s ok 10 /object/initially-unowned 1862s ok 11 /object/weak-pointer 1862s ok 12 /object/weak-ref 1862s ok 13 /object/toggle-ref 1862s ok 14 /object/qdata 1862s ok 15 /object/qdata2 1862s # Start of set tests 1862s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1862s ok 16 /object/set/derived-type 1862s # End of set tests 1862s # Start of weak-pointer tests 1862s ok 17 /object/weak-pointer/clear 1862s ok 18 /object/weak-pointer/clear-function 1862s ok 19 /object/weak-pointer/set 1862s ok 20 /object/weak-pointer/set-function 1862s # End of weak-pointer tests 1862s # Start of weak-ref tests 1862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1862s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1862s ok 21 /object/weak-ref/on-dispose 1862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1862s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1862s ok 22 /object/weak-ref/on-run-dispose 1862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1862s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1862s ok 23 /object/weak-ref/on-toggle-notify 1862s ok 24 /object/weak-ref/in-toggle-notify 1862s ok 25 /object/weak-ref/many 1862s # Start of concurrent tests 1862s ok 26 /object/weak-ref/concurrent/0 1862s ok 27 /object/weak-ref/concurrent/1 1862s # End of concurrent tests 1862s # End of weak-ref tests 1862s # Start of toggle-ref tests 1862s ok 28 /object/toggle-ref/ref-on-dispose 1862s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1862s # End of toggle-ref tests 1862s # End of object tests 1862s ok - glib/reference.test 1862s # Running test: glib/unix-fd.test 1862s TAP version 14 1862s # random seed: R02Sf813b510318367f66058a646c0917b65 1862s 1..2 1862s # Start of unix-fd tests 1862s ok 1 /unix-fd/fd-list 1862s ok 2 /unix-fd/scm 1862s # End of unix-fd tests 1862s ok - glib/unix-fd.test 1862s # Running test: glib/giomodule.test 1862s TAP version 14 1862s # random seed: R02S3ab3430df5ac7ec8140c276248287320 1862s 1..3 1862s # Start of giomodule tests 1862s ok 1 /giomodule/extension-point 1862s ok 2 /giomodule/module-scan-all 1862s ok 3 /giomodule/module-scan-all-with-scope 1862s # End of giomodule tests 1862s ok - glib/giomodule.test 1862s # Running test: glib/cond.test 1862s TAP version 14 1862s # random seed: R02S53b6de9bd54753ef53295e8d1d36b76f 1862s 1..4 1862s # Start of thread tests 1862s ok 1 /thread/cond1 1862s ok 2 /thread/cond2 1862s # Start of cond tests 1863s ok 3 /thread/cond/wait-until 1863s # slow test /thread/cond/wait-until executed in 1.02 secs 1863s # Start of wait-until tests 1863s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1865s ok 4 /thread/cond/wait-until/contended-and-interrupted 1865s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1865s # End of wait-until tests 1865s # End of cond tests 1865s # End of thread tests 1865s ok - glib/cond.test 1865s # Running test: glib/memory-monitor.test 1865s TAP version 14 1865s # random seed: R02Sdb7f5f3aaba7a271f41c43cebef3ee31 1865s 1..1 1865s # Start of memory-monitor tests 1865s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1865s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1865s ok 1 /memory-monitor/default 1865s # End of memory-monitor tests 1865s ok - glib/memory-monitor.test 1865s # Running test: glib/thumbnail-verification.test 1865s TAP version 14 1865s # random seed: R02Sfb40286e28b04db5054d1dd6f764781d 1865s 1..1 1865s # Start of png-thumbs tests 1865s ok 1 /png-thumbs/validity 1865s # End of png-thumbs tests 1865s ok - glib/thumbnail-verification.test 1865s # Running test: glib/sandbox.test 1865s TAP version 14 1865s # random seed: R02S1b8ea1eadbc8c1fd6566130deeba4430 1865s 1..4 1865s # Start of sandbox tests 1865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/home 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/cache 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_22X6X2/sandbox/none/.dirs/system-config2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/config 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_22X6X2/sandbox/none/.dirs/system-data2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/data 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/state 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_22X6X2/sandbox/none/.dirs/runtime 1865s ok 1 /sandbox/none 1865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/home 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/cache 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/system-config2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/config 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/system-data2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/data 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/state 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_22X6X2/sandbox/snap/.dirs/runtime 1865s # Created snap.yaml in /tmp/test_sandbox_22X6X2/snap/current/meta/snap.yaml 1865s ok 2 /sandbox/snap 1865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/home 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/cache 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/system-config2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/config 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/system-data2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/data 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/state 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_22X6X2/sandbox/classic-snap/.dirs/runtime 1865s # Created snap.yaml in /tmp/test_sandbox_22X6X2/snap/current/meta/snap.yaml 1865s ok 3 /sandbox/classic-snap 1865s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/home 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/cache 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/system-config2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/config 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/system-data2 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/data 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/state 1865s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/runtime 1865s # Creating .flatpak-info in /tmp/test_sandbox_22X6X2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1865s ok 4 /sandbox/flatpak 1865s # End of sandbox tests 1865s ok - glib/sandbox.test 1865s # Running test: glib/tls-interaction.test 1865s TAP version 14 1865s # random seed: R02S24b470e7cccafefadbe2f161c6830976 1865s 1..42 1865s # Start of tls-interaction tests 1865s # Start of ask-password tests 1865s # Start of invoke-with-loop tests 1865s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1865s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1865s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1865s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1865s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1865s # End of invoke-with-loop tests 1865s # Start of invoke-without-loop tests 1865s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1865s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1865s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1865s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1865s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1865s # End of invoke-without-loop tests 1865s # Start of invoke-in-loop tests 1865s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1865s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1865s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1865s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1865s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1865s # End of invoke-in-loop tests 1865s # Start of sync tests 1865s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1865s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1865s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1865s # End of sync tests 1865s # Start of async tests 1865s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1865s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1865s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1865s # End of async tests 1865s # End of ask-password tests 1865s # Start of request-certificate tests 1865s # Start of invoke-with-loop tests 1865s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1865s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1865s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1865s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1865s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1865s # End of invoke-with-loop tests 1865s # Start of invoke-without-loop tests 1865s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1865s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1865s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1865s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1865s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1865s # End of invoke-without-loop tests 1865s # Start of invoke-in-loop tests 1865s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1865s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1865s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1865s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1865s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1865s # End of invoke-in-loop tests 1865s # Start of sync tests 1865s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1865s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1865s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1865s # End of sync tests 1865s # Start of async tests 1865s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1865s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1865s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1865s # End of async tests 1865s # End of request-certificate tests 1865s # End of tls-interaction tests 1865s ok - glib/tls-interaction.test 1865s # Running test: glib/power-profile-monitor-portal.test 1865s TAP version 13 1865s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1865s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1865s 1..2 1865s ok - glib/power-profile-monitor-portal.test 1865s # Running test: glib/tls-database.test 1865s TAP version 14 1865s # random seed: R02S43808707b2011eea7b562e7b551d9f7a 1865s 1..1 1865s # Start of tls-backend tests 1865s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1865s ok 1 /tls-backend/set-default-database 1865s # End of tls-backend tests 1865s ok - glib/tls-database.test 1865s # Running test: glib/uri.test 1865s TAP version 14 1865s # random seed: R02Safd79be80df390a386f5a7ec8d97a463 1865s 1..24 1865s # Start of uri tests 1865s ok 1 /uri/file-to-uri 1865s ok 2 /uri/file-from-uri 1865s ok 3 /uri/file-roundtrip 1865s ok 4 /uri/list 1865s # Test 0: %2Babc %4F 1865s # Test 1: %2Babc %4F 1865s # Test 2: %00abc %4F 1865s # Test 3: /cursors/none.png 1865s # Test 4: /cursors%2fbad-subdir/none.png 1865s # Test 5: %0 1865s # Test 6: %ra 1865s # Test 7: %2r 1865s # Test 8: Timm B?der 1865s # Test 9: (null) 1865s ok 5 /uri/unescape-string 1865s ok 6 /uri/unescape-segment 1865s # Test 0: abcdefgABCDEFG._~ 1865s # Test 1: :+ \\?# 1865s # Test 2: a+b:c 1865s # Test 3: a+b:c\303\234 1865s # Test 4: \374;\322 1865s # Test 5: \303\261\303( 1865s ok 7 /uri/escape-string 1865s ok 8 /uri/escape-bytes 1865s ok 9 /uri/scheme 1865s ok 10 /uri/build 1865s ok 11 /uri/split 1865s ok 12 /uri/is_valid 1865s ok 13 /uri/to-string 1865s ok 14 /uri/join 1865s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1865s # Combination 0 1865s # Combination 1 1865s # Combination 2 1865s # Combination 3 1865s # Combination 4 1865s # Combination 5 1865s # Combination 6 1865s # Combination 7 1865s # Combination 8 1865s # Combination 9 1865s # Combination 10 1865s # Combination 11 1865s # Combination 12 1865s # Combination 13 1865s # Combination 14 1865s # Combination 15 1865s # Combination 16 1865s # Combination 17 1865s # Combination 18 1865s # Combination 19 1865s # Combination 20 1865s # Combination 21 1865s # Combination 22 1865s # Combination 23 1865s # Combination 24 1865s # Combination 25 1865s # Combination 26 1865s # Combination 27 1865s # Combination 28 1865s # Combination 29 1865s # Combination 30 1865s # Combination 31 1865s # Combination 32 1865s # Combination 33 1865s # Combination 34 1865s # Combination 35 1865s # Combination 36 1865s # Combination 37 1865s # Combination 38 1865s # Combination 39 1865s # Combination 40 1865s # Combination 41 1865s # Combination 42 1865s # Combination 43 1865s # Combination 44 1865s # Combination 45 1865s # Combination 46 1865s # Combination 47 1865s # Combination 48 1865s # Combination 49 1865s # Combination 50 1865s # Combination 51 1865s # Combination 52 1865s # Combination 53 1865s # Combination 54 1865s # Combination 55 1865s # Combination 56 1865s # Combination 57 1865s # Combination 58 1865s # Combination 59 1865s # Combination 60 1865s # Combination 61 1865s # Combination 62 1865s # Combination 63 1865s # Combination 64 1865s # Combination 65 1865s # Combination 66 1865s # Combination 67 1865s # Combination 68 1865s # Combination 69 1865s # Combination 70 1865s # Combination 71 1865s # Combination 72 1865s # Combination 73 1865s # Combination 74 1865s # Combination 75 1865s # Combination 76 1865s # Combination 77 1865s # Combination 78 1865s # Combination 79 1865s # Combination 80 1865s # Combination 81 1865s # Combination 82 1865s # Combination 83 1865s # Combination 84 1865s # Combination 85 1865s # Combination 86 1865s # Combination 87 1865s # Combination 88 1865s # Combination 89 1865s # Combination 90 1865s # Combination 91 1865s # Combination 92 1865s # Combination 93 1865s # Combination 94 1865s # Combination 95 1865s # Combination 96 1865s # Combination 97 1865s # Combination 98 1865s # Combination 99 1865s # Combination 100 1865s # Combination 101 1865s # Combination 102 1865s # Combination 103 1865s # Combination 104 1865s # Combination 105 1865s # Combination 106 1865s # Combination 107 1865s # Combination 108 1865s # Combination 109 1865s # Combination 110 1865s # Combination 111 1865s # Combination 112 1865s # Combination 113 1865s # Combination 114 1865s # Combination 115 1865s # Combination 116 1865s # Combination 117 1865s # Combination 118 1865s # Combination 119 1865s # Combination 120 1865s # Combination 121 1865s # Combination 122 1865s # Combination 123 1865s # Combination 124 1865s # Combination 125 1865s # Combination 126 1865s # Combination 127 1865s # Combination 128 1865s # Combination 129 1865s # Combination 130 1865s # Combination 131 1865s # Combination 132 1865s # Combination 133 1865s # Combination 134 1865s # Combination 135 1865s # Combination 136 1865s # Combination 137 1865s # Combination 138 1865s # Combination 139 1865s # Combination 140 1865s # Combination 141 1865s # Combination 142 1865s # Combination 143 1865s # Combination 144 1865s # Combination 145 1865s # Combination 146 1865s # Combination 147 1865s # Combination 148 1865s # Combination 149 1865s # Combination 150 1865s # Combination 151 1865s # Combination 152 1865s # Combination 153 1865s # Combination 154 1865s # Combination 155 1865s # Combination 156 1865s # Combination 157 1865s # Combination 158 1865s # Combination 159 1865s # Combination 160 1865s # Combination 161 1865s # Combination 162 1865s # Combination 163 1865s # Combination 164 1865s # Combination 165 1865s # Combination 166 1865s # Combination 167 1865s # Combination 168 1865s # Combination 169 1865s # Combination 170 1865s # Combination 171 1865s # Combination 172 1865s # Combination 173 1865s # Combination 174 1865s # Combination 175 1865s # Combination 176 1865s # Combination 177 1865s # Combination 178 1865s # Combination 179 1865s # Combination 180 1865s # Combination 181 1865s # Combination 182 1865s # Combination 183 1865s # Combination 184 1865s # Combination 185 1865s # Combination 186 1865s # Combination 187 1865s # Combination 188 1865s # Combination 189 1865s # Combination 190 1865s # Combination 191 1865s # Combination 192 1865s # Combination 193 1865s # Combination 194 1865s # Combination 195 1865s # Combination 196 1865s # Combination 197 1865s # Combination 198 1865s # Combination 199 1865s # Combination 200 1865s # Combination 201 1865s # Combination 202 1865s # Combination 203 1865s # Combination 204 1865s # Combination 205 1865s # Combination 206 1865s # Combination 207 1865s # Combination 208 1865s # Combination 209 1865s # Combination 210 1865s # Combination 211 1865s # Combination 212 1865s # Combination 213 1865s # Combination 214 1865s # Combination 215 1865s # Combination 216 1865s # Combination 217 1865s # Combination 218 1865s # Combination 219 1865s # Combination 220 1865s # Combination 221 1865s # Combination 222 1865s # Combination 223 1865s # Combination 224 1865s # Combination 225 1865s # Combination 226 1865s # Combination 227 1865s # Combination 228 1865s # Combination 229 1865s # Combination 230 1865s # Combination 231 1865s # Combination 232 1865s # Combination 233 1865s # Combination 234 1865s # Combination 235 1865s # Combination 236 1865s # Combination 237 1865s # Combination 238 1865s # Combination 239 1865s # Combination 240 1865s # Combination 241 1865s # Combination 242 1865s # Combination 243 1865s # Combination 244 1865s # Combination 245 1865s # Combination 246 1865s # Combination 247 1865s # Combination 248 1865s # Combination 249 1865s # Combination 250 1865s # Combination 251 1865s # Combination 252 1865s # Combination 253 1865s # Combination 254 1865s # Combination 255 1865s ok 15 /uri/join-split-round-trip 1865s ok 16 /uri/normalize 1865s # Start of unescape-bytes tests 1865s # Test 0: %00%00 1865s # Test 1: /cursors/none.png 1865s # Test 2: /cursors%2fbad-subdir/none.png 1865s # Test 3: %% 1865s # Test 4: % 1865s ok 17 /uri/unescape-bytes/nul-terminated 1865s # Test 0: %00%00 1865s # Test 1: /cursors/none.png 1865s # Test 2: /cursors%2fbad-subdir/none.png 1865s # Test 3: %% 1865s # Test 4: % 1865s ok 18 /uri/unescape-bytes/length 1865s # End of unescape-bytes tests 1865s # Start of parsing tests 1865s # Test 0: foo: 1865s # Test 1: file:/dev/null 1865s # Test 2: file:///dev/null 1865s # Test 3: ftp://user@host/path 1865s # Test 4: ftp://user@host:9999/path 1865s # Test 5: ftp://user:password@host/path 1865s # Test 6: ftp://user:password@host:9999/path 1865s # Test 7: ftp://user:password@host 1865s # Test 8: http://us%65r@host 1865s # Test 9: http://us%40r@host 1865s # Test 10: http://us%3ar@host 1865s # Test 11: http://us%2fr@host 1865s # Test 12: http://us%3fr@host 1865s # Test 13: http://host?query 1865s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1865s # 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 1865s # Test 16: http://space/%20 1865s # Test 17: http://delims/%3C%3E%23%25%22 1865s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1865s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1865s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1865s # Test 21: http://[3ffe:2a00:100:7031::1] 1865s # Test 22: http://[1080::8:800:200C:417A]/foo 1865s # Test 23: http://[::192.9.5.5]/ipng 1865s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1865s # Test 25: http://[2010:836B:4179::836B:4179] 1865s # Test 26: http://host/path with spaces 1865s # Test 27: http://host/path 1865s # Test 28: http://host/path 1865s # Test 29: http://host 1865s # Test 30: http://host:999 1865s # Test 31: http://host/pa 1865s # th 1865s # Test 32: http: 1865s # //host/path 1865s # Test 33: http:// host/path 1865s # Test 34: http://host/path? 1865s # Test 35: http://host/path# 1865s # Test 36: http://host/path% 1865s # Test 37: http://h%ost/path 1865s # Test 38: http://host/path%% 1865s # Test 39: http://host/path%%% 1865s # Test 40: http://host/path%/x/ 1865s # Test 41: http://host/path%0x/ 1865s # Test 42: http://host/path%ax 1865s # Test 43: http://host/p?th/ 1865s # Test 44: HTTP://////////////// 1865s # Test 45: http://@host 1865s # Test 46: http://:@host 1865s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1865s # Test 48: http://example.com/.. 1865s # Test 49: foo0://host/path 1865s # Test 50: f0.o://host/path 1865s # Test 51: http++://host/path 1865s # Test 52: http-ish://host/path 1865s # Test 53: http://[fe80::dead:beef%]/ 1865s # Test 54: http://[fe80::dead:beef%em1]/ 1865s # Test 55: http://[fe80::dead:beef%em1]/ 1865s # Test 56: http://[fe80::dead:beef%25em1]/ 1865s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1865s # Test 58: http://[fe80::dead:beef%25em%31]/ 1865s # Test 59: http://[fe80::dead:beef%10]/ 1865s # Test 60: http://[fe80::dead:beef%10]/ 1865s # Test 61: http://[fe80::dead:beef%25]/ 1865s # Test 62: http://[fe80::dead:beef%25]/ 1865s # Test 63: http://[192.168.0.1%25em1]/ 1865s # Test 64: http://[fe80::dead:beef%2em1]/ 1865s # Test 65: http://[fe80::dead:beef%2em1]/ 1865s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1865s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1865s # Test 68: http://xn--mixed-?p/ 1865s ok 19 /uri/parsing/absolute 1865s ok 20 /uri/parsing/relative 1865s # End of parsing tests 1865s # Start of iter-params tests 1865s # URI 0: p1=foo&p2=bar;p3=baz 1865s # URI 1: p1=foo&p2=bar 1865s # URI 2: p1=foo&&P1=bar 1865s # URI 3: %00=foo 1865s # URI 4: p1=%00 1865s # URI 5: p1=foo&p1=bar 1865s # URI 6: p1=foo&P1=bar 1865s # URI 7: =% 1865s # URI 8: = 1865s # URI 9: foo 1865s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1865s ok 21 /uri/iter-params/nul-terminated 1865s # URI 0: p1=foo&p2=bar;p3=baz 1865s # URI 1: p1=foo&p2=bar 1865s # URI 2: p1=foo&&P1=bar 1865s # URI 3: %00=foo 1865s # URI 4: p1=%00 1865s # URI 5: p1=foo&p1=bar 1865s # URI 6: p1=foo&P1=bar 1865s # URI 7: =% 1865s # URI 8: = 1865s # URI 9: foo 1865s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1865s ok 22 /uri/iter-params/length 1865s # End of iter-params tests 1865s # Start of parse-params tests 1865s # URI 0: p1=foo&p2=bar;p3=baz 1865s # URI 1: p1=foo&p2=bar 1865s # URI 2: p1=foo&&P1=bar 1865s # URI 3: %00=foo 1865s # URI 4: p1=%00 1865s # URI 5: p1=foo&p1=bar 1865s # URI 6: p1=foo&P1=bar 1865s # URI 7: =% 1865s # URI 8: = 1865s # URI 9: foo 1865s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1865s ok 23 /uri/parse-params/nul-terminated 1865s # URI 0: p1=foo&p2=bar;p3=baz 1865s # URI 1: p1=foo&p2=bar 1865s # URI 2: p1=foo&&P1=bar 1865s # URI 3: %00=foo 1865s # URI 4: p1=%00 1865s # URI 5: p1=foo&p1=bar 1865s # URI 6: p1=foo&P1=bar 1865s # URI 7: =% 1865s # URI 8: = 1865s # URI 9: foo 1865s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1865s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1865s ok 24 /uri/parse-params/length 1865s # End of parse-params tests 1865s # End of uri tests 1865s ok - glib/uri.test 1865s # Running test: glib/markup.test 1865s TAP version 14 1865s # random seed: R02S8a676b7cb37fd83cf22d279c354d957a 1865s 1..1 1865s # Start of markup tests 1865s ok 1 /markup/stack 1865s # End of markup tests 1865s ok - glib/markup.test 1865s # Running test: glib/accumulator.test 1865s TAP version 14 1865s # random seed: R02S15cb6e7aacb8172bce1d59e7615a11ac 1865s 1..1 1865s # Start of gobject tests 1865s ok 1 /gobject/accumulator 1865s # End of gobject tests 1865s ok - glib/accumulator.test 1865s # Running test: glib/properties-refcount2.test 1865s TAP version 14 1865s # random seed: R02S4f9f0ddda7ac0f4ad9cef6adc29e2d35 1865s 1..1 1865s # Start of gobject tests 1865s # Start of refcount tests 1865s # init 0x595f30ead770 1865s # 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # Executing: glib/properties-refcount2.test 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1865s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # . 1866s # dispose 0x595f30ead770! 1866s # 1866s ok 1 /gobject/refcount/properties-2 1866s # slow test /gobject/refcount/properties-2 executed in 0.67 secs 1866s # End of refcount tests 1866s # End of gobject tests 1866s ok - glib/properties-refcount2.test 1866s # Running test: glib/tls-certificate.test 1866s TAP version 14 1866s # random seed: R02S718b771ee922b1192cf086fb457743fe 1866s 1..19 1866s # Start of tls-certificate tests 1866s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1866s ok 1 /tls-certificate/pem-parser 1866s ok 2 /tls-certificate/pem-parser-handles-chain 1866s ok 3 /tls-certificate/from_file 1866s ok 4 /tls-certificate/from_files 1866s ok 5 /tls-certificate/from_files_crlf 1866s ok 6 /tls-certificate/from_files_pkcs8 1866s ok 7 /tls-certificate/from_files_pkcs8enc 1866s ok 8 /tls-certificate/list_from_file 1866s ok 9 /tls-certificate/pkcs11-uri 1866s ok 10 /tls-certificate/pkcs11-uri-unsupported 1866s ok 11 /tls-certificate/from_pkcs12 1866s ok 12 /tls-certificate/from_pkcs12_file 1866s ok 13 /tls-certificate/not-valid-before 1866s ok 14 /tls-certificate/not-valid-after 1866s ok 15 /tls-certificate/subject-name 1866s ok 16 /tls-certificate/issuer-name 1866s ok 17 /tls-certificate/dns-names 1866s ok 18 /tls-certificate/ip-addresses 1866s ok 19 /tls-certificate/pem-parser-no-sentinel 1866s # End of tls-certificate tests 1866s ok - glib/tls-certificate.test 1866s # Running test: glib/atomic.test 1866s TAP version 14 1866s # random seed: R02Scbcd3ac2995fd19628574766bca6eea6 1866s 1..2 1866s # Start of atomic tests 1866s ok 1 /atomic/types 1866s ok 2 /atomic/threaded 1866s # End of atomic tests 1866s ok - glib/atomic.test 1866s # Running test: glib/gobject-private.test 1866s TAP version 14 1866s # random seed: R02S83a2d8bba38ab33fb5441254644130b5 1866s 1..3 1866s # Start of private tests 1866s ok 1 /private/instance 1866s ok 2 /private/derived-instance 1866s ok 3 /private/mixed-derived-instance 1866s # End of private tests 1866s ok - glib/gobject-private.test 1866s # Running test: glib/application-command-line.test 1866s TAP version 14 1866s # random seed: R02S2b36c06207bb9ba098163f12ec9d5c60 1866s 1..1 1866s # Start of application-command-line tests 1866s ok 1 /application-command-line/basic-properties 1866s # End of application-command-line tests 1866s ok - glib/application-command-line.test 1866s # Running test: glib/signals.test 1866s TAP version 14 1866s # random seed: R02S522992956f2aa7caa26dda72e1f59b9f 1866s 1..31 1866s # Start of gobject tests 1866s # Start of signals tests 1866s ok 1 /gobject/signals/all-types 1866s ok 2 /gobject/signals/variant 1866s ok 3 /gobject/signals/destroy-target-object 1866s ok 4 /gobject/signals/generic-marshaller-1 1866s ok 5 /gobject/signals/generic-marshaller-2 1866s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1866s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1866s ok 8 /gobject/signals/generic-marshaller-int-return 1866s ok 9 /gobject/signals/generic-marshaller-uint-return 1866s ok 10 /gobject/signals/generic-marshaller-interface-return 1866s ok 11 /gobject/signals/custom-marshaller 1866s ok 12 /gobject/signals/connect 1866s ok 13 /gobject/signals/emission-hook 1866s ok 14 /gobject/signals/emitv 1866s ok 15 /gobject/signals/accumulator 1866s # Signal: accumulator-class-first 1866s # Signal: accumulator-class-last 1866s # Signal: accumulator-class-cleanup 1866s # Signal: accumulator-class-first-last 1866s # Signal: accumulator-class-first-last-cleanup 1866s # Signal: accumulator-class-last-cleanup 1866s ok 16 /gobject/signals/accumulator-class 1866s ok 17 /gobject/signals/introspection 1866s ok 18 /gobject/signals/block-handler 1866s ok 19 /gobject/signals/stop-emission 1866s ok 20 /gobject/signals/invocation-hint 1866s ok 21 /gobject/signals/test-disconnection-wrong-object 1866s ok 22 /gobject/signals/clear-signal-handler 1866s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1866s ok 23 /gobject/signals/lookup 1866s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1866s ok 24 /gobject/signals/parse-name 1866s ok 25 /gobject/signals/is-valid-name 1866s ok 26 /gobject/signals/weak-ref-disconnect 1866s # Start of lookup tests 1866s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1866s ok 27 /gobject/signals/lookup/invalid 1866s # End of lookup tests 1866s # Start of parse-name tests 1866s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1866s # Parser input: 1866s # Parser input: 7zip 1866s # Parser input: invalid:signal 1866s # Parser input: simple-detailed:: 1866s # Parser input: simple-detailed: 1866s # Parser input: : 1866s # Parser input: :: 1866s # Parser input: :valid-detail 1866s # Parser input: ::valid-detail 1866s ok 28 /gobject/signals/parse-name/invalid 1866s # End of parse-name tests 1866s # Start of invalid-name tests 1866s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1866s ok 29 /gobject/signals/invalid-name/colon 1866s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1866s ok 30 /gobject/signals/invalid-name/first-char 1866s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1866s ok 31 /gobject/signals/invalid-name/empty 1866s # End of invalid-name tests 1866s # End of signals tests 1866s # End of gobject tests 1866s ok - glib/signals.test 1866s # Running test: glib/task.test 1866s TAP version 14 1866s # random seed: R02Sbfaf0f42eef6a6858eb9d31ee8de3927 1866s 1..36 1866s # Start of gtask tests 1866s ok 1 /gtask/basic 1866s ok 2 /gtask/error 1866s ok 3 /gtask/error-literal 1866s ok 4 /gtask/error-literal-from-variable 1866s ok 5 /gtask/return-from-same-iteration 1866s ok 6 /gtask/return-from-toplevel 1866s ok 7 /gtask/return-from-anon-thread 1866s ok 8 /gtask/return-from-wrong-thread 1866s ok 9 /gtask/no-callback 1866s ok 10 /gtask/report-error 1866s ok 11 /gtask/priority 1866s ok 12 /gtask/name 1866s ok 13 /gtask/static-name 1866s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1866s ok 14 /gtask/asynchronous-cancellation 1866s ok 15 /gtask/check-cancellable 1866s ok 16 /gtask/return-if-cancelled 1866s ok 17 /gtask/run-in-thread 1866s ok 18 /gtask/run-in-thread-sync 1866s ok 19 /gtask/run-in-thread-priority 1866s ok 20 /gtask/run-in-thread-nested 1867s ok 21 /gtask/run-in-thread-overflow 1867s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1867s # GLib-GIO-DEBUG: GTask 0x6319f316dc30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1867s # GLib-GIO-DEBUG: GTask 0x6319f316de10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1867s ok 22 /gtask/return-on-cancel 1867s # GLib-GIO-DEBUG: GTask 0x6319f31e6150 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1867s # GLib-GIO-DEBUG: GTask 0x6319f31e8160 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1867s ok 23 /gtask/return-on-cancel-sync 1867s ok 24 /gtask/return-on-cancel-atomic 1867s ok 25 /gtask/return-pointer 1867s ok 26 /gtask/return-value 1867s ok 27 /gtask/return-prefixed-error 1867s ok 28 /gtask/object-keepalive 1867s ok 29 /gtask/legacy-error 1867s ok 30 /gtask/finalize-without-return 1867s # Start of name tests 1867s ok 31 /gtask/name/macro-wrapper 1867s # End of name tests 1867s # Start of return tests 1867s ok 32 /gtask/return/error-first 1867s ok 33 /gtask/return/value-first 1867s # Start of in-idle tests 1867s ok 34 /gtask/return/in-idle/error-first 1867s ok 35 /gtask/return/in-idle/value-first 1867s # End of in-idle tests 1867s # End of return tests 1867s # Start of attach-source tests 1867s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1867s ok 36 /gtask/attach-source/set-name 1867s # End of attach-source tests 1867s # End of gtask tests 1867s ok - glib/task.test 1867s # Running test: glib/utils-c-17.test 1867s TAP version 14 1867s # random seed: R02Scd14cdb993151e9471dff45f73e6f45b 1867s 1..40 1867s # Start of utils tests 1867s ok 1 /utils/language-names 1867s ok 2 /utils/locale-variants 1867s ok 3 /utils/version 1867s ok 4 /utils/appname 1867s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1867s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1867s ok 5 /utils/prgname-thread-safety 1867s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1867s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1867s ok 6 /utils/tmpdir 1867s ok 7 /utils/basic_bits 1867s ok 8 /utils/bits 1867s ok 9 /utils/swap 1867s ok 10 /utils/find-program 1867s ok 11 /utils/find-program-for-path 1867s ok 12 /utils/debug 1867s ok 13 /utils/codeset 1867s ok 14 /utils/codeset2 1867s ok 15 /utils/console-charset 1867s ok 16 /utils/gettext 1867s ok 17 /utils/username 1867s ok 18 /utils/realname 1867s ok 19 /utils/hostname 1867s ok 20 /utils/xdgdirs 1867s ok 21 /utils/specialdir 1867s # NAME: Ubuntu 1867s ok 22 /utils/os-info 1867s ok 23 /utils/clear-pointer 1867s ok 24 /utils/clear-pointer-cast 1867s ok 25 /utils/take-pointer 1867s ok 26 /utils/clear-source 1867s ok 27 /utils/misc-mem 1867s # /utils/aligned-mem summary: Aligned memory allocator 1867s # Alignment must not be zero 1867s # Alignment must be a power of two 1867s # Alignment must be a multiple of sizeof(void*) 1867s ok 28 /utils/aligned-mem 1867s # /utils/free-sized summary: Check that g_free_sized() works 1867s ok 29 /utils/free-sized 1867s ok 30 /utils/nullify 1867s ok 31 /utils/atexit 1867s ok 32 /utils/check-setuid 1867s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1867s ok 33 /utils/int-limits 1867s ok 34 /utils/clear-list 1867s ok 35 /utils/clear-slist 1867s # Start of specialdir tests 1867s ok 36 /utils/specialdir/desktop 1867s # End of specialdir tests 1867s # Start of clear-pointer tests 1867s ok 37 /utils/clear-pointer/side-effects 1867s # End of clear-pointer tests 1867s # Start of aligned-mem tests 1867s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1867s ok 38 /utils/aligned-mem/alignment 1867s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1867s ok 39 /utils/aligned-mem/zeroed 1867s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1867s ok 40 /utils/aligned-mem/free-sized 1867s # Start of subprocess tests 1867s # End of subprocess tests 1867s # End of aligned-mem tests 1867s # End of utils tests 1867s ok - glib/utils-c-17.test 1867s # Running test: glib/gdbus-message.test 1867s TAP version 14 1867s # random seed: R02Sf06c75b844a114fa1f99d00cd8d1efe3 1867s 1..3 1867s # Start of gdbus tests 1867s # Start of message tests 1867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/home 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/cache 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/system-config2 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/config 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/system-data2 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/data 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/state 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MXSXX2/gdbus/message/lock/.dirs/runtime 1867s ok 1 /gdbus/message/lock 1867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/home 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/cache 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/system-config2 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/config 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/system-data2 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/data 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/state 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MXSXX2/gdbus/message/copy/.dirs/runtime 1867s ok 2 /gdbus/message/copy 1867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/home 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/cache 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/system-config2 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/config 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/system-data2 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/data 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/state 1867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_MXSXX2/gdbus/message/bytes-needed/.dirs/runtime 1867s # Vector: 0 1867s # Vector: 1 1867s # Vector: 2 1867s # Vector: 3 1867s # Vector: 4 1867s # Vector: 5 1867s ok 3 /gdbus/message/bytes-needed 1867s # End of message tests 1867s # End of gdbus tests 1867s ok - glib/gdbus-message.test 1867s # Running test: glib/codegen.py.test 1867s TAP version 13 1867s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1867s # tmpdir: /tmp/tmp_ot04i1r 1867s # codegen: /usr/bin/gdbus-codegen 1867s # /tmp/tmp_ot04i1r/tmpxn8p2cep.xml: 1867s # 1867s # 1867s # 1867s # 1867s # 1867s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_ot04i1r/tmpxn8p2cep.xml', '--output', '-', '--header'] 1867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1867s # Output: /* 1867s # * This file is generated by gdbus-codegen, do not modify it. 1867s # * 1867s # * The license of this code is the same as for the D-Bus interface description 1867s # * it was derived from. Note that it links to GLib, so must comply with the 1867s # * LGPL linking clauses. 1867s # */ 1867s # 1867s # #ifndef __STDOUT__ 1867s # #define __STDOUT__ 1867s # 1867s # #include 1867s # 1867s # G_BEGIN_DECLS 1867s # 1867s # 1867s # /* ------------------------------------------------------------------------ */ 1867s # /* Declarations for org.project.UsefulInterface */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1867s # 1867s # struct _OrgProjectUsefulInterface; 1867s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1867s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1867s # 1867s # struct _OrgProjectUsefulInterfaceIface 1867s # { 1867s # GTypeInterface parent_iface; 1867s # 1867s # gboolean (*handle_useful_method) ( 1867s # OrgProjectUsefulInterface *object, 1867s # GDBusMethodInvocation *invocation); 1867s # 1867s # }; 1867s # 1867s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1867s # 1867s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1867s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1867s # 1867s # 1867s # /* D-Bus method call completion functions: */ 1867s # void org_project_useful_interface_complete_useful_method ( 1867s # OrgProjectUsefulInterface *object, 1867s # GDBusMethodInvocation *invocation); 1867s # 1867s # 1867s # 1867s # /* D-Bus method calls: */ 1867s # void org_project_useful_interface_call_useful_method ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # 1867s # gboolean org_project_useful_interface_call_useful_method_finish ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # 1867s # gboolean org_project_useful_interface_call_useful_method_sync ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # 1867s # 1867s # /* ---- */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1867s # 1867s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1867s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1867s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1867s # 1867s # struct _OrgProjectUsefulInterfaceProxy 1867s # { 1867s # /*< private >*/ 1867s # GDBusProxy parent_instance; 1867s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1867s # }; 1867s # 1867s # struct _OrgProjectUsefulInterfaceProxyClass 1867s # { 1867s # GDBusProxyClass parent_class; 1867s # }; 1867s # 1867s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1867s # 1867s # #if GLIB_CHECK_VERSION(2, 44, 0) 1867s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1867s # #endif 1867s # 1867s # void org_project_useful_interface_proxy_new ( 1867s # GDBusConnection *connection, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1867s # GDBusConnection *connection, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # void org_project_useful_interface_proxy_new_for_bus ( 1867s # GBusType bus_type, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1867s # GBusType bus_type, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # 1867s # /* ---- */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1867s # 1867s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1867s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1867s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1867s # 1867s # struct _OrgProjectUsefulInterfaceSkeleton 1867s # { 1867s # /*< private >*/ 1867s # GDBusInterfaceSkeleton parent_instance; 1867s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1867s # }; 1867s # 1867s # struct _OrgProjectUsefulInterfaceSkeletonClass 1867s # { 1867s # GDBusInterfaceSkeletonClass parent_class; 1867s # }; 1867s # 1867s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1867s # 1867s # #if GLIB_CHECK_VERSION(2, 44, 0) 1867s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1867s # #endif 1867s # 1867s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1867s # 1867s # 1867s # G_END_DECLS 1867s # 1867s # #endif /* __STDOUT__ */ 1867s # /tmp/tmp_ot04i1r/tmp85mjbj_p.xml: 1867s # 1867s # 1867s # 1867s # 1867s # 1867s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_ot04i1r/tmp85mjbj_p.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1867s # Output: /* 1867s # * This file is generated by gdbus-codegen, do not modify it. 1867s # * 1867s # * The license of this code is the same as for the D-Bus interface description 1867s # * it was derived from. Note that it links to GLib, so must comply with the 1867s # * LGPL linking clauses. 1867s # */ 1867s # 1867s # #ifndef __STDOUT__ 1867s # #define __STDOUT__ 1867s # 1867s # #include 1867s # 1867s # G_BEGIN_DECLS 1867s # 1867s # 1867s # /* ------------------------------------------------------------------------ */ 1867s # /* Declarations for org.project.UsefulInterface */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1867s # 1867s # struct _OrgProjectUsefulInterface; 1867s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1867s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1867s # 1867s # struct _OrgProjectUsefulInterfaceIface 1867s # { 1867s # GTypeInterface parent_iface; 1867s # 1867s # gboolean (*handle_useful_method) ( 1867s # OrgProjectUsefulInterface *object, 1867s # GDBusMethodInvocation *invocation); 1867s # 1867s # }; 1867s # 1867s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1867s # 1867s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1867s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1867s # 1867s # 1867s # /* D-Bus method call completion functions: */ 1867s # void org_project_useful_interface_complete_useful_method ( 1867s # OrgProjectUsefulInterface *object, 1867s # GDBusMethodInvocation *invocation); 1867s # 1867s # 1867s # 1867s # /* D-Bus method calls: */ 1867s # void org_project_useful_interface_call_useful_method ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # 1867s # gboolean org_project_useful_interface_call_useful_method_finish ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # 1867s # gboolean org_project_useful_interface_call_useful_method_sync ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # 1867s # 1867s # /* ---- */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1867s # 1867s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1867s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1867s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1867s # 1867s # struct _OrgProjectUsefulInterfaceProxy 1867s # { 1867s # /*< private >*/ 1867s # GDBusProxy parent_instance; 1867s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1867s # }; 1867s # 1867s # struct _OrgProjectUsefulInterfaceProxyClass 1867s # { 1867s # GDBusProxyClass parent_class; 1867s # }; 1867s # 1867s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1867s # 1867s # #if GLIB_CHECK_VERSION(2, 44, 0) 1867s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1867s # #endif 1867s # 1867s # void org_project_useful_interface_proxy_new ( 1867s # GDBusConnection *connection, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1867s # GDBusConnection *connection, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # void org_project_useful_interface_proxy_new_for_bus ( 1867s # GBusType bus_type, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1867s # GBusType bus_type, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # 1867s # /* ---- */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1867s # 1867s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1867s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1867s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1867s # 1867s # struct _OrgProjectUsefulInterfaceSkeleton 1867s # { 1867s # /*< private >*/ 1867s # GDBusInterfaceSkeleton parent_instance; 1867s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1867s # }; 1867s # 1867s # struct _OrgProjectUsefulInterfaceSkeletonClass 1867s # { 1867s # GDBusInterfaceSkeletonClass parent_class; 1867s # }; 1867s # 1867s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1867s # 1867s # #if GLIB_CHECK_VERSION(2, 44, 0) 1867s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1867s # #endif 1867s # 1867s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1867s # 1867s # 1867s # G_END_DECLS 1867s # 1867s # #endif /* __STDOUT__ */ 1867s # /tmp/tmp_ot04i1r/tmpynmtfkui.xml: 1867s # 1867s # 1867s # 1867s # 1867s # 1867s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_ot04i1r/tmpynmtfkui.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1867s # Output: /* 1867s # * This file is generated by gdbus-codegen, do not modify it. 1867s # * 1867s # * The license of this code is the same as for the D-Bus interface description 1867s # * it was derived from. Note that it links to GLib, so must comply with the 1867s # * LGPL linking clauses. 1867s # */ 1867s # 1867s # #ifndef __STDOUT__ 1867s # #define __STDOUT__ 1867s # 1867s # #include 1867s # 1867s # G_BEGIN_DECLS 1867s # 1867s # 1867s # /* ------------------------------------------------------------------------ */ 1867s # /* Declarations for org.project.UsefulInterface */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1867s # 1867s # struct _OrgProjectUsefulInterface; 1867s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1867s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1867s # 1867s # struct _OrgProjectUsefulInterfaceIface 1867s # { 1867s # GTypeInterface parent_iface; 1867s # 1867s # gboolean (*handle_useful_method) ( 1867s # OrgProjectUsefulInterface *object, 1867s # GDBusMethodInvocation *invocation); 1867s # 1867s # }; 1867s # 1867s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1867s # 1867s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1867s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1867s # 1867s # 1867s # /* D-Bus method call completion functions: */ 1867s # void org_project_useful_interface_complete_useful_method ( 1867s # OrgProjectUsefulInterface *object, 1867s # GDBusMethodInvocation *invocation); 1867s # 1867s # 1867s # 1867s # /* D-Bus method calls: */ 1867s # void org_project_useful_interface_call_useful_method ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GDBusCallFlags call_flags, 1867s # gint timeout_msec, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # 1867s # gboolean org_project_useful_interface_call_useful_method_finish ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # 1867s # gboolean org_project_useful_interface_call_useful_method_sync ( 1867s # OrgProjectUsefulInterface *proxy, 1867s # GDBusCallFlags call_flags, 1867s # gint timeout_msec, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # 1867s # 1867s # /* ---- */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1867s # 1867s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1867s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1867s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1867s # 1867s # struct _OrgProjectUsefulInterfaceProxy 1867s # { 1867s # /*< private >*/ 1867s # GDBusProxy parent_instance; 1867s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1867s # }; 1867s # 1867s # struct _OrgProjectUsefulInterfaceProxyClass 1867s # { 1867s # GDBusProxyClass parent_class; 1867s # }; 1867s # 1867s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1867s # 1867s # #if GLIB_CHECK_VERSION(2, 44, 0) 1867s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1867s # #endif 1867s # 1867s # void org_project_useful_interface_proxy_new ( 1867s # GDBusConnection *connection, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1867s # GDBusConnection *connection, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # void org_project_useful_interface_proxy_new_for_bus ( 1867s # GBusType bus_type, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GAsyncReadyCallback callback, 1867s # gpointer user_data); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1867s # GAsyncResult *res, 1867s # GError **error); 1867s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1867s # GBusType bus_type, 1867s # GDBusProxyFlags flags, 1867s # const gchar *name, 1867s # const gchar *object_path, 1867s # GCancellable *cancellable, 1867s # GError **error); 1867s # 1867s # 1867s # /* ---- */ 1867s # 1867s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1867s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1867s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1867s # 1867s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1867s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1867s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1867s # 1867s # struct _OrgProjectUsefulInterfaceSkeleton 1867s # { 1867s # /*< private >*/ 1867s # GDBusInterfaceSkeleton parent_instance; 1867s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1867s # }; 1867s # 1867s # struct _OrgProjectUsefulInterfaceSkeletonClass 1867s # { 1867s # GDBusInterfaceSkeletonClass parent_class; 1867s # }; 1867s # 1867s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1867s # 1867s # #if GLIB_CHECK_VERSION(2, 44, 0) 1867s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1867s # #endif 1867s # 1867s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1867s # 1867s # 1867s # G_END_DECLS 1867s # 1867s # #endif /* __STDOUT__ */ 1868s ok 2 __main__.TestCodegen.test_dbus_types 1868s # tmpdir: /tmp/tmptdw41vui 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmptdw41vui/tmp9b190d7j.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp9b190d7j.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmp477qdfcj.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp477qdfcj.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmpju51ymlt.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmpju51ymlt.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmp8kiqdx64.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp8kiqdx64.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmpd9_ucfku.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmpd9_ucfku.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmpb78aykma.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmpb78aykma.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmphomtybj3.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmphomtybj3.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmp12bzc4ps.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp12bzc4ps.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmpi0rsnray.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmpi0rsnray.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmphi34ox6j.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmphi34ox6j.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmp1lzz0rni.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp1lzz0rni.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmp7fnhoygr.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp7fnhoygr.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmpjphbmo7u.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmpjphbmo7u.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # /tmp/tmptdw41vui/tmpwobsch61.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmpwobsch61.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifdef HAVE_CONFIG_H 1868s # # include "config.h" 1868s # #endif 1868s # 1868s # #include 1868s # #ifdef G_OS_UNIX 1868s # # include 1868s # #endif 1868s # 1868s # #ifdef G_ENABLE_DEBUG 1868s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1868s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1868s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1868s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1868s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1868s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1868s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1868s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1868s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1868s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1868s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1868s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1868s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1868s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1868s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1868s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1868s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1868s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1868s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1868s # #else /* !G_ENABLE_DEBUG */ 1868s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1868s # * Do not access GValues directly in your code. Instead, use the 1868s # * g_value_get_*() functions 1868s # */ 1868s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1868s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1868s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1868s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1868s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1868s # #endif /* !G_ENABLE_DEBUG */ 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusArgInfo parent_struct; 1868s # gboolean use_gvariant; 1868s # } _ExtendedGDBusArgInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusMethodInfo parent_struct; 1868s # const gchar *signal_name; 1868s # gboolean pass_fdlist; 1868s # } _ExtendedGDBusMethodInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusSignalInfo parent_struct; 1868s # const gchar *signal_name; 1868s # } _ExtendedGDBusSignalInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusPropertyInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # guint use_gvariant : 1; 1868s # guint emits_changed_signal : 1; 1868s # } _ExtendedGDBusPropertyInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusInterfaceInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # } _ExtendedGDBusInterfaceInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # guint prop_id; 1868s # GValue orig_value; /* the value before the change */ 1868s # } ChangedProperty; 1868s # 1868s # static void 1868s # _changed_property_free (ChangedProperty *data) 1868s # { 1868s # g_value_unset (&data->orig_value); 1868s # g_free (data); 1868s # } 1868s # 1868s # static gboolean 1868s # _g_strv_equal0 (gchar **a, gchar **b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # guint n; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # if (g_strv_length (a) != g_strv_length (b)) 1868s # goto out; 1868s # for (n = 0; a[n] != NULL; n++) 1868s # if (g_strcmp0 (a[n], b[n]) != 0) 1868s # goto out; 1868s # ret = TRUE; 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _g_variant_equal0 (GVariant *a, GVariant *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # ret = g_variant_equal (a, b); 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # G_GNUC_UNUSED static gboolean 1868s # _g_value_equal (const GValue *a, const GValue *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1868s # switch (G_VALUE_TYPE (a)) 1868s # { 1868s # case G_TYPE_BOOLEAN: 1868s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1868s # break; 1868s # case G_TYPE_UCHAR: 1868s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1868s # break; 1868s # case G_TYPE_INT: 1868s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1868s # break; 1868s # case G_TYPE_UINT: 1868s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1868s # break; 1868s # case G_TYPE_INT64: 1868s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1868s # break; 1868s # case G_TYPE_UINT64: 1868s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1868s # break; 1868s # case G_TYPE_DOUBLE: 1868s # { 1868s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1868s # gdouble da = g_value_get_double (a); 1868s # gdouble db = g_value_get_double (b); 1868s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1868s # } 1868s # break; 1868s # case G_TYPE_STRING: 1868s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1868s # break; 1868s # case G_TYPE_VARIANT: 1868s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1868s # break; 1868s # default: 1868s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1868s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1868s # else 1868s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1868s # break; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ 1868s # * Code for interface GoodTypes 1868s # * ------------------------------------------------------------------------ 1868s # */ 1868s # 1868s # /** 1868s # * SECTION:GoodTypes 1868s # * @title: GoodTypes 1868s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1868s # * 1868s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1868s # */ 1868s # 1868s # /* ---- Introspection data for GoodTypes ---- */ 1868s # 1868s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "GoodPropertyType", 1868s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1868s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1868s # NULL 1868s # }, 1868s # "good-property-type", 1868s # FALSE, 1868s # TRUE 1868s # }; 1868s # 1868s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1868s # { 1868s # &_good_types_property_info_good_property_type.parent_struct, 1868s # NULL 1868s # }; 1868s # 1868s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "GoodTypes", 1868s # NULL, 1868s # NULL, 1868s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1868s # NULL 1868s # }, 1868s # "good-types", 1868s # }; 1868s # 1868s # 1868s # /** 1868s # * good_types_interface_info: 1868s # * 1868s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1868s # * 1868s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1868s # */ 1868s # GDBusInterfaceInfo * 1868s # good_types_interface_info (void) 1868s # { 1868s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1868s # } 1868s # 1868s # /** 1868s # * good_types_override_properties: 1868s # * @klass: The class structure for a #GObject derived class. 1868s # * @property_id_begin: The property id to assign to the first overridden property. 1868s # * 1868s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1868s # * The properties are overridden in the order they are defined. 1868s # * 1868s # * Returns: The last property id. 1868s # */ 1868s # guint 1868s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1868s # { 1868s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1868s # return property_id_begin - 1; 1868s # } 1868s # 1868s # 1868s # 1868s # /** 1868s # * GoodTypes: 1868s # * 1868s # * Abstract interface type for the D-Bus interface GoodTypes. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesIface: 1868s # * @parent_iface: The parent interface. 1868s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1868s # * 1868s # * Virtual table for the D-Bus interface GoodTypes. 1868s # */ 1868s # 1868s # typedef GoodTypesIface GoodTypesInterface; 1868s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1868s # 1868s # static void 1868s # good_types_default_init (GoodTypesIface *iface) 1868s # { 1868s # /* GObject properties for D-Bus properties: */ 1868s # /** 1868s # * GoodTypes:good-property-type: 1868s # * 1868s # * Represents the D-Bus property "GoodPropertyType". 1868s # * 1868s # * 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. 1868s # */ 1868s # g_object_interface_install_property (iface, 1868s # 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)); 1868s # } 1868s # 1868s # /** 1868s # * good_types_get_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * 1868s # * Gets the value of the "GoodPropertyType" D-Bus property. 1868s # * 1868s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1868s # * 1868s # * 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. 1868s # * 1868s # * 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. 1868s # */ 1868s # GVariant * 1868s # good_types_get_good_property_type (GoodTypes *object) 1868s # { 1868s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1868s # 1868s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1868s # } 1868s # 1868s # /** 1868s # * good_types_dup_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * 1868s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1868s # * 1868s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1868s # * 1868s # * 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(). 1868s # */ 1868s # GVariant * 1868s # good_types_dup_good_property_type (GoodTypes *object) 1868s # { 1868s # GVariant *value; 1868s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1868s # return value; 1868s # } 1868s # 1868s # /** 1868s # * good_types_set_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * @value: The value to set. 1868s # * 1868s # * Sets the "GoodPropertyType" D-Bus property to @value. 1868s # * 1868s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1868s # */ 1868s # void 1868s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1868s # { 1868s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * GoodTypesProxy: 1868s # * 1868s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesProxyClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for GoodTypesProxy. 1868s # */ 1868s # 1868s # struct _GoodTypesProxyPrivate 1868s # { 1868s # GData *qdata; 1868s # }; 1868s # 1868s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1868s # G_ADD_PRIVATE (GoodTypesProxy) 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # good_types_proxy_finalize (GObject *object) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1868s # g_datalist_clear (&proxy->priv->qdata); 1868s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_get_property (GObject *object, 1868s # guint prop_id, 1868s # GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *variant; 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1868s # if (info->use_gvariant) 1868s # { 1868s # g_value_set_variant (value, variant); 1868s # } 1868s # else 1868s # { 1868s # if (variant != NULL) 1868s # g_dbus_gvariant_to_gvalue (variant, value); 1868s # } 1868s # if (variant != NULL) 1868s # g_variant_unref (variant); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1868s # GAsyncResult *res, 1868s # gpointer user_data) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info = user_data; 1868s # GError *error; 1868s # GVariant *_ret; 1868s # error = NULL; 1868s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1868s # if (!_ret) 1868s # { 1868s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1868s # info->parent_struct.name, 1868s # error->message, g_quark_to_string (error->domain), error->code); 1868s # g_error_free (error); 1868s # } 1868s # else 1868s # { 1868s # g_variant_unref (_ret); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_set_property (GObject *object, 1868s # guint prop_id, 1868s # const GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *variant; 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1868s # "org.freedesktop.DBus.Properties.Set", 1868s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1868s # g_variant_unref (variant); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_g_signal (GDBusProxy *proxy, 1868s # const gchar *sender_name G_GNUC_UNUSED, 1868s # const gchar *signal_name, 1868s # GVariant *parameters) 1868s # { 1868s # _ExtendedGDBusSignalInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # gsize n; 1868s # guint signal_id; 1868s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1868s # if (info == NULL) 1868s # return; 1868s # num_params = g_variant_n_children (parameters); 1868s # paramv = g_new0 (GValue, num_params + 1); 1868s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1868s # g_value_set_object (¶mv[0], proxy); 1868s # g_variant_iter_init (&iter, parameters); 1868s # n = 1; 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1868s # g_signal_emitv (paramv, signal_id, 0, NULL); 1868s # for (n = 0; n < num_params + 1; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1868s # GVariant *changed_properties, 1868s # const gchar *const *invalidated_properties) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1868s # guint n; 1868s # const gchar *key; 1868s # GVariantIter *iter; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # g_variant_get (changed_properties, "a{sv}", &iter); 1868s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1868s # g_datalist_remove_data (&proxy->priv->qdata, key); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # g_variant_iter_free (iter); 1868s # for (n = 0; invalidated_properties[n] != NULL; n++) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1868s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_proxy_get_good_property_type (GoodTypes *object) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1868s # GVariant *variant; 1868s # GVariant *value = NULL; 1868s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1868s # value = variant; 1868s # if (variant != NULL) 1868s # g_variant_unref (variant); 1868s # return value; 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_init (GoodTypesProxy *proxy) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1868s # #else 1868s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1868s # #endif 1868s # 1868s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusProxyClass *proxy_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = good_types_proxy_finalize; 1868s # gobject_class->get_property = good_types_proxy_get_property; 1868s # gobject_class->set_property = good_types_proxy_set_property; 1868s # 1868s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1868s # proxy_class->g_signal = good_types_proxy_g_signal; 1868s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1868s # 1868s # good_types_override_properties (gobject_class, 1); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_iface_init (GoodTypesIface *iface) 1868s # { 1868s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1868s # * 1868s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # good_types_proxy_new ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with good_types_proxy_new(). 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_sync: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_sync ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1868s # * 1868s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # good_types_proxy_new_for_bus ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_for_bus_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus_sync: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_for_bus_sync ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * GoodTypesSkeleton: 1868s # * 1868s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesSkeletonClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for GoodTypesSkeleton. 1868s # */ 1868s # 1868s # struct _GoodTypesSkeletonPrivate 1868s # { 1868s # GValue *properties; 1868s # GList *changed_properties; 1868s # GSource *changed_properties_idle_source; 1868s # GMainContext *context; 1868s # GMutex lock; 1868s # }; 1868s # 1868s # static void 1868s # _good_types_skeleton_handle_method_call ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name, 1868s # const gchar *method_name, 1868s # GVariant *parameters, 1868s # GDBusMethodInvocation *invocation, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # _ExtendedGDBusMethodInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # guint num_extra; 1868s # gsize n; 1868s # guint signal_id; 1868s # GValue return_value = G_VALUE_INIT; 1868s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1868s # g_assert (info != NULL); 1868s # num_params = g_variant_n_children (parameters); 1868s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1868s # n = 0; 1868s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1868s # g_value_set_object (¶mv[n++], skeleton); 1868s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1868s # g_value_set_object (¶mv[n++], invocation); 1868s # if (info->pass_fdlist) 1868s # { 1868s # #ifdef G_OS_UNIX 1868s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1868s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1868s # #else 1868s # g_assert_not_reached (); 1868s # #endif 1868s # } 1868s # g_variant_iter_init (&iter, parameters); 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1868s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1868s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1868s # if (!g_value_get_boolean (&return_value)) 1868s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1868s # g_value_unset (&return_value); 1868s # for (n = 0; n < num_params + num_extra; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static GVariant * 1868s # _good_types_skeleton_handle_get_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *ret; 1868s # ret = NULL; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # g_value_init (&value, pspec->value_type); 1868s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_value_unset (&value); 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _good_types_skeleton_handle_set_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GVariant *variant, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # gboolean ret; 1868s # ret = FALSE; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # if (info->use_gvariant) 1868s # g_value_set_variant (&value, variant); 1868s # else 1868s # g_dbus_gvariant_to_gvalue (variant, &value); 1868s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # g_value_unset (&value); 1868s # ret = TRUE; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1868s # { 1868s # _good_types_skeleton_handle_method_call, 1868s # _good_types_skeleton_handle_get_property, 1868s # _good_types_skeleton_handle_set_property, 1868s # {NULL} 1868s # }; 1868s # 1868s # static GDBusInterfaceInfo * 1868s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return good_types_interface_info (); 1868s # } 1868s # 1868s # static GDBusInterfaceVTable * 1868s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1868s # 1868s # GVariantBuilder builder; 1868s # guint n; 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # if (_good_types_interface_info.parent_struct.properties == NULL) 1868s # goto out; 1868s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1868s # { 1868s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1868s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1868s # { 1868s # GVariant *value; 1868s # 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); 1868s # if (value != NULL) 1868s # { 1868s # g_variant_take_ref (value); 1868s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1868s # g_variant_unref (value); 1868s # } 1868s # } 1868s # } 1868s # out: 1868s # return g_variant_builder_end (&builder); 1868s # } 1868s # 1868s # static gboolean _good_types_emit_changed (gpointer user_data); 1868s # 1868s # static void 1868s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1868s # gboolean emit_changed = FALSE; 1868s # 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # { 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # skeleton->priv->changed_properties_idle_source = NULL; 1868s # emit_changed = TRUE; 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # 1868s # if (emit_changed) 1868s # _good_types_emit_changed (skeleton); 1868s # } 1868s # 1868s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_ADD_PRIVATE (GoodTypesSkeleton) 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # good_types_skeleton_finalize (GObject *object) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # guint n; 1868s # for (n = 0; n < 1; n++) 1868s # g_value_unset (&skeleton->priv->properties[n]); 1868s # g_free (skeleton->priv->properties); 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # g_main_context_unref (skeleton->priv->context); 1868s # g_mutex_clear (&skeleton->priv->lock); 1868s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_get_property (GObject *object, 1868s # guint prop_id, 1868s # GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # } 1868s # 1868s # static gboolean 1868s # _good_types_emit_changed (gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GList *l; 1868s # GVariantBuilder builder; 1868s # GVariantBuilder invalidated_builder; 1868s # guint num_changes; 1868s # 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1868s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1868s # { 1868s # ChangedProperty *cp = l->data; 1868s # GVariant *variant; 1868s # const GValue *cur_value; 1868s # 1868s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1868s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1868s # { 1868s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1868s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1868s # g_variant_unref (variant); 1868s # num_changes++; 1868s # } 1868s # } 1868s # if (num_changes > 0) 1868s # { 1868s # GList *connections, *ll; 1868s # GVariant *signal_variant; 1868s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1868s # &builder, &invalidated_builder)); 1868s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1868s # for (ll = connections; ll != NULL; ll = ll->next) 1868s # { 1868s # GDBusConnection *connection = ll->data; 1868s # 1868s # g_dbus_connection_emit_signal (connection, 1868s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1868s # "org.freedesktop.DBus.Properties", 1868s # "PropertiesChanged", 1868s # signal_variant, 1868s # NULL); 1868s # } 1868s # g_variant_unref (signal_variant); 1868s # g_list_free_full (connections, g_object_unref); 1868s # } 1868s # else 1868s # { 1868s # g_variant_builder_clear (&builder); 1868s # g_variant_builder_clear (&invalidated_builder); 1868s # } 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # skeleton->priv->changed_properties = NULL; 1868s # skeleton->priv->changed_properties_idle_source = NULL; 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # return FALSE; 1868s # } 1868s # 1868s # static void 1868s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1868s # { 1868s # ChangedProperty *cp; 1868s # GList *l; 1868s # cp = NULL; 1868s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1868s # { 1868s # ChangedProperty *i_cp = l->data; 1868s # if (i_cp->info == info) 1868s # { 1868s # cp = i_cp; 1868s # break; 1868s # } 1868s # } 1868s # if (cp == NULL) 1868s # { 1868s # cp = g_new0 (ChangedProperty, 1); 1868s # cp->prop_id = prop_id; 1868s # cp->info = info; 1868s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1868s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1868s # g_value_copy (orig_value, &cp->orig_value); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_notify (GObject *object, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # if (skeleton->priv->changed_properties != NULL && 1868s # skeleton->priv->changed_properties_idle_source == NULL) 1868s # { 1868s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1868s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1868s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1868s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1868s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1868s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_set_property (GObject *object, 1868s # guint prop_id, 1868s # const GValue *value, 1868s # GParamSpec *pspec) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_object_freeze_notify (object); 1868s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1868s # { 1868s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1868s # info->emits_changed_signal) 1868s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1868s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1868s # g_object_notify_by_pspec (object, pspec); 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # g_object_thaw_notify (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1868s # #else 1868s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1868s # #endif 1868s # 1868s # g_mutex_init (&skeleton->priv->lock); 1868s # skeleton->priv->context = g_main_context_ref_thread_default (); 1868s # skeleton->priv->properties = g_new0 (GValue, 1); 1868s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # GVariant *value; 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # return value; 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusInterfaceSkeletonClass *skeleton_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = good_types_skeleton_finalize; 1868s # gobject_class->get_property = good_types_skeleton_get_property; 1868s # gobject_class->set_property = good_types_skeleton_set_property; 1868s # gobject_class->notify = good_types_skeleton_notify; 1868s # 1868s # 1868s # good_types_override_properties (gobject_class, 1); 1868s # 1868s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1868s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1868s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1868s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1868s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1868s # { 1868s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1868s # } 1868s # 1868s # /** 1868s # * good_types_skeleton_new: 1868s # * 1868s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1868s # */ 1868s # GoodTypes * 1868s # good_types_skeleton_new (void) 1868s # { 1868s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1868s # } 1868s # /tmp/tmptdw41vui/tmp_pscr7qk.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp_pscr7qk.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifdef HAVE_CONFIG_H 1868s # # include "config.h" 1868s # #endif 1868s # 1868s # #include 1868s # #ifdef G_OS_UNIX 1868s # # include 1868s # #endif 1868s # 1868s # #ifdef G_ENABLE_DEBUG 1868s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1868s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1868s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1868s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1868s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1868s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1868s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1868s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1868s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1868s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1868s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1868s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1868s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1868s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1868s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1868s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1868s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1868s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1868s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1868s # #else /* !G_ENABLE_DEBUG */ 1868s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1868s # * Do not access GValues directly in your code. Instead, use the 1868s # * g_value_get_*() functions 1868s # */ 1868s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1868s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1868s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1868s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1868s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1868s # #endif /* !G_ENABLE_DEBUG */ 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusArgInfo parent_struct; 1868s # gboolean use_gvariant; 1868s # } _ExtendedGDBusArgInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusMethodInfo parent_struct; 1868s # const gchar *signal_name; 1868s # gboolean pass_fdlist; 1868s # } _ExtendedGDBusMethodInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusSignalInfo parent_struct; 1868s # const gchar *signal_name; 1868s # } _ExtendedGDBusSignalInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusPropertyInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # guint use_gvariant : 1; 1868s # guint emits_changed_signal : 1; 1868s # } _ExtendedGDBusPropertyInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusInterfaceInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # } _ExtendedGDBusInterfaceInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # guint prop_id; 1868s # GValue orig_value; /* the value before the change */ 1868s # } ChangedProperty; 1868s # 1868s # static void 1868s # _changed_property_free (ChangedProperty *data) 1868s # { 1868s # g_value_unset (&data->orig_value); 1868s # g_free (data); 1868s # } 1868s # 1868s # static gboolean 1868s # _g_strv_equal0 (gchar **a, gchar **b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # guint n; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # if (g_strv_length (a) != g_strv_length (b)) 1868s # goto out; 1868s # for (n = 0; a[n] != NULL; n++) 1868s # if (g_strcmp0 (a[n], b[n]) != 0) 1868s # goto out; 1868s # ret = TRUE; 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _g_variant_equal0 (GVariant *a, GVariant *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # ret = g_variant_equal (a, b); 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # G_GNUC_UNUSED static gboolean 1868s # _g_value_equal (const GValue *a, const GValue *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1868s # switch (G_VALUE_TYPE (a)) 1868s # { 1868s # case G_TYPE_BOOLEAN: 1868s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1868s # break; 1868s # case G_TYPE_UCHAR: 1868s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1868s # break; 1868s # case G_TYPE_INT: 1868s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1868s # break; 1868s # case G_TYPE_UINT: 1868s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1868s # break; 1868s # case G_TYPE_INT64: 1868s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1868s # break; 1868s # case G_TYPE_UINT64: 1868s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1868s # break; 1868s # case G_TYPE_DOUBLE: 1868s # { 1868s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1868s # gdouble da = g_value_get_double (a); 1868s # gdouble db = g_value_get_double (b); 1868s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1868s # } 1868s # break; 1868s # case G_TYPE_STRING: 1868s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1868s # break; 1868s # case G_TYPE_VARIANT: 1868s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1868s # break; 1868s # default: 1868s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1868s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1868s # else 1868s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1868s # break; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ 1868s # * Code for interface GoodTypes 1868s # * ------------------------------------------------------------------------ 1868s # */ 1868s # 1868s # /** 1868s # * SECTION:GoodTypes 1868s # * @title: GoodTypes 1868s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1868s # * 1868s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1868s # */ 1868s # 1868s # /* ---- Introspection data for GoodTypes ---- */ 1868s # 1868s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "GoodPropertyType", 1868s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1868s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1868s # NULL 1868s # }, 1868s # "good-property-type", 1868s # FALSE, 1868s # TRUE 1868s # }; 1868s # 1868s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1868s # { 1868s # &_good_types_property_info_good_property_type.parent_struct, 1868s # NULL 1868s # }; 1868s # 1868s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "GoodTypes", 1868s # NULL, 1868s # NULL, 1868s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1868s # NULL 1868s # }, 1868s # "good-types", 1868s # }; 1868s # 1868s # 1868s # /** 1868s # * good_types_interface_info: 1868s # * 1868s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1868s # * 1868s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1868s # */ 1868s # GDBusInterfaceInfo * 1868s # good_types_interface_info (void) 1868s # { 1868s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1868s # } 1868s # 1868s # /** 1868s # * good_types_override_properties: 1868s # * @klass: The class structure for a #GObject derived class. 1868s # * @property_id_begin: The property id to assign to the first overridden property. 1868s # * 1868s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1868s # * The properties are overridden in the order they are defined. 1868s # * 1868s # * Returns: The last property id. 1868s # */ 1868s # guint 1868s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1868s # { 1868s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1868s # return property_id_begin - 1; 1868s # } 1868s # 1868s # 1868s # 1868s # /** 1868s # * GoodTypes: 1868s # * 1868s # * Abstract interface type for the D-Bus interface GoodTypes. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesIface: 1868s # * @parent_iface: The parent interface. 1868s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1868s # * 1868s # * Virtual table for the D-Bus interface GoodTypes. 1868s # */ 1868s # 1868s # typedef GoodTypesIface GoodTypesInterface; 1868s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1868s # 1868s # static void 1868s # good_types_default_init (GoodTypesIface *iface) 1868s # { 1868s # /* GObject properties for D-Bus properties: */ 1868s # /** 1868s # * GoodTypes:good-property-type: 1868s # * 1868s # * Represents the D-Bus property "GoodPropertyType". 1868s # * 1868s # * 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. 1868s # */ 1868s # g_object_interface_install_property (iface, 1868s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1868s # } 1868s # 1868s # /** 1868s # * good_types_get_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * 1868s # * Gets the value of the "GoodPropertyType" D-Bus property. 1868s # * 1868s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1868s # * 1868s # * 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. 1868s # * 1868s # * 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. 1868s # */ 1868s # GVariant * 1868s # good_types_get_good_property_type (GoodTypes *object) 1868s # { 1868s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1868s # 1868s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1868s # } 1868s # 1868s # /** 1868s # * good_types_dup_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * 1868s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1868s # * 1868s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1868s # * 1868s # * 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(). 1868s # */ 1868s # GVariant * 1868s # good_types_dup_good_property_type (GoodTypes *object) 1868s # { 1868s # GVariant *value; 1868s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1868s # return value; 1868s # } 1868s # 1868s # /** 1868s # * good_types_set_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * @value: The value to set. 1868s # * 1868s # * Sets the "GoodPropertyType" D-Bus property to @value. 1868s # * 1868s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1868s # */ 1868s # void 1868s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1868s # { 1868s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * GoodTypesProxy: 1868s # * 1868s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesProxyClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for GoodTypesProxy. 1868s # */ 1868s # 1868s # struct _GoodTypesProxyPrivate 1868s # { 1868s # GData *qdata; 1868s # }; 1868s # 1868s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1868s # G_ADD_PRIVATE (GoodTypesProxy) 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # good_types_proxy_finalize (GObject *object) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1868s # g_datalist_clear (&proxy->priv->qdata); 1868s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_get_property (GObject *object, 1868s # guint prop_id, 1868s # GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *variant; 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1868s # if (info->use_gvariant) 1868s # { 1868s # g_value_set_variant (value, variant); 1868s # } 1868s # else 1868s # { 1868s # if (variant != NULL) 1868s # g_dbus_gvariant_to_gvalue (variant, value); 1868s # } 1868s # if (variant != NULL) 1868s # g_variant_unref (variant); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1868s # GAsyncResult *res, 1868s # gpointer user_data) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info = user_data; 1868s # GError *error; 1868s # GVariant *_ret; 1868s # error = NULL; 1868s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1868s # if (!_ret) 1868s # { 1868s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1868s # info->parent_struct.name, 1868s # error->message, g_quark_to_string (error->domain), error->code); 1868s # g_error_free (error); 1868s # } 1868s # else 1868s # { 1868s # g_variant_unref (_ret); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_set_property (GObject *object, 1868s # guint prop_id, 1868s # const GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *variant; 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1868s # "org.freedesktop.DBus.Properties.Set", 1868s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1868s # g_variant_unref (variant); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_g_signal (GDBusProxy *proxy, 1868s # const gchar *sender_name G_GNUC_UNUSED, 1868s # const gchar *signal_name, 1868s # GVariant *parameters) 1868s # { 1868s # _ExtendedGDBusSignalInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # gsize n; 1868s # guint signal_id; 1868s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1868s # if (info == NULL) 1868s # return; 1868s # num_params = g_variant_n_children (parameters); 1868s # paramv = g_new0 (GValue, num_params + 1); 1868s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1868s # g_value_set_object (¶mv[0], proxy); 1868s # g_variant_iter_init (&iter, parameters); 1868s # n = 1; 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1868s # g_signal_emitv (paramv, signal_id, 0, NULL); 1868s # for (n = 0; n < num_params + 1; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1868s # GVariant *changed_properties, 1868s # const gchar *const *invalidated_properties) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1868s # guint n; 1868s # const gchar *key; 1868s # GVariantIter *iter; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # g_variant_get (changed_properties, "a{sv}", &iter); 1868s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1868s # g_datalist_remove_data (&proxy->priv->qdata, key); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # g_variant_iter_free (iter); 1868s # for (n = 0; invalidated_properties[n] != NULL; n++) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1868s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_proxy_get_good_property_type (GoodTypes *object) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1868s # GVariant *variant; 1868s # GVariant *value = NULL; 1868s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1868s # value = variant; 1868s # if (variant != NULL) 1868s # g_variant_unref (variant); 1868s # return value; 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_init (GoodTypesProxy *proxy) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1868s # #else 1868s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1868s # #endif 1868s # 1868s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusProxyClass *proxy_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = good_types_proxy_finalize; 1868s # gobject_class->get_property = good_types_proxy_get_property; 1868s # gobject_class->set_property = good_types_proxy_set_property; 1868s # 1868s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1868s # proxy_class->g_signal = good_types_proxy_g_signal; 1868s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1868s # 1868s # good_types_override_properties (gobject_class, 1); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_iface_init (GoodTypesIface *iface) 1868s # { 1868s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1868s # * 1868s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # good_types_proxy_new ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with good_types_proxy_new(). 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_sync: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_sync ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1868s # * 1868s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # good_types_proxy_new_for_bus ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_for_bus_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus_sync: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_for_bus_sync ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * GoodTypesSkeleton: 1868s # * 1868s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesSkeletonClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for GoodTypesSkeleton. 1868s # */ 1868s # 1868s # struct _GoodTypesSkeletonPrivate 1868s # { 1868s # GValue *properties; 1868s # GList *changed_properties; 1868s # GSource *changed_properties_idle_source; 1868s # GMainContext *context; 1868s # GMutex lock; 1868s # }; 1868s # 1868s # static void 1868s # _good_types_skeleton_handle_method_call ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name, 1868s # const gchar *method_name, 1868s # GVariant *parameters, 1868s # GDBusMethodInvocation *invocation, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # _ExtendedGDBusMethodInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # guint num_extra; 1868s # gsize n; 1868s # guint signal_id; 1868s # GValue return_value = G_VALUE_INIT; 1868s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1868s # g_assert (info != NULL); 1868s # num_params = g_variant_n_children (parameters); 1868s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1868s # n = 0; 1868s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1868s # g_value_set_object (¶mv[n++], skeleton); 1868s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1868s # g_value_set_object (¶mv[n++], invocation); 1868s # if (info->pass_fdlist) 1868s # { 1868s # #ifdef G_OS_UNIX 1868s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1868s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1868s # #else 1868s # g_assert_not_reached (); 1868s # #endif 1868s # } 1868s # g_variant_iter_init (&iter, parameters); 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1868s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1868s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1868s # if (!g_value_get_boolean (&return_value)) 1868s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1868s # g_value_unset (&return_value); 1868s # for (n = 0; n < num_params + num_extra; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static GVariant * 1868s # _good_types_skeleton_handle_get_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *ret; 1868s # ret = NULL; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # g_value_init (&value, pspec->value_type); 1868s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_value_unset (&value); 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _good_types_skeleton_handle_set_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GVariant *variant, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # gboolean ret; 1868s # ret = FALSE; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # if (info->use_gvariant) 1868s # g_value_set_variant (&value, variant); 1868s # else 1868s # g_dbus_gvariant_to_gvalue (variant, &value); 1868s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # g_value_unset (&value); 1868s # ret = TRUE; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1868s # { 1868s # _good_types_skeleton_handle_method_call, 1868s # _good_types_skeleton_handle_get_property, 1868s # _good_types_skeleton_handle_set_property, 1868s # {NULL} 1868s # }; 1868s # 1868s # static GDBusInterfaceInfo * 1868s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return good_types_interface_info (); 1868s # } 1868s # 1868s # static GDBusInterfaceVTable * 1868s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1868s # 1868s # GVariantBuilder builder; 1868s # guint n; 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # if (_good_types_interface_info.parent_struct.properties == NULL) 1868s # goto out; 1868s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1868s # { 1868s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1868s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1868s # { 1868s # GVariant *value; 1868s # 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); 1868s # if (value != NULL) 1868s # { 1868s # g_variant_take_ref (value); 1868s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1868s # g_variant_unref (value); 1868s # } 1868s # } 1868s # } 1868s # out: 1868s # return g_variant_builder_end (&builder); 1868s # } 1868s # 1868s # static gboolean _good_types_emit_changed (gpointer user_data); 1868s # 1868s # static void 1868s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1868s # gboolean emit_changed = FALSE; 1868s # 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # { 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # skeleton->priv->changed_properties_idle_source = NULL; 1868s # emit_changed = TRUE; 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # 1868s # if (emit_changed) 1868s # _good_types_emit_changed (skeleton); 1868s # } 1868s # 1868s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_ADD_PRIVATE (GoodTypesSkeleton) 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # good_types_skeleton_finalize (GObject *object) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # guint n; 1868s # for (n = 0; n < 1; n++) 1868s # g_value_unset (&skeleton->priv->properties[n]); 1868s # g_free (skeleton->priv->properties); 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # g_main_context_unref (skeleton->priv->context); 1868s # g_mutex_clear (&skeleton->priv->lock); 1868s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_get_property (GObject *object, 1868s # guint prop_id, 1868s # GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # } 1868s # 1868s # static gboolean 1868s # _good_types_emit_changed (gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GList *l; 1868s # GVariantBuilder builder; 1868s # GVariantBuilder invalidated_builder; 1868s # guint num_changes; 1868s # 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1868s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1868s # { 1868s # ChangedProperty *cp = l->data; 1868s # GVariant *variant; 1868s # const GValue *cur_value; 1868s # 1868s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1868s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1868s # { 1868s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1868s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1868s # g_variant_unref (variant); 1868s # num_changes++; 1868s # } 1868s # } 1868s # if (num_changes > 0) 1868s # { 1868s # GList *connections, *ll; 1868s # GVariant *signal_variant; 1868s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1868s # &builder, &invalidated_builder)); 1868s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1868s # for (ll = connections; ll != NULL; ll = ll->next) 1868s # { 1868s # GDBusConnection *connection = ll->data; 1868s # 1868s # g_dbus_connection_emit_signal (connection, 1868s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1868s # "org.freedesktop.DBus.Properties", 1868s # "PropertiesChanged", 1868s # signal_variant, 1868s # NULL); 1868s # } 1868s # g_variant_unref (signal_variant); 1868s # g_list_free_full (connections, g_object_unref); 1868s # } 1868s # else 1868s # { 1868s # g_variant_builder_clear (&builder); 1868s # g_variant_builder_clear (&invalidated_builder); 1868s # } 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # skeleton->priv->changed_properties = NULL; 1868s # skeleton->priv->changed_properties_idle_source = NULL; 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # return FALSE; 1868s # } 1868s # 1868s # static void 1868s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1868s # { 1868s # ChangedProperty *cp; 1868s # GList *l; 1868s # cp = NULL; 1868s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1868s # { 1868s # ChangedProperty *i_cp = l->data; 1868s # if (i_cp->info == info) 1868s # { 1868s # cp = i_cp; 1868s # break; 1868s # } 1868s # } 1868s # if (cp == NULL) 1868s # { 1868s # cp = g_new0 (ChangedProperty, 1); 1868s # cp->prop_id = prop_id; 1868s # cp->info = info; 1868s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1868s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1868s # g_value_copy (orig_value, &cp->orig_value); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_notify (GObject *object, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # if (skeleton->priv->changed_properties != NULL && 1868s # skeleton->priv->changed_properties_idle_source == NULL) 1868s # { 1868s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1868s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1868s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1868s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1868s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1868s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_set_property (GObject *object, 1868s # guint prop_id, 1868s # const GValue *value, 1868s # GParamSpec *pspec) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_object_freeze_notify (object); 1868s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1868s # { 1868s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1868s # info->emits_changed_signal) 1868s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1868s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1868s # g_object_notify_by_pspec (object, pspec); 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # g_object_thaw_notify (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1868s # #else 1868s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1868s # #endif 1868s # 1868s # g_mutex_init (&skeleton->priv->lock); 1868s # skeleton->priv->context = g_main_context_ref_thread_default (); 1868s # skeleton->priv->properties = g_new0 (GValue, 1); 1868s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # GVariant *value; 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # return value; 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusInterfaceSkeletonClass *skeleton_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = good_types_skeleton_finalize; 1868s # gobject_class->get_property = good_types_skeleton_get_property; 1868s # gobject_class->set_property = good_types_skeleton_set_property; 1868s # gobject_class->notify = good_types_skeleton_notify; 1868s # 1868s # 1868s # good_types_override_properties (gobject_class, 1); 1868s # 1868s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1868s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1868s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1868s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1868s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1868s # { 1868s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1868s # } 1868s # 1868s # /** 1868s # * good_types_skeleton_new: 1868s # * 1868s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1868s # */ 1868s # GoodTypes * 1868s # good_types_skeleton_new (void) 1868s # { 1868s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1868s # } 1868s # /tmp/tmptdw41vui/tmp5wdd4ubz.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptdw41vui/tmp5wdd4ubz.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifdef HAVE_CONFIG_H 1868s # # include "config.h" 1868s # #endif 1868s # 1868s # #include 1868s # #ifdef G_OS_UNIX 1868s # # include 1868s # #endif 1868s # 1868s # #ifdef G_ENABLE_DEBUG 1868s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1868s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1868s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1868s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1868s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1868s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1868s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1868s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1868s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1868s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1868s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1868s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1868s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1868s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1868s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1868s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1868s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1868s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1868s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1868s # #else /* !G_ENABLE_DEBUG */ 1868s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1868s # * Do not access GValues directly in your code. Instead, use the 1868s # * g_value_get_*() functions 1868s # */ 1868s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1868s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1868s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1868s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1868s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1868s # #endif /* !G_ENABLE_DEBUG */ 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusArgInfo parent_struct; 1868s # gboolean use_gvariant; 1868s # } _ExtendedGDBusArgInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusMethodInfo parent_struct; 1868s # const gchar *signal_name; 1868s # gboolean pass_fdlist; 1868s # } _ExtendedGDBusMethodInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusSignalInfo parent_struct; 1868s # const gchar *signal_name; 1868s # } _ExtendedGDBusSignalInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusPropertyInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # guint use_gvariant : 1; 1868s # guint emits_changed_signal : 1; 1868s # } _ExtendedGDBusPropertyInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusInterfaceInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # } _ExtendedGDBusInterfaceInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # guint prop_id; 1868s # GValue orig_value; /* the value before the change */ 1868s # } ChangedProperty; 1868s # 1868s # static void 1868s # _changed_property_free (ChangedProperty *data) 1868s # { 1868s # g_value_unset (&data->orig_value); 1868s # g_free (data); 1868s # } 1868s # 1868s # static gboolean 1868s # _g_strv_equal0 (gchar **a, gchar **b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # guint n; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # if (g_strv_length (a) != g_strv_length (b)) 1868s # goto out; 1868s # for (n = 0; a[n] != NULL; n++) 1868s # if (g_strcmp0 (a[n], b[n]) != 0) 1868s # goto out; 1868s # ret = TRUE; 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _g_variant_equal0 (GVariant *a, GVariant *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # ret = g_variant_equal (a, b); 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # G_GNUC_UNUSED static gboolean 1868s # _g_value_equal (const GValue *a, const GValue *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1868s # switch (G_VALUE_TYPE (a)) 1868s # { 1868s # case G_TYPE_BOOLEAN: 1868s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1868s # break; 1868s # case G_TYPE_UCHAR: 1868s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1868s # break; 1868s # case G_TYPE_INT: 1868s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1868s # break; 1868s # case G_TYPE_UINT: 1868s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1868s # break; 1868s # case G_TYPE_INT64: 1868s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1868s # break; 1868s # case G_TYPE_UINT64: 1868s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1868s # break; 1868s # case G_TYPE_DOUBLE: 1868s # { 1868s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1868s # gdouble da = g_value_get_double (a); 1868s # gdouble db = g_value_get_double (b); 1868s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1868s # } 1868s # break; 1868s # case G_TYPE_STRING: 1868s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1868s # break; 1868s # case G_TYPE_VARIANT: 1868s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1868s # break; 1868s # default: 1868s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1868s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1868s # else 1868s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1868s # break; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ 1868s # * Code for interface GoodTypes 1868s # * ------------------------------------------------------------------------ 1868s # */ 1868s # 1868s # /** 1868s # * SECTION:GoodTypes 1868s # * @title: GoodTypes 1868s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1868s # * 1868s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1868s # */ 1868s # 1868s # /* ---- Introspection data for GoodTypes ---- */ 1868s # 1868s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "GoodPropertyType", 1868s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1868s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1868s # NULL 1868s # }, 1868s # "good-property-type", 1868s # FALSE, 1868s # TRUE 1868s # }; 1868s # 1868s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1868s # { 1868s # &_good_types_property_info_good_property_type.parent_struct, 1868s # NULL 1868s # }; 1868s # 1868s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "GoodTypes", 1868s # NULL, 1868s # NULL, 1868s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1868s # NULL 1868s # }, 1868s # "good-types", 1868s # }; 1868s # 1868s # 1868s # /** 1868s # * good_types_interface_info: 1868s # * 1868s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1868s # * 1868s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1868s # */ 1868s # GDBusInterfaceInfo * 1868s # good_types_interface_info (void) 1868s # { 1868s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1868s # } 1868s # 1868s # /** 1868s # * good_types_override_properties: 1868s # * @klass: The class structure for a #GObject derived class. 1868s # * @property_id_begin: The property id to assign to the first overridden property. 1868s # * 1868s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1868s # * The properties are overridden in the order they are defined. 1868s # * 1868s # * Returns: The last property id. 1868s # */ 1868s # guint 1868s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1868s # { 1868s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1868s # return property_id_begin - 1; 1868s # } 1868s # 1868s # 1868s # 1868s # /** 1868s # * GoodTypes: 1868s # * 1868s # * Abstract interface type for the D-Bus interface GoodTypes. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesIface: 1868s # * @parent_iface: The parent interface. 1868s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1868s # * 1868s # * Virtual table for the D-Bus interface GoodTypes. 1868s # */ 1868s # 1868s # typedef GoodTypesIface GoodTypesInterface; 1868s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1868s # 1868s # static void 1868s # good_types_default_init (GoodTypesIface *iface) 1868s # { 1868s # /* GObject properties for D-Bus properties: */ 1868s # /** 1868s # * GoodTypes:good-property-type: 1868s # * 1868s # * Represents the D-Bus property "GoodPropertyType". 1868s # * 1868s # * 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. 1868s # */ 1868s # g_object_interface_install_property (iface, 1868s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1868s # } 1868s # 1868s # /** 1868s # * good_types_get_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * 1868s # * Gets the value of the "GoodPropertyType" D-Bus property. 1868s # * 1868s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1868s # * 1868s # * 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. 1868s # * 1868s # * 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. 1868s # */ 1868s # GVariant * 1868s # good_types_get_good_property_type (GoodTypes *object) 1868s # { 1868s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1868s # 1868s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1868s # } 1868s # 1868s # /** 1868s # * good_types_dup_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * 1868s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1868s # * 1868s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1868s # * 1868s # * 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(). 1868s # */ 1868s # GVariant * 1868s # good_types_dup_good_property_type (GoodTypes *object) 1868s # { 1868s # GVariant *value; 1868s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1868s # return value; 1868s # } 1868s # 1868s # /** 1868s # * good_types_set_good_property_type: (skip) 1868s # * @object: A GoodTypes. 1868s # * @value: The value to set. 1868s # * 1868s # * Sets the "GoodPropertyType" D-Bus property to @value. 1868s # * 1868s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1868s # */ 1868s # void 1868s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1868s # { 1868s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * GoodTypesProxy: 1868s # * 1868s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesProxyClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for GoodTypesProxy. 1868s # */ 1868s # 1868s # struct _GoodTypesProxyPrivate 1868s # { 1868s # GData *qdata; 1868s # }; 1868s # 1868s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1868s # G_ADD_PRIVATE (GoodTypesProxy) 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # good_types_proxy_finalize (GObject *object) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1868s # g_datalist_clear (&proxy->priv->qdata); 1868s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_get_property (GObject *object, 1868s # guint prop_id, 1868s # GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *variant; 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1868s # if (info->use_gvariant) 1868s # { 1868s # g_value_set_variant (value, variant); 1868s # } 1868s # else 1868s # { 1868s # if (variant != NULL) 1868s # g_dbus_gvariant_to_gvalue (variant, value); 1868s # } 1868s # if (variant != NULL) 1868s # g_variant_unref (variant); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1868s # GAsyncResult *res, 1868s # gpointer user_data) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info = user_data; 1868s # GError *error; 1868s # GVariant *_ret; 1868s # error = NULL; 1868s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1868s # if (!_ret) 1868s # { 1868s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1868s # info->parent_struct.name, 1868s # error->message, g_quark_to_string (error->domain), error->code); 1868s # g_error_free (error); 1868s # } 1868s # else 1868s # { 1868s # g_variant_unref (_ret); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_set_property (GObject *object, 1868s # guint prop_id, 1868s # const GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *variant; 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1868s # "org.freedesktop.DBus.Properties.Set", 1868s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1868s # g_variant_unref (variant); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_g_signal (GDBusProxy *proxy, 1868s # const gchar *sender_name G_GNUC_UNUSED, 1868s # const gchar *signal_name, 1868s # GVariant *parameters) 1868s # { 1868s # _ExtendedGDBusSignalInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # gsize n; 1868s # guint signal_id; 1868s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1868s # if (info == NULL) 1868s # return; 1868s # num_params = g_variant_n_children (parameters); 1868s # paramv = g_new0 (GValue, num_params + 1); 1868s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1868s # g_value_set_object (¶mv[0], proxy); 1868s # g_variant_iter_init (&iter, parameters); 1868s # n = 1; 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1868s # g_signal_emitv (paramv, signal_id, 0, NULL); 1868s # for (n = 0; n < num_params + 1; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1868s # GVariant *changed_properties, 1868s # const gchar *const *invalidated_properties) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1868s # guint n; 1868s # const gchar *key; 1868s # GVariantIter *iter; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # g_variant_get (changed_properties, "a{sv}", &iter); 1868s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1868s # g_datalist_remove_data (&proxy->priv->qdata, key); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # g_variant_iter_free (iter); 1868s # for (n = 0; invalidated_properties[n] != NULL; n++) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1868s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_proxy_get_good_property_type (GoodTypes *object) 1868s # { 1868s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1868s # GVariant *variant; 1868s # GVariant *value = NULL; 1868s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1868s # value = variant; 1868s # if (variant != NULL) 1868s # g_variant_unref (variant); 1868s # return value; 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_init (GoodTypesProxy *proxy) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1868s # #else 1868s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1868s # #endif 1868s # 1868s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusProxyClass *proxy_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = good_types_proxy_finalize; 1868s # gobject_class->get_property = good_types_proxy_get_property; 1868s # gobject_class->set_property = good_types_proxy_set_property; 1868s # 1868s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1868s # proxy_class->g_signal = good_types_proxy_g_signal; 1868s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1868s # 1868s # good_types_override_properties (gobject_class, 1); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # good_types_proxy_iface_init (GoodTypesIface *iface) 1868s # { 1868s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1868s # * 1868s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # good_types_proxy_new ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with good_types_proxy_new(). 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_sync: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_sync ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1868s # * 1868s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # good_types_proxy_new_for_bus ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_for_bus_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * good_types_proxy_new_for_bus_sync: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # GoodTypes * 1868s # good_types_proxy_new_for_bus_sync ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return GOOD_TYPES (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * GoodTypesSkeleton: 1868s # * 1868s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * GoodTypesSkeletonClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for GoodTypesSkeleton. 1868s # */ 1868s # 1868s # struct _GoodTypesSkeletonPrivate 1868s # { 1868s # GValue *properties; 1868s # GList *changed_properties; 1868s # GSource *changed_properties_idle_source; 1868s # GMainContext *context; 1868s # GMutex lock; 1868s # }; 1868s # 1868s # static void 1868s # _good_types_skeleton_handle_method_call ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name, 1868s # const gchar *method_name, 1868s # GVariant *parameters, 1868s # GDBusMethodInvocation *invocation, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # _ExtendedGDBusMethodInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # guint num_extra; 1868s # gsize n; 1868s # guint signal_id; 1868s # GValue return_value = G_VALUE_INIT; 1868s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1868s # g_assert (info != NULL); 1868s # num_params = g_variant_n_children (parameters); 1868s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1868s # n = 0; 1868s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1868s # g_value_set_object (¶mv[n++], skeleton); 1868s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1868s # g_value_set_object (¶mv[n++], invocation); 1868s # if (info->pass_fdlist) 1868s # { 1868s # #ifdef G_OS_UNIX 1868s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1868s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1868s # #else 1868s # g_assert_not_reached (); 1868s # #endif 1868s # } 1868s # g_variant_iter_init (&iter, parameters); 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1868s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1868s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1868s # if (!g_value_get_boolean (&return_value)) 1868s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1868s # g_value_unset (&return_value); 1868s # for (n = 0; n < num_params + num_extra; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static GVariant * 1868s # _good_types_skeleton_handle_get_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *ret; 1868s # ret = NULL; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # g_value_init (&value, pspec->value_type); 1868s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_value_unset (&value); 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _good_types_skeleton_handle_set_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GVariant *variant, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # gboolean ret; 1868s # ret = FALSE; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # if (info->use_gvariant) 1868s # g_value_set_variant (&value, variant); 1868s # else 1868s # g_dbus_gvariant_to_gvalue (variant, &value); 1868s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # g_value_unset (&value); 1868s # ret = TRUE; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1868s # { 1868s # _good_types_skeleton_handle_method_call, 1868s # _good_types_skeleton_handle_get_property, 1868s # _good_types_skeleton_handle_set_property, 1868s # {NULL} 1868s # }; 1868s # 1868s # static GDBusInterfaceInfo * 1868s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return good_types_interface_info (); 1868s # } 1868s # 1868s # static GDBusInterfaceVTable * 1868s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1868s # 1868s # GVariantBuilder builder; 1868s # guint n; 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # if (_good_types_interface_info.parent_struct.properties == NULL) 1868s # goto out; 1868s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1868s # { 1868s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1868s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1868s # { 1868s # GVariant *value; 1868s # 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); 1868s # if (value != NULL) 1868s # { 1868s # g_variant_take_ref (value); 1868s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1868s # g_variant_unref (value); 1868s # } 1868s # } 1868s # } 1868s # out: 1868s # return g_variant_builder_end (&builder); 1868s # } 1868s # 1868s # static gboolean _good_types_emit_changed (gpointer user_data); 1868s # 1868s # static void 1868s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1868s # gboolean emit_changed = FALSE; 1868s # 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # { 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # skeleton->priv->changed_properties_idle_source = NULL; 1868s # emit_changed = TRUE; 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # 1868s # if (emit_changed) 1868s # _good_types_emit_changed (skeleton); 1868s # } 1868s # 1868s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_ADD_PRIVATE (GoodTypesSkeleton) 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # good_types_skeleton_finalize (GObject *object) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # guint n; 1868s # for (n = 0; n < 1; n++) 1868s # g_value_unset (&skeleton->priv->properties[n]); 1868s # g_free (skeleton->priv->properties); 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # g_main_context_unref (skeleton->priv->context); 1868s # g_mutex_clear (&skeleton->priv->lock); 1868s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_get_property (GObject *object, 1868s # guint prop_id, 1868s # GValue *value, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # } 1868s # 1868s # static gboolean 1868s # _good_types_emit_changed (gpointer user_data) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1868s # GList *l; 1868s # GVariantBuilder builder; 1868s # GVariantBuilder invalidated_builder; 1868s # guint num_changes; 1868s # 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1868s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1868s # { 1868s # ChangedProperty *cp = l->data; 1868s # GVariant *variant; 1868s # const GValue *cur_value; 1868s # 1868s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1868s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1868s # { 1868s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1868s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1868s # g_variant_unref (variant); 1868s # num_changes++; 1868s # } 1868s # } 1868s # if (num_changes > 0) 1868s # { 1868s # GList *connections, *ll; 1868s # GVariant *signal_variant; 1868s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1868s # &builder, &invalidated_builder)); 1868s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1868s # for (ll = connections; ll != NULL; ll = ll->next) 1868s # { 1868s # GDBusConnection *connection = ll->data; 1868s # 1868s # g_dbus_connection_emit_signal (connection, 1868s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1868s # "org.freedesktop.DBus.Properties", 1868s # "PropertiesChanged", 1868s # signal_variant, 1868s # NULL); 1868s # } 1868s # g_variant_unref (signal_variant); 1868s # g_list_free_full (connections, g_object_unref); 1868s # } 1868s # else 1868s # { 1868s # g_variant_builder_clear (&builder); 1868s # g_variant_builder_clear (&invalidated_builder); 1868s # } 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # skeleton->priv->changed_properties = NULL; 1868s # skeleton->priv->changed_properties_idle_source = NULL; 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # return FALSE; 1868s # } 1868s # 1868s # static void 1868s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1868s # { 1868s # ChangedProperty *cp; 1868s # GList *l; 1868s # cp = NULL; 1868s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1868s # { 1868s # ChangedProperty *i_cp = l->data; 1868s # if (i_cp->info == info) 1868s # { 1868s # cp = i_cp; 1868s # break; 1868s # } 1868s # } 1868s # if (cp == NULL) 1868s # { 1868s # cp = g_new0 (ChangedProperty, 1); 1868s # cp->prop_id = prop_id; 1868s # cp->info = info; 1868s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1868s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1868s # g_value_copy (orig_value, &cp->orig_value); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_notify (GObject *object, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # if (skeleton->priv->changed_properties != NULL && 1868s # skeleton->priv->changed_properties_idle_source == NULL) 1868s # { 1868s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1868s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1868s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1868s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1868s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1868s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_set_property (GObject *object, 1868s # guint prop_id, 1868s # const GValue *value, 1868s # GParamSpec *pspec) 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1868s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # g_object_freeze_notify (object); 1868s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1868s # { 1868s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1868s # info->emits_changed_signal) 1868s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1868s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1868s # g_object_notify_by_pspec (object, pspec); 1868s # } 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # g_object_thaw_notify (object); 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1868s # #else 1868s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1868s # #endif 1868s # 1868s # g_mutex_init (&skeleton->priv->lock); 1868s # skeleton->priv->context = g_main_context_ref_thread_default (); 1868s # skeleton->priv->properties = g_new0 (GValue, 1); 1868s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1868s # } 1868s # 1868s # static GVariant * 1868s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1868s # { 1868s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1868s # GVariant *value; 1868s # g_mutex_lock (&skeleton->priv->lock); 1868s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1868s # g_mutex_unlock (&skeleton->priv->lock); 1868s # return value; 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusInterfaceSkeletonClass *skeleton_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = good_types_skeleton_finalize; 1868s # gobject_class->get_property = good_types_skeleton_get_property; 1868s # gobject_class->set_property = good_types_skeleton_set_property; 1868s # gobject_class->notify = good_types_skeleton_notify; 1868s # 1868s # 1868s # good_types_override_properties (gobject_class, 1); 1868s # 1868s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1868s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1868s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1868s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1868s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1868s # { 1868s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1868s # } 1868s # 1868s # /** 1868s # * good_types_skeleton_new: 1868s # * 1868s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1868s # * 1868s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1868s # */ 1868s # GoodTypes * 1868s # good_types_skeleton_new (void) 1868s # { 1868s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1868s # } 1868s ok 3 __main__.TestCodegen.test_empty_interface_body 1868s # tmpdir: /tmp/tmp6uyd1rps 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmp6uyd1rps/tmp3gccpejl.xml: 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6uyd1rps/tmp3gccpejl.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifdef HAVE_CONFIG_H 1868s # # include "config.h" 1868s # #endif 1868s # 1868s # #include 1868s # #ifdef G_OS_UNIX 1868s # # include 1868s # #endif 1868s # 1868s # #ifdef G_ENABLE_DEBUG 1868s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1868s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1868s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1868s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1868s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1868s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1868s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1868s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1868s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1868s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1868s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1868s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1868s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1868s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1868s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1868s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1868s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1868s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1868s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1868s # #else /* !G_ENABLE_DEBUG */ 1868s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1868s # * Do not access GValues directly in your code. Instead, use the 1868s # * g_value_get_*() functions 1868s # */ 1868s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1868s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1868s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1868s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1868s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1868s # #endif /* !G_ENABLE_DEBUG */ 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusArgInfo parent_struct; 1868s # gboolean use_gvariant; 1868s # } _ExtendedGDBusArgInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusMethodInfo parent_struct; 1868s # const gchar *signal_name; 1868s # gboolean pass_fdlist; 1868s # } _ExtendedGDBusMethodInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusSignalInfo parent_struct; 1868s # const gchar *signal_name; 1868s # } _ExtendedGDBusSignalInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusPropertyInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # guint use_gvariant : 1; 1868s # guint emits_changed_signal : 1; 1868s # } _ExtendedGDBusPropertyInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusInterfaceInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # } _ExtendedGDBusInterfaceInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # guint prop_id; 1868s # GValue orig_value; /* the value before the change */ 1868s # } ChangedProperty; 1868s # 1868s # static void 1868s # _changed_property_free (ChangedProperty *data) 1868s # { 1868s # g_value_unset (&data->orig_value); 1868s # g_free (data); 1868s # } 1868s # 1868s # static gboolean 1868s # _g_strv_equal0 (gchar **a, gchar **b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # guint n; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # if (g_strv_length (a) != g_strv_length (b)) 1868s # goto out; 1868s # for (n = 0; a[n] != NULL; n++) 1868s # if (g_strcmp0 (a[n], b[n]) != 0) 1868s # goto out; 1868s # ret = TRUE; 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _g_variant_equal0 (GVariant *a, GVariant *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # ret = g_variant_equal (a, b); 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # G_GNUC_UNUSED static gboolean 1868s # _g_value_equal (const GValue *a, const GValue *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1868s # switch (G_VALUE_TYPE (a)) 1868s # { 1868s # case G_TYPE_BOOLEAN: 1868s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1868s # break; 1868s # case G_TYPE_UCHAR: 1868s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1868s # break; 1868s # case G_TYPE_INT: 1868s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1868s # break; 1868s # case G_TYPE_UINT: 1868s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1868s # break; 1868s # case G_TYPE_INT64: 1868s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1868s # break; 1868s # case G_TYPE_UINT64: 1868s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1868s # break; 1868s # case G_TYPE_DOUBLE: 1868s # { 1868s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1868s # gdouble da = g_value_get_double (a); 1868s # gdouble db = g_value_get_double (b); 1868s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1868s # } 1868s # break; 1868s # case G_TYPE_STRING: 1868s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1868s # break; 1868s # case G_TYPE_VARIANT: 1868s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1868s # break; 1868s # default: 1868s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1868s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1868s # else 1868s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1868s # break; 1868s # } 1868s # return ret; 1868s # } 1868s ok 4 __main__.TestCodegen.test_empty_interface_header 1868s # tmpdir: /tmp/tmpv1myugp6 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmpv1myugp6/tmptepb2g4h.xml: 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv1myugp6/tmptepb2g4h.xml', '--output', '-', '--header'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifndef __STDOUT__ 1868s # #define __STDOUT__ 1868s # 1868s # #include 1868s # 1868s # G_BEGIN_DECLS 1868s # 1868s # 1868s # G_END_DECLS 1868s # 1868s # #endif /* __STDOUT__ */ 1868s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1868s # tmpdir: /tmp/tmp2ejohuq_ 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmp2ejohuq_/tmp6hpai0u3.xml: 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2ejohuq_/tmp6hpai0u3.xml', '--output', '-', '--interface-info-body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifdef HAVE_CONFIG_H 1868s # # include "config.h" 1868s # #endif 1868s # 1868s # #include 1868s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1868s # tmpdir: /tmp/tmphc03u7oy 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmphc03u7oy/tmpnkknmcji.xml: 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphc03u7oy/tmpnkknmcji.xml', '--output', '-', '--interface-info-header'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifndef __STDOUT__ 1868s # #define __STDOUT__ 1868s # 1868s # #include 1868s # 1868s # G_BEGIN_DECLS 1868s # 1868s # 1868s # G_END_DECLS 1868s # 1868s # #endif /* __STDOUT__ */ 1868s ok 7 __main__.TestCodegen.test_generate_docbook 1868s # tmpdir: /tmp/tmpmp66r2e0 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmpmp66r2e0/tmpcxunzkz4.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmp66r2e0/tmpcxunzkz4.xml', '--generate-docbook', 'test'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: 1868s ok 8 __main__.TestCodegen.test_generate_md 1868s # tmpdir: /tmp/tmpyesl9p66 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmpyesl9p66/tmp9h_lyatt.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyesl9p66/tmp9h_lyatt.xml', '--generate-md', 'test'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: 1868s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1868s # tmpdir: /tmp/tmp5q6wxh8x 1868s # codegen: /usr/bin/gdbus-codegen 1868s # /tmp/tmp5q6wxh8x/tmpv5547wlt.xml: 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # 1868s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5q6wxh8x/tmpv5547wlt.xml', '--output', '-', '--body'] 1868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1868s # Output: /* 1868s # * This file is generated by gdbus-codegen, do not modify it. 1868s # * 1868s # * The license of this code is the same as for the D-Bus interface description 1868s # * it was derived from. Note that it links to GLib, so must comply with the 1868s # * LGPL linking clauses. 1868s # */ 1868s # 1868s # #ifdef HAVE_CONFIG_H 1868s # # include "config.h" 1868s # #endif 1868s # 1868s # #include 1868s # #ifdef G_OS_UNIX 1868s # # include 1868s # #endif 1868s # 1868s # #ifdef G_ENABLE_DEBUG 1868s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1868s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1868s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1868s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1868s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1868s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1868s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1868s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1868s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1868s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1868s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1868s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1868s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1868s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1868s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1868s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1868s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1868s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1868s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1868s # #else /* !G_ENABLE_DEBUG */ 1868s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1868s # * Do not access GValues directly in your code. Instead, use the 1868s # * g_value_get_*() functions 1868s # */ 1868s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1868s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1868s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1868s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1868s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1868s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1868s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1868s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1868s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1868s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1868s # #endif /* !G_ENABLE_DEBUG */ 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusArgInfo parent_struct; 1868s # gboolean use_gvariant; 1868s # } _ExtendedGDBusArgInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusMethodInfo parent_struct; 1868s # const gchar *signal_name; 1868s # gboolean pass_fdlist; 1868s # } _ExtendedGDBusMethodInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusSignalInfo parent_struct; 1868s # const gchar *signal_name; 1868s # } _ExtendedGDBusSignalInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusPropertyInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # guint use_gvariant : 1; 1868s # guint emits_changed_signal : 1; 1868s # } _ExtendedGDBusPropertyInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # GDBusInterfaceInfo parent_struct; 1868s # const gchar *hyphen_name; 1868s # } _ExtendedGDBusInterfaceInfo; 1868s # 1868s # typedef struct 1868s # { 1868s # const _ExtendedGDBusPropertyInfo *info; 1868s # guint prop_id; 1868s # GValue orig_value; /* the value before the change */ 1868s # } ChangedProperty; 1868s # 1868s # static void 1868s # _changed_property_free (ChangedProperty *data) 1868s # { 1868s # g_value_unset (&data->orig_value); 1868s # g_free (data); 1868s # } 1868s # 1868s # static gboolean 1868s # _g_strv_equal0 (gchar **a, gchar **b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # guint n; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # if (g_strv_length (a) != g_strv_length (b)) 1868s # goto out; 1868s # for (n = 0; a[n] != NULL; n++) 1868s # if (g_strcmp0 (a[n], b[n]) != 0) 1868s # goto out; 1868s # ret = TRUE; 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _g_variant_equal0 (GVariant *a, GVariant *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # if (a == NULL && b == NULL) 1868s # { 1868s # ret = TRUE; 1868s # goto out; 1868s # } 1868s # if (a == NULL || b == NULL) 1868s # goto out; 1868s # ret = g_variant_equal (a, b); 1868s # out: 1868s # return ret; 1868s # } 1868s # 1868s # G_GNUC_UNUSED static gboolean 1868s # _g_value_equal (const GValue *a, const GValue *b) 1868s # { 1868s # gboolean ret = FALSE; 1868s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1868s # switch (G_VALUE_TYPE (a)) 1868s # { 1868s # case G_TYPE_BOOLEAN: 1868s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1868s # break; 1868s # case G_TYPE_UCHAR: 1868s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1868s # break; 1868s # case G_TYPE_INT: 1868s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1868s # break; 1868s # case G_TYPE_UINT: 1868s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1868s # break; 1868s # case G_TYPE_INT64: 1868s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1868s # break; 1868s # case G_TYPE_UINT64: 1868s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1868s # break; 1868s # case G_TYPE_DOUBLE: 1868s # { 1868s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1868s # gdouble da = g_value_get_double (a); 1868s # gdouble db = g_value_get_double (b); 1868s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1868s # } 1868s # break; 1868s # case G_TYPE_STRING: 1868s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1868s # break; 1868s # case G_TYPE_VARIANT: 1868s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1868s # break; 1868s # default: 1868s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1868s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1868s # else 1868s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1868s # break; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static void 1868s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1868s # GClosure *closure, 1868s # GValue *return_value, 1868s # unsigned int n_param_values, 1868s # const GValue *param_values, 1868s # void *invocation_hint G_GNUC_UNUSED, 1868s # void *marshal_data) 1868s # { 1868s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1868s # (void *data1, 1868s # GDBusMethodInvocation *arg_method_invocation, 1868s # void *data2); 1868s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1868s # GCClosure *cc = (GCClosure*) closure; 1868s # void *data1, *data2; 1868s # gboolean v_return; 1868s # 1868s # g_return_if_fail (return_value != NULL); 1868s # g_return_if_fail (n_param_values == 2); 1868s # 1868s # if (G_CCLOSURE_SWAP_DATA (closure)) 1868s # { 1868s # data1 = closure->data; 1868s # data2 = g_value_peek_pointer (param_values + 0); 1868s # } 1868s # else 1868s # { 1868s # data1 = g_value_peek_pointer (param_values + 0); 1868s # data2 = closure->data; 1868s # } 1868s # 1868s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1868s # (marshal_data ? marshal_data : cc->callback); 1868s # 1868s # v_return = 1868s # callback (data1, 1868s # g_marshal_value_peek_object (param_values + 1), 1868s # data2); 1868s # 1868s # g_value_set_boolean (return_value, v_return); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ 1868s # * Code for interface org.project.CallableIface 1868s # * ------------------------------------------------------------------------ 1868s # */ 1868s # 1868s # /** 1868s # * SECTION:OrgProjectCallableIface 1868s # * @title: OrgProjectCallableIface 1868s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1868s # * 1868s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1868s # */ 1868s # 1868s # /* ---- Introspection data for org.project.CallableIface ---- */ 1868s # 1868s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "SimpleMethod", 1868s # NULL, 1868s # NULL, 1868s # NULL 1868s # }, 1868s # "handle-simple-method", 1868s # FALSE 1868s # }; 1868s # 1868s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1868s # { 1868s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1868s # NULL 1868s # }; 1868s # 1868s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "org.project.CallableIface", 1868s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1868s # NULL, 1868s # NULL, 1868s # NULL 1868s # }, 1868s # "org-project-callable-iface", 1868s # }; 1868s # 1868s # 1868s # /** 1868s # * org_project_callable_iface_interface_info: 1868s # * 1868s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1868s # * 1868s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1868s # */ 1868s # GDBusInterfaceInfo * 1868s # org_project_callable_iface_interface_info (void) 1868s # { 1868s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_override_properties: 1868s # * @klass: The class structure for a #GObject derived class. 1868s # * @property_id_begin: The property id to assign to the first overridden property. 1868s # * 1868s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1868s # * The properties are overridden in the order they are defined. 1868s # * 1868s # * Returns: The last property id. 1868s # */ 1868s # guint 1868s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1868s # { 1868s # return property_id_begin - 1; 1868s # } 1868s # 1868s # 1868s # inline static void 1868s # org_project_callable_iface_method_marshal_simple_method ( 1868s # GClosure *closure, 1868s # GValue *return_value, 1868s # unsigned int n_param_values, 1868s # const GValue *param_values, 1868s # void *invocation_hint, 1868s # void *marshal_data) 1868s # { 1868s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1868s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1868s # } 1868s # 1868s # 1868s # /** 1868s # * OrgProjectCallableIface: 1868s # * 1868s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1868s # */ 1868s # 1868s # /** 1868s # * OrgProjectCallableIfaceIface: 1868s # * @parent_iface: The parent interface. 1868s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1868s # * 1868s # * Virtual table for the D-Bus interface org.project.CallableIface. 1868s # */ 1868s # 1868s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1868s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1868s # 1868s # static void 1868s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1868s # { 1868s # /* GObject signals for incoming D-Bus method calls: */ 1868s # /** 1868s # * OrgProjectCallableIface::handle-simple-method: 1868s # * @object: A #OrgProjectCallableIface. 1868s # * @invocation: A #GDBusMethodInvocation. 1868s # * 1868s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1868s # * 1868s # * 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. 1868s # * 1868s # * 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. 1868s # */ 1868s # g_signal_new ("handle-simple-method", 1868s # G_TYPE_FROM_INTERFACE (iface), 1868s # G_SIGNAL_RUN_LAST, 1868s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1868s # g_signal_accumulator_true_handled, 1868s # NULL, 1868s # org_project_callable_iface_method_marshal_simple_method, 1868s # G_TYPE_BOOLEAN, 1868s # 1, 1868s # G_TYPE_DBUS_METHOD_INVOCATION); 1868s # 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_call_simple_method: 1868s # * @proxy: A #OrgProjectCallableIfaceProxy. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1868s # * 1868s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1868s # */ 1868s # void 1868s # org_project_callable_iface_call_simple_method ( 1868s # OrgProjectCallableIface *proxy, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1868s # "SimpleMethod", 1868s # g_variant_new ("()"), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # cancellable, 1868s # callback, 1868s # user_data); 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_call_simple_method_finish: 1868s # * @proxy: A #OrgProjectCallableIfaceProxy. 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1868s # * @error: Return location for error or %NULL. 1868s # * 1868s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1868s # * 1868s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1868s # */ 1868s # gboolean 1868s # org_project_callable_iface_call_simple_method_finish ( 1868s # OrgProjectCallableIface *proxy, 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GVariant *_ret; 1868s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1868s # if (_ret == NULL) 1868s # goto _out; 1868s # g_variant_get (_ret, 1868s # "()"); 1868s # g_variant_unref (_ret); 1868s # _out: 1868s # return _ret != NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_call_simple_method_sync: 1868s # * @proxy: A #OrgProjectCallableIfaceProxy. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL. 1868s # * 1868s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1868s # * 1868s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1868s # * 1868s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1868s # */ 1868s # gboolean 1868s # org_project_callable_iface_call_simple_method_sync ( 1868s # OrgProjectCallableIface *proxy, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GVariant *_ret; 1868s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1868s # "SimpleMethod", 1868s # g_variant_new ("()"), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # cancellable, 1868s # error); 1868s # if (_ret == NULL) 1868s # goto _out; 1868s # g_variant_get (_ret, 1868s # "()"); 1868s # g_variant_unref (_ret); 1868s # _out: 1868s # return _ret != NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_complete_simple_method: 1868s # * @object: A #OrgProjectCallableIface. 1868s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1868s # * 1868s # * 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. 1868s # * 1868s # * This method will free @invocation, you cannot use it afterwards. 1868s # */ 1868s # void 1868s # org_project_callable_iface_complete_simple_method ( 1868s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1868s # GDBusMethodInvocation *invocation) 1868s # { 1868s # g_dbus_method_invocation_return_value (invocation, 1868s # g_variant_new ("()")); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * OrgProjectCallableIfaceProxy: 1868s # * 1868s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * OrgProjectCallableIfaceProxyClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for #OrgProjectCallableIfaceProxy. 1868s # */ 1868s # 1868s # struct _OrgProjectCallableIfaceProxyPrivate 1868s # { 1868s # GData *qdata; 1868s # }; 1868s # 1868s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1868s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # org_project_callable_iface_proxy_finalize (GObject *object) 1868s # { 1868s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1868s # g_datalist_clear (&proxy->priv->qdata); 1868s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1868s # guint prop_id G_GNUC_UNUSED, 1868s # GValue *value G_GNUC_UNUSED, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1868s # guint prop_id G_GNUC_UNUSED, 1868s # const GValue *value G_GNUC_UNUSED, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1868s # const gchar *sender_name G_GNUC_UNUSED, 1868s # const gchar *signal_name, 1868s # GVariant *parameters) 1868s # { 1868s # _ExtendedGDBusSignalInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # gsize n; 1868s # guint signal_id; 1868s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1868s # if (info == NULL) 1868s # return; 1868s # num_params = g_variant_n_children (parameters); 1868s # paramv = g_new0 (GValue, num_params + 1); 1868s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1868s # g_value_set_object (¶mv[0], proxy); 1868s # g_variant_iter_init (&iter, parameters); 1868s # n = 1; 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1868s # g_signal_emitv (paramv, signal_id, 0, NULL); 1868s # for (n = 0; n < num_params + 1; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1868s # GVariant *changed_properties, 1868s # const gchar *const *invalidated_properties) 1868s # { 1868s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1868s # guint n; 1868s # const gchar *key; 1868s # GVariantIter *iter; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # g_variant_get (changed_properties, "a{sv}", &iter); 1868s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1868s # g_datalist_remove_data (&proxy->priv->qdata, key); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # g_variant_iter_free (iter); 1868s # for (n = 0; invalidated_properties[n] != NULL; n++) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1868s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1868s # #else 1868s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1868s # #endif 1868s # 1868s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusProxyClass *proxy_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1868s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1868s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1868s # 1868s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1868s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1868s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_proxy_new: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1868s # * 1868s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # org_project_callable_iface_proxy_new ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_proxy_new_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectCallableIface * 1868s # org_project_callable_iface_proxy_new_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_proxy_new_sync: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectCallableIface * 1868s # org_project_callable_iface_proxy_new_sync ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /** 1868s # * org_project_callable_iface_proxy_new_for_bus: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1868s # * 1868s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # org_project_callable_iface_proxy_new_for_bus ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_proxy_new_for_bus_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectCallableIface * 1868s # org_project_callable_iface_proxy_new_for_bus_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_proxy_new_for_bus_sync: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectCallableIface * 1868s # org_project_callable_iface_proxy_new_for_bus_sync ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * OrgProjectCallableIfaceSkeleton: 1868s # * 1868s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * OrgProjectCallableIfaceSkeletonClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1868s # */ 1868s # 1868s # struct _OrgProjectCallableIfaceSkeletonPrivate 1868s # { 1868s # GValue *properties; 1868s # GList *changed_properties; 1868s # GSource *changed_properties_idle_source; 1868s # GMainContext *context; 1868s # GMutex lock; 1868s # }; 1868s # 1868s # static void 1868s # _org_project_callable_iface_skeleton_handle_method_call ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name, 1868s # const gchar *method_name, 1868s # GVariant *parameters, 1868s # GDBusMethodInvocation *invocation, 1868s # gpointer user_data) 1868s # { 1868s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1868s # _ExtendedGDBusMethodInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # guint num_extra; 1868s # gsize n; 1868s # guint signal_id; 1868s # GValue return_value = G_VALUE_INIT; 1868s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1868s # g_assert (info != NULL); 1868s # num_params = g_variant_n_children (parameters); 1868s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1868s # n = 0; 1868s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1868s # g_value_set_object (¶mv[n++], skeleton); 1868s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1868s # g_value_set_object (¶mv[n++], invocation); 1868s # if (info->pass_fdlist) 1868s # { 1868s # #ifdef G_OS_UNIX 1868s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1868s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1868s # #else 1868s # g_assert_not_reached (); 1868s # #endif 1868s # } 1868s # g_variant_iter_init (&iter, parameters); 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1868s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1868s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1868s # if (!g_value_get_boolean (&return_value)) 1868s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1868s # g_value_unset (&return_value); 1868s # for (n = 0; n < num_params + num_extra; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static GVariant * 1868s # _org_project_callable_iface_skeleton_handle_get_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *ret; 1868s # ret = NULL; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # g_value_init (&value, pspec->value_type); 1868s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_value_unset (&value); 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _org_project_callable_iface_skeleton_handle_set_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GVariant *variant, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # gboolean ret; 1868s # ret = FALSE; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # if (info->use_gvariant) 1868s # g_value_set_variant (&value, variant); 1868s # else 1868s # g_dbus_gvariant_to_gvalue (variant, &value); 1868s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # g_value_unset (&value); 1868s # ret = TRUE; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1868s # { 1868s # _org_project_callable_iface_skeleton_handle_method_call, 1868s # _org_project_callable_iface_skeleton_handle_get_property, 1868s # _org_project_callable_iface_skeleton_handle_set_property, 1868s # {NULL} 1868s # }; 1868s # 1868s # static GDBusInterfaceInfo * 1868s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return org_project_callable_iface_interface_info (); 1868s # } 1868s # 1868s # static GDBusInterfaceVTable * 1868s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1868s # } 1868s # 1868s # static GVariant * 1868s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1868s # 1868s # GVariantBuilder builder; 1868s # guint n; 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1868s # goto out; 1868s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1868s # { 1868s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1868s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1868s # { 1868s # GVariant *value; 1868s # 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); 1868s # if (value != NULL) 1868s # { 1868s # g_variant_take_ref (value); 1868s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1868s # g_variant_unref (value); 1868s # } 1868s # } 1868s # } 1868s # out: 1868s # return g_variant_builder_end (&builder); 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # org_project_callable_iface_skeleton_finalize (GObject *object) 1868s # { 1868s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # g_main_context_unref (skeleton->priv->context); 1868s # g_mutex_clear (&skeleton->priv->lock); 1868s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1868s # #else 1868s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1868s # #endif 1868s # 1868s # g_mutex_init (&skeleton->priv->lock); 1868s # skeleton->priv->context = g_main_context_ref_thread_default (); 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusInterfaceSkeletonClass *skeleton_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1868s # 1868s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1868s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1868s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1868s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1868s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # /** 1868s # * org_project_callable_iface_skeleton_new: 1868s # * 1868s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1868s # */ 1868s # OrgProjectCallableIface * 1868s # org_project_callable_iface_skeleton_new (void) 1868s # { 1868s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ 1868s # * Code for interface org.project.OtherCallableIface 1868s # * ------------------------------------------------------------------------ 1868s # */ 1868s # 1868s # /** 1868s # * SECTION:OrgProjectOtherCallableIface 1868s # * @title: OrgProjectOtherCallableIface 1868s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1868s # * 1868s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1868s # */ 1868s # 1868s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1868s # 1868s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "SimpleMethod", 1868s # NULL, 1868s # NULL, 1868s # NULL 1868s # }, 1868s # "handle-simple-method", 1868s # FALSE 1868s # }; 1868s # 1868s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1868s # { 1868s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1868s # NULL 1868s # }; 1868s # 1868s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1868s # { 1868s # { 1868s # -1, 1868s # (gchar *) "org.project.OtherCallableIface", 1868s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1868s # NULL, 1868s # NULL, 1868s # NULL 1868s # }, 1868s # "org-project-other-callable-iface", 1868s # }; 1868s # 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_interface_info: 1868s # * 1868s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1868s # * 1868s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1868s # */ 1868s # GDBusInterfaceInfo * 1868s # org_project_other_callable_iface_interface_info (void) 1868s # { 1868s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_override_properties: 1868s # * @klass: The class structure for a #GObject derived class. 1868s # * @property_id_begin: The property id to assign to the first overridden property. 1868s # * 1868s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1868s # * The properties are overridden in the order they are defined. 1868s # * 1868s # * Returns: The last property id. 1868s # */ 1868s # guint 1868s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1868s # { 1868s # return property_id_begin - 1; 1868s # } 1868s # 1868s # 1868s # inline static void 1868s # org_project_other_callable_iface_method_marshal_simple_method ( 1868s # GClosure *closure, 1868s # GValue *return_value, 1868s # unsigned int n_param_values, 1868s # const GValue *param_values, 1868s # void *invocation_hint, 1868s # void *marshal_data) 1868s # { 1868s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1868s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1868s # } 1868s # 1868s # 1868s # /** 1868s # * OrgProjectOtherCallableIface: 1868s # * 1868s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1868s # */ 1868s # 1868s # /** 1868s # * OrgProjectOtherCallableIfaceIface: 1868s # * @parent_iface: The parent interface. 1868s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1868s # * 1868s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1868s # */ 1868s # 1868s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1868s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1868s # 1868s # static void 1868s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1868s # { 1868s # /* GObject signals for incoming D-Bus method calls: */ 1868s # /** 1868s # * OrgProjectOtherCallableIface::handle-simple-method: 1868s # * @object: A #OrgProjectOtherCallableIface. 1868s # * @invocation: A #GDBusMethodInvocation. 1868s # * 1868s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1868s # * 1868s # * 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. 1868s # * 1868s # * 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. 1868s # */ 1868s # g_signal_new ("handle-simple-method", 1868s # G_TYPE_FROM_INTERFACE (iface), 1868s # G_SIGNAL_RUN_LAST, 1868s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1868s # g_signal_accumulator_true_handled, 1868s # NULL, 1868s # org_project_other_callable_iface_method_marshal_simple_method, 1868s # G_TYPE_BOOLEAN, 1868s # 1, 1868s # G_TYPE_DBUS_METHOD_INVOCATION); 1868s # 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_call_simple_method: 1868s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1868s # * 1868s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1868s # */ 1868s # void 1868s # org_project_other_callable_iface_call_simple_method ( 1868s # OrgProjectOtherCallableIface *proxy, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1868s # "SimpleMethod", 1868s # g_variant_new ("()"), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # cancellable, 1868s # callback, 1868s # user_data); 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_call_simple_method_finish: 1868s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1868s # * @error: Return location for error or %NULL. 1868s # * 1868s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1868s # * 1868s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1868s # */ 1868s # gboolean 1868s # org_project_other_callable_iface_call_simple_method_finish ( 1868s # OrgProjectOtherCallableIface *proxy, 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GVariant *_ret; 1868s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1868s # if (_ret == NULL) 1868s # goto _out; 1868s # g_variant_get (_ret, 1868s # "()"); 1868s # g_variant_unref (_ret); 1868s # _out: 1868s # return _ret != NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_call_simple_method_sync: 1868s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL. 1868s # * 1868s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1868s # * 1868s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1868s # * 1868s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1868s # */ 1868s # gboolean 1868s # org_project_other_callable_iface_call_simple_method_sync ( 1868s # OrgProjectOtherCallableIface *proxy, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GVariant *_ret; 1868s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1868s # "SimpleMethod", 1868s # g_variant_new ("()"), 1868s # G_DBUS_CALL_FLAGS_NONE, 1868s # -1, 1868s # cancellable, 1868s # error); 1868s # if (_ret == NULL) 1868s # goto _out; 1868s # g_variant_get (_ret, 1868s # "()"); 1868s # g_variant_unref (_ret); 1868s # _out: 1868s # return _ret != NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_complete_simple_method: 1868s # * @object: A #OrgProjectOtherCallableIface. 1868s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1868s # * 1868s # * 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. 1868s # * 1868s # * This method will free @invocation, you cannot use it afterwards. 1868s # */ 1868s # void 1868s # org_project_other_callable_iface_complete_simple_method ( 1868s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1868s # GDBusMethodInvocation *invocation) 1868s # { 1868s # g_dbus_method_invocation_return_value (invocation, 1868s # g_variant_new ("()")); 1868s # } 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * OrgProjectOtherCallableIfaceProxy: 1868s # * 1868s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * OrgProjectOtherCallableIfaceProxyClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1868s # */ 1868s # 1868s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1868s # { 1868s # GData *qdata; 1868s # }; 1868s # 1868s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1868s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1868s # { 1868s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1868s # g_datalist_clear (&proxy->priv->qdata); 1868s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1868s # guint prop_id G_GNUC_UNUSED, 1868s # GValue *value G_GNUC_UNUSED, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1868s # guint prop_id G_GNUC_UNUSED, 1868s # const GValue *value G_GNUC_UNUSED, 1868s # GParamSpec *pspec G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1868s # const gchar *sender_name G_GNUC_UNUSED, 1868s # const gchar *signal_name, 1868s # GVariant *parameters) 1868s # { 1868s # _ExtendedGDBusSignalInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # gsize n; 1868s # guint signal_id; 1868s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1868s # if (info == NULL) 1868s # return; 1868s # num_params = g_variant_n_children (parameters); 1868s # paramv = g_new0 (GValue, num_params + 1); 1868s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1868s # g_value_set_object (¶mv[0], proxy); 1868s # g_variant_iter_init (&iter, parameters); 1868s # n = 1; 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1868s # g_signal_emitv (paramv, signal_id, 0, NULL); 1868s # for (n = 0; n < num_params + 1; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1868s # GVariant *changed_properties, 1868s # const gchar *const *invalidated_properties) 1868s # { 1868s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1868s # guint n; 1868s # const gchar *key; 1868s # GVariantIter *iter; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # g_variant_get (changed_properties, "a{sv}", &iter); 1868s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1868s # g_datalist_remove_data (&proxy->priv->qdata, key); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # g_variant_iter_free (iter); 1868s # for (n = 0; invalidated_properties[n] != NULL; n++) 1868s # { 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1868s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1868s # if (info != NULL) 1868s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1868s # } 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1868s # #else 1868s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1868s # #endif 1868s # 1868s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusProxyClass *proxy_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1868s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1868s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1868s # 1868s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1868s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1868s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_proxy_new: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1868s # * 1868s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # org_project_other_callable_iface_proxy_new ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_proxy_new_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectOtherCallableIface * 1868s # org_project_other_callable_iface_proxy_new_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_proxy_new_sync: 1868s # * @connection: A #GDBusConnection. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectOtherCallableIface * 1868s # org_project_other_callable_iface_proxy_new_sync ( 1868s # GDBusConnection *connection, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_proxy_new_for_bus: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1868s # * @user_data: User data to pass to @callback. 1868s # * 1868s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1868s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1868s # * 1868s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1868s # */ 1868s # void 1868s # org_project_other_callable_iface_proxy_new_for_bus ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GAsyncReadyCallback callback, 1868s # gpointer user_data) 1868s # { 1868s # 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); 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1868s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectOtherCallableIface * 1868s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1868s # GAsyncResult *res, 1868s # GError **error) 1868s # { 1868s # GObject *ret; 1868s # GObject *source_object; 1868s # source_object = g_async_result_get_source_object (res); 1868s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1868s # g_object_unref (source_object); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1868s # * @bus_type: A #GBusType. 1868s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1868s # * @name: A bus name (well-known or unique). 1868s # * @object_path: An object path. 1868s # * @cancellable: (nullable): A #GCancellable or %NULL. 1868s # * @error: Return location for error or %NULL 1868s # * 1868s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1868s # * 1868s # * The calling thread is blocked until a reply is received. 1868s # * 1868s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1868s # */ 1868s # OrgProjectOtherCallableIface * 1868s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1868s # GBusType bus_type, 1868s # GDBusProxyFlags flags, 1868s # const gchar *name, 1868s # const gchar *object_path, 1868s # GCancellable *cancellable, 1868s # GError **error) 1868s # { 1868s # GInitable *ret; 1868s # 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); 1868s # if (ret != NULL) 1868s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1868s # else 1868s # return NULL; 1868s # } 1868s # 1868s # 1868s # /* ------------------------------------------------------------------------ */ 1868s # 1868s # /** 1868s # * OrgProjectOtherCallableIfaceSkeleton: 1868s # * 1868s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1868s # */ 1868s # 1868s # /** 1868s # * OrgProjectOtherCallableIfaceSkeletonClass: 1868s # * @parent_class: The parent class. 1868s # * 1868s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1868s # */ 1868s # 1868s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1868s # { 1868s # GValue *properties; 1868s # GList *changed_properties; 1868s # GSource *changed_properties_idle_source; 1868s # GMainContext *context; 1868s # GMutex lock; 1868s # }; 1868s # 1868s # static void 1868s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name, 1868s # const gchar *method_name, 1868s # GVariant *parameters, 1868s # GDBusMethodInvocation *invocation, 1868s # gpointer user_data) 1868s # { 1868s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1868s # _ExtendedGDBusMethodInfo *info; 1868s # GVariantIter iter; 1868s # GVariant *child; 1868s # GValue *paramv; 1868s # gsize num_params; 1868s # guint num_extra; 1868s # gsize n; 1868s # guint signal_id; 1868s # GValue return_value = G_VALUE_INIT; 1868s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1868s # g_assert (info != NULL); 1868s # num_params = g_variant_n_children (parameters); 1868s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1868s # n = 0; 1868s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1868s # g_value_set_object (¶mv[n++], skeleton); 1868s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1868s # g_value_set_object (¶mv[n++], invocation); 1868s # if (info->pass_fdlist) 1868s # { 1868s # #ifdef G_OS_UNIX 1868s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1868s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1868s # #else 1868s # g_assert_not_reached (); 1868s # #endif 1868s # } 1868s # g_variant_iter_init (&iter, parameters); 1868s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1868s # { 1868s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1868s # if (arg_info->use_gvariant) 1868s # { 1868s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1868s # g_value_set_variant (¶mv[n], child); 1868s # n++; 1868s # } 1868s # else 1868s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1868s # g_variant_unref (child); 1868s # } 1868s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1868s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1868s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1868s # if (!g_value_get_boolean (&return_value)) 1868s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1868s # g_value_unset (&return_value); 1868s # for (n = 0; n < num_params + num_extra; n++) 1868s # g_value_unset (¶mv[n]); 1868s # g_free (paramv); 1868s # } 1868s # 1868s # static GVariant * 1868s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # GVariant *ret; 1868s # ret = NULL; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # g_value_init (&value, pspec->value_type); 1868s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1868s # g_value_unset (&value); 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static gboolean 1868s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1868s # GDBusConnection *connection G_GNUC_UNUSED, 1868s # const gchar *sender G_GNUC_UNUSED, 1868s # const gchar *object_path G_GNUC_UNUSED, 1868s # const gchar *interface_name G_GNUC_UNUSED, 1868s # const gchar *property_name, 1868s # GVariant *variant, 1868s # GError **error, 1868s # gpointer user_data) 1868s # { 1868s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1868s # GValue value = G_VALUE_INIT; 1868s # GParamSpec *pspec; 1868s # _ExtendedGDBusPropertyInfo *info; 1868s # gboolean ret; 1868s # ret = FALSE; 1868s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1868s # g_assert (info != NULL); 1868s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1868s # if (pspec == NULL) 1868s # { 1868s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1868s # } 1868s # else 1868s # { 1868s # if (info->use_gvariant) 1868s # g_value_set_variant (&value, variant); 1868s # else 1868s # g_dbus_gvariant_to_gvalue (variant, &value); 1868s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1868s # g_value_unset (&value); 1868s # ret = TRUE; 1868s # } 1868s # return ret; 1868s # } 1868s # 1868s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1868s # { 1868s # _org_project_other_callable_iface_skeleton_handle_method_call, 1868s # _org_project_other_callable_iface_skeleton_handle_get_property, 1868s # _org_project_other_callable_iface_skeleton_handle_set_property, 1868s # {NULL} 1868s # }; 1868s # 1868s # static GDBusInterfaceInfo * 1868s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return org_project_other_callable_iface_interface_info (); 1868s # } 1868s # 1868s # static GDBusInterfaceVTable * 1868s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1868s # { 1868s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1868s # } 1868s # 1868s # static GVariant * 1868s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1868s # { 1868s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1868s # 1868s # GVariantBuilder builder; 1868s # guint n; 1868s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1868s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1868s # goto out; 1868s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1868s # { 1868s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1868s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1868s # { 1868s # GVariant *value; 1868s # 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); 1868s # if (value != NULL) 1868s # { 1868s # g_variant_take_ref (value); 1868s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1868s # g_variant_unref (value); 1868s # } 1868s # } 1868s # } 1868s # out: 1868s # return g_variant_builder_end (&builder); 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1868s # 1868s # #else 1868s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1868s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1868s # 1868s # #endif 1868s # static void 1868s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1868s # { 1868s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1868s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1868s # if (skeleton->priv->changed_properties_idle_source != NULL) 1868s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1868s # g_main_context_unref (skeleton->priv->context); 1868s # g_mutex_clear (&skeleton->priv->lock); 1868s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1868s # { 1868s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1868s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1868s # #else 1868s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1868s # #endif 1868s # 1868s # g_mutex_init (&skeleton->priv->lock); 1868s # skeleton->priv->context = g_main_context_ref_thread_default (); 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1868s # { 1868s # GObjectClass *gobject_class; 1868s # GDBusInterfaceSkeletonClass *skeleton_class; 1868s # 1868s # gobject_class = G_OBJECT_CLASS (klass); 1868s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1868s # 1868s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1868s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1868s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1868s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1868s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1868s # 1868s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1868s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1868s # #endif 1868s # } 1868s # 1868s # static void 1868s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1868s # { 1868s # } 1868s # 1868s # /** 1868s # * org_project_other_callable_iface_skeleton_new: 1868s # * 1868s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1868s # * 1868s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1868s # */ 1868s # OrgProjectOtherCallableIface * 1868s # org_project_other_callable_iface_skeleton_new (void) 1868s # { 1868s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1868s # } 1869s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1869s # tmpdir: /tmp/tmpbr32z4xy 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmpbr32z4xy/tmp_2g36uux.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmp_2g36uux.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # gboolean arg_arg_b, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_boolean (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_b", 1869s # (gchar *) "b", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodB", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-b", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_b: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-b", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_b, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_b: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_b: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_b ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gboolean arg_arg_b, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodB", 1869s # g_variant_new ("(b)", 1869s # arg_arg_b), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_b_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_b_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_b_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_b: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_b_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gboolean arg_arg_b, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodB", 1869s # g_variant_new ("(b)", 1869s # arg_arg_b), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_b: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_b ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmp4kkc66xh.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmp4kkc66xh.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # guchar arg_arg_y, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_uchar (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_y", 1869s # (gchar *) "y", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodY", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-y", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_y: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-y", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_y, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_y: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_y: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_y ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guchar arg_arg_y, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodY", 1869s # g_variant_new ("(y)", 1869s # arg_arg_y), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_y_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_y_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_y_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_y: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_y_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guchar arg_arg_y, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodY", 1869s # g_variant_new ("(y)", 1869s # arg_arg_y), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_y: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_y ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpf18k8f6q.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpf18k8f6q.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # gint16 arg_arg_n, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_int (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_n", 1869s # (gchar *) "n", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodN", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-n", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_n: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-n", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_n, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_n: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_n: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_n ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint16 arg_arg_n, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodN", 1869s # g_variant_new ("(n)", 1869s # arg_arg_n), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_n_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_n_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_n_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_n: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_n_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint16 arg_arg_n, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodN", 1869s # g_variant_new ("(n)", 1869s # arg_arg_n), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_n: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_n ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpto8cocez.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpto8cocez.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # guint16 arg_arg_q, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_uint (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_q", 1869s # (gchar *) "q", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodQ", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-q", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_q: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-q", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_q, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_q: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_q: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_q ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint16 arg_arg_q, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodQ", 1869s # g_variant_new ("(q)", 1869s # arg_arg_q), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_q_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_q_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_q_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_q: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_q_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint16 arg_arg_q, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodQ", 1869s # g_variant_new ("(q)", 1869s # arg_arg_q), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_q: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_q ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpw1uf6z40.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpw1uf6z40.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # gint arg_arg_i, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_int (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_i", 1869s # (gchar *) "i", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodI", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-i", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_i: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-i", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_i, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_i: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_i: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_i ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint arg_arg_i, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodI", 1869s # g_variant_new ("(i)", 1869s # arg_arg_i), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_i_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_i_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_i_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_i: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_i_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint arg_arg_i, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodI", 1869s # g_variant_new ("(i)", 1869s # arg_arg_i), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_i: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_i ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpw0yuvjo5.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpw0yuvjo5.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # guint arg_arg_u, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_uint (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_u", 1869s # (gchar *) "u", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodU", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-u", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_u: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-u", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_u, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_u: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_u: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_u ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint arg_arg_u, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodU", 1869s # g_variant_new ("(u)", 1869s # arg_arg_u), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_u_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_u_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_u_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_u: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_u_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint arg_arg_u, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodU", 1869s # g_variant_new ("(u)", 1869s # arg_arg_u), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_u: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_u ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpu60l9_ly.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpu60l9_ly.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # gint64 arg_arg_x, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_int64 (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_x", 1869s # (gchar *) "x", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodX", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-x", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_x: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-x", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_x, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_x: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_x: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_x ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint64 arg_arg_x, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodX", 1869s # g_variant_new ("(x)", 1869s # arg_arg_x), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_x_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_x_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_x_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_x: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_x_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint64 arg_arg_x, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodX", 1869s # g_variant_new ("(x)", 1869s # arg_arg_x), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_x: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_x ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmp2xr364qo.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmp2xr364qo.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # guint64 arg_arg_t, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_uint64 (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_t", 1869s # (gchar *) "t", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodT", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-t", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_t: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-t", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_t, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_t: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_t: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_t ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint64 arg_arg_t, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodT", 1869s # g_variant_new ("(t)", 1869s # arg_arg_t), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_t_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_t_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_t_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_t: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_t_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint64 arg_arg_t, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodT", 1869s # g_variant_new ("(t)", 1869s # arg_arg_t), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_t: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_t ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpz3sskpja.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpz3sskpja.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # gdouble arg_arg_d, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_double (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_d", 1869s # (gchar *) "d", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodD", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-d", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_d: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-d", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_d, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_d: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_d: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_d ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gdouble arg_arg_d, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodD", 1869s # g_variant_new ("(d)", 1869s # arg_arg_d), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_d_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_d_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_d_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_d: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_d_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gdouble arg_arg_d, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodD", 1869s # g_variant_new ("(d)", 1869s # arg_arg_d), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_d: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_d ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpwinlelb4.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpwinlelb4.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *arg_arg_s, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_string (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_s", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodS", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-s", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_s: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-s", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_s, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_s: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_s: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_s ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_s, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodS", 1869s # g_variant_new ("(s)", 1869s # arg_arg_s), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_s_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_s_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_s_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_s: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_s_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_s, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodS", 1869s # g_variant_new ("(s)", 1869s # arg_arg_s), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_s: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_s ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmp1vo38ulj.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmp1vo38ulj.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *arg_arg_o, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_string (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_o", 1869s # (gchar *) "o", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodO", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-o", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_o: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-o", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_o, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_o: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_o: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_o ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_o, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodO", 1869s # g_variant_new ("(o)", 1869s # arg_arg_o), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_o_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_o_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_o_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_o: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_o_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_o, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodO", 1869s # g_variant_new ("(o)", 1869s # arg_arg_o), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_o: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_o ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpu1z775x6.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpu1z775x6.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *arg_arg_g, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_string (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_g", 1869s # (gchar *) "g", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodG", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-g", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_g: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-g", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_g, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_g: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_g: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_g ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_g, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodG", 1869s # g_variant_new ("(g)", 1869s # arg_arg_g), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_g_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_g_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_g_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_g: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_g_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_g, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodG", 1869s # g_variant_new ("(g)", 1869s # arg_arg_g), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_g: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_g ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmp84i8orr1.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmp84i8orr1.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # GVariant *arg_arg_h, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_variant (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_h", 1869s # (gchar *) "h", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodH", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-h", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_h: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-h", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_h, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_h: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_h: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_h ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant *arg_arg_h, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodH", 1869s # g_variant_new ("(@h)", 1869s # arg_arg_h), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_h_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_h_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_h_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_h: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_h_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant *arg_arg_h, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodH", 1869s # g_variant_new ("(@h)", 1869s # arg_arg_h), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_h: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_h ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpt2mhc8at.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpt2mhc8at.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *arg_arg_ay, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_string (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_ay", 1869s # (gchar *) "ay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAy", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-ay", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_ay: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-ay", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ay: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_ay: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_ay ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_ay, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAy", 1869s # g_variant_new ("(^ay)", 1869s # arg_arg_ay), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_ay: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *arg_arg_ay, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAy", 1869s # g_variant_new ("(^ay)", 1869s # arg_arg_ay), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_ay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_ay ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmple31akkj.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmple31akkj.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *const *arg_arg_as, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_boxed (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_as", 1869s # (gchar *) "as", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAs", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-as", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_as: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-as", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_as, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_as: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_as: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_as ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *const *arg_arg_as, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAs", 1869s # g_variant_new ("(^as)", 1869s # arg_arg_as), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_as_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_as_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_as_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_as: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_as_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *const *arg_arg_as, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAs", 1869s # g_variant_new ("(^as)", 1869s # arg_arg_as), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_as: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_as ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmp_od0r10c.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmp_od0r10c.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *const *arg_arg_ao, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_boxed (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_ao", 1869s # (gchar *) "ao", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAo", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-ao", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_ao: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-ao", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ao: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_ao: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_ao ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *const *arg_arg_ao, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAo", 1869s # g_variant_new ("(^ao)", 1869s # arg_arg_ao), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_ao: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *const *arg_arg_ao, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAo", 1869s # g_variant_new ("(^ao)", 1869s # arg_arg_ao), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_ao: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_ao ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpskivqym3.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpskivqym3.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *const *arg_arg_aay, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_boxed (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_aay", 1869s # (gchar *) "aay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAay", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-aay", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_aay: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-aay", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_aay: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_aay: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_aay ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *const *arg_arg_aay, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAay", 1869s # g_variant_new ("(^aay)", 1869s # arg_arg_aay), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_aay: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # const gchar *const *arg_arg_aay, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAay", 1869s # g_variant_new ("(^aay)", 1869s # arg_arg_aay), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_aay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_aay ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpbr32z4xy/tmpkog1895f.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbr32z4xy/tmpkog1895f.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # GVariant *arg_arg_asv, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 3); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_variant (param_values + 2), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_asv", 1869s # (gchar *) "a{sv}", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAsv", 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-asv", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_arg_asv: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-asv", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1869s # G_TYPE_BOOLEAN, 1869s # 2, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_asv: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_asv ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant *arg_arg_asv, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAsv", 1869s # g_variant_new ("(@a{sv})", 1869s # arg_arg_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @arg_arg_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant *arg_arg_asv, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAsv", 1869s # g_variant_new ("(@a{sv})", 1869s # arg_arg_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_asv: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_asv ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1869s # tmpdir: /tmp/tmpx_lfp6pl 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmpx_lfp6pl/tmpkp0oe3_d.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpkp0oe3_d.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_b", 1869s # (gchar *) "b", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodB", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-b", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-b", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_b, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_b: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_b ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodB", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_b_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_b_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gboolean *out_arg_b, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(b)", 1869s # out_arg_b); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_b_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_b_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gboolean *out_arg_b, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodB", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(b)", 1869s # out_arg_b); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_b: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_b: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_b ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # gboolean arg_b) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(b)", 1869s # arg_b)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpww8vm4_h.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpww8vm4_h.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_y", 1869s # (gchar *) "y", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodY", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-y", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-y", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_y, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_y: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_y ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodY", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_y_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_y_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guchar *out_arg_y, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(y)", 1869s # out_arg_y); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_y_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_y_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guchar *out_arg_y, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodY", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(y)", 1869s # out_arg_y); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_y: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_y: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_y ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # guchar arg_y) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(y)", 1869s # arg_y)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmphn4z4ye7.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmphn4z4ye7.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_n", 1869s # (gchar *) "n", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodN", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-n", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-n", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_n, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_n: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_n ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodN", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_n_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_n_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint16 *out_arg_n, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(n)", 1869s # out_arg_n); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_n_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_n_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint16 *out_arg_n, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodN", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(n)", 1869s # out_arg_n); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_n: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_n: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_n ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # gint16 arg_n) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(n)", 1869s # arg_n)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpq8jela71.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpq8jela71.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_q", 1869s # (gchar *) "q", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodQ", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-q", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-q", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_q, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_q: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_q ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodQ", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_q_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_q_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint16 *out_arg_q, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(q)", 1869s # out_arg_q); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_q_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_q_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint16 *out_arg_q, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodQ", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(q)", 1869s # out_arg_q); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_q: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_q: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_q ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # guint16 arg_q) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(q)", 1869s # arg_q)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpcxaj0vx3.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpcxaj0vx3.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_i", 1869s # (gchar *) "i", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodI", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-i", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-i", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_i, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_i: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_i ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodI", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_i_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_i_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint *out_arg_i, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(i)", 1869s # out_arg_i); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_i_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_i_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint *out_arg_i, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodI", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(i)", 1869s # out_arg_i); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_i: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_i: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_i ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # gint arg_i) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(i)", 1869s # arg_i)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpjnd4ud05.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpjnd4ud05.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_u", 1869s # (gchar *) "u", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodU", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-u", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-u", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_u, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_u: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_u ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodU", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_u_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_u_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint *out_arg_u, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(u)", 1869s # out_arg_u); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_u_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_u_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint *out_arg_u, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodU", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(u)", 1869s # out_arg_u); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_u: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_u: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_u ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # guint arg_u) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(u)", 1869s # arg_u)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpv3isa50x.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpv3isa50x.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_x", 1869s # (gchar *) "x", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodX", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-x", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-x", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_x, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_x: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_x ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodX", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_x_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_x_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint64 *out_arg_x, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(x)", 1869s # out_arg_x); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_x_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_x_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gint64 *out_arg_x, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodX", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(x)", 1869s # out_arg_x); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_x: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_x: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_x ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # gint64 arg_x) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(x)", 1869s # arg_x)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpe7vm0i_6.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpe7vm0i_6.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_t", 1869s # (gchar *) "t", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodT", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-t", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-t", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_t, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_t: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_t ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodT", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_t_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_t_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint64 *out_arg_t, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(t)", 1869s # out_arg_t); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_t_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_t_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # guint64 *out_arg_t, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodT", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(t)", 1869s # out_arg_t); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_t: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_t: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_t ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # guint64 arg_t) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(t)", 1869s # arg_t)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpbpjhloth.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpbpjhloth.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_d", 1869s # (gchar *) "d", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodD", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-d", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-d", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_d, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_d: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_d ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodD", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_d_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_d_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gdouble *out_arg_d, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(d)", 1869s # out_arg_d); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_d_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_d_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gdouble *out_arg_d, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodD", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(d)", 1869s # out_arg_d); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_d: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_d: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_d ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # gdouble arg_d) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(d)", 1869s # arg_d)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpxkmx_cdl.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpxkmx_cdl.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_s", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodS", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-s", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-s", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_s, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_s: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_s ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodS", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_s_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_s_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_s, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(s)", 1869s # out_arg_s); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_s_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_s_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_s, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodS", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(s)", 1869s # out_arg_s); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_s: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_s: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_s ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *arg_s) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(s)", 1869s # arg_s)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmp1i77uopf.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmp1i77uopf.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_o", 1869s # (gchar *) "o", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodO", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-o", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-o", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_o, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_o: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_o ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodO", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_o_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_o_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_o, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(o)", 1869s # out_arg_o); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_o_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_o_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_o, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodO", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(o)", 1869s # out_arg_o); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_o: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_o: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_o ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *arg_o) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(o)", 1869s # arg_o)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmp1q0fvzwz.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmp1q0fvzwz.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_g", 1869s # (gchar *) "g", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodG", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-g", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-g", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_g, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_g: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_g ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodG", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_g_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_g_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_g, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(g)", 1869s # out_arg_g); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_g_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_g_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_g, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodG", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(g)", 1869s # out_arg_g); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_g: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_g: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_g ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *arg_g) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(g)", 1869s # arg_g)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmps03tiddk.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmps03tiddk.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_h", 1869s # (gchar *) "h", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodH", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-h", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-h", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_h, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_h: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_h ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodH", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_h_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_h_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant **out_arg_h, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(@h)", 1869s # out_arg_h); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_h_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_h_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant **out_arg_h, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodH", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(@h)", 1869s # out_arg_h); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_h: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_h: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_h ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # GVariant *arg_h) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(@h)", 1869s # arg_h)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpcpcya6z4.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpcpcya6z4.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_ay", 1869s # (gchar *) "ay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAy", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-ay", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-ay", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ay: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_ay ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAy", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_ay, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^ay)", 1869s # out_arg_ay); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar **out_arg_ay, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAy", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^ay)", 1869s # out_arg_ay); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_ay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_ay: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_ay ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *arg_ay) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(^ay)", 1869s # arg_ay)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmp6m_8nry9.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmp6m_8nry9.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_as", 1869s # (gchar *) "as", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAs", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-as", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-as", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_as, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_as: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_as ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAs", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_as_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_as_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar ***out_arg_as, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^as)", 1869s # out_arg_as); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_as_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_as_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar ***out_arg_as, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAs", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^as)", 1869s # out_arg_as); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_as: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_as: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_as ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *const *arg_as) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(^as)", 1869s # arg_as)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmpkes3y112.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmpkes3y112.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_ao", 1869s # (gchar *) "ao", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAo", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-ao", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-ao", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ao: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_ao ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAo", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar ***out_arg_ao, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^ao)", 1869s # out_arg_ao); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar ***out_arg_ao, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAo", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^ao)", 1869s # out_arg_ao); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_ao: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_ao: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_ao ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *const *arg_ao) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(^ao)", 1869s # arg_ao)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmp59j1oksu.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmp59j1oksu.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_aay", 1869s # (gchar *) "aay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAay", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-aay", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-aay", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_aay: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_aay ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAay", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar ***out_arg_aay, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^aay)", 1869s # out_arg_aay); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # gchar ***out_arg_aay, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAay", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(^aay)", 1869s # out_arg_aay); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_aay: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_aay: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_aay ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # const gchar *const *arg_aay) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(^aay)", 1869s # arg_aay)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s # /tmp/tmpx_lfp6pl/tmppm9taxra.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx_lfp6pl/tmppm9taxra.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.UsefulInterface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectUsefulInterface 1869s # * @title: OrgProjectUsefulInterface 1869s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "arg_asv", 1869s # (gchar *) "a{sv}", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SingleArgMethodAsv", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-single-arg-method-asv", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1869s # { 1869s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.UsefulInterface", 1869s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-useful-interface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_useful_interface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1869s # */ 1869s # 1869s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-single-arg-method-asv", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_asv: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_useful_interface_call_single_arg_method_asv ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAsv", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant **out_arg_asv, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(@a{sv})", 1869s # out_arg_asv); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1869s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1869s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1869s # OrgProjectUsefulInterface *proxy, 1869s # GVariant **out_arg_asv, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SingleArgMethodAsv", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(@a{sv})", 1869s # out_arg_asv); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_complete_single_arg_method_asv: 1869s # * @object: A #OrgProjectUsefulInterface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @arg_asv: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_useful_interface_complete_single_arg_method_asv ( 1869s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # GVariant *arg_asv) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(@a{sv})", 1869s # arg_asv)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxy: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1869s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1869s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_useful_interface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeleton: 1869s # * 1869s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectUsefulInterfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_useful_interface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_useful_interface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_useful_interface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1869s # { 1869s # _org_project_useful_interface_skeleton_handle_method_call, 1869s # _org_project_useful_interface_skeleton_handle_get_property, 1869s # _org_project_useful_interface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_useful_interface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_useful_interface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_useful_interface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectUsefulInterface * 1869s # org_project_useful_interface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1869s # } 1869s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1869s # tmpdir: /tmp/tmpjkpnij8l 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmpjkpnij8l/tmpaer6cme3.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjkpnij8l/tmpaer6cme3.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 20); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_boolean (param_values + 2), 1869s # g_marshal_value_peek_uchar (param_values + 3), 1869s # g_marshal_value_peek_int (param_values + 4), 1869s # g_marshal_value_peek_uint (param_values + 5), 1869s # g_marshal_value_peek_int (param_values + 6), 1869s # g_marshal_value_peek_uint (param_values + 7), 1869s # g_marshal_value_peek_int64 (param_values + 8), 1869s # g_marshal_value_peek_uint64 (param_values + 9), 1869s # g_marshal_value_peek_double (param_values + 10), 1869s # g_marshal_value_peek_string (param_values + 11), 1869s # g_marshal_value_peek_string (param_values + 12), 1869s # g_marshal_value_peek_string (param_values + 13), 1869s # g_marshal_value_peek_variant (param_values + 14), 1869s # g_marshal_value_peek_string (param_values + 15), 1869s # g_marshal_value_peek_boxed (param_values + 16), 1869s # g_marshal_value_peek_boxed (param_values + 17), 1869s # g_marshal_value_peek_boxed (param_values + 18), 1869s # g_marshal_value_peek_variant (param_values + 19), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.CallableIface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectCallableIface 1869s # * @title: OrgProjectCallableIface 1869s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.CallableIface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_b", 1869s # (gchar *) "b", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_y", 1869s # (gchar *) "y", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_n", 1869s # (gchar *) "n", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_q", 1869s # (gchar *) "q", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_i", 1869s # (gchar *) "i", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_u", 1869s # (gchar *) "u", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_x", 1869s # (gchar *) "x", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_t", 1869s # (gchar *) "t", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_d", 1869s # (gchar *) "d", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_s", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_o", 1869s # (gchar *) "o", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_g", 1869s # (gchar *) "g", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_h", 1869s # (gchar *) "h", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ay", 1869s # (gchar *) "ay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_as", 1869s # (gchar *) "as", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ao", 1869s # (gchar *) "ao", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_aay", 1869s # (gchar *) "aay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_asv", 1869s # (gchar *) "a{sv}", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "MethodWithManyArgs", 1869s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-method-with-many-args", 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_b", 1869s # (gchar *) "b", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_y", 1869s # (gchar *) "y", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_n", 1869s # (gchar *) "n", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_q", 1869s # (gchar *) "q", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_i", 1869s # (gchar *) "i", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_u", 1869s # (gchar *) "u", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_x", 1869s # (gchar *) "x", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_t", 1869s # (gchar *) "t", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_d", 1869s # (gchar *) "d", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_s", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_o", 1869s # (gchar *) "o", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_g", 1869s # (gchar *) "g", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_h", 1869s # (gchar *) "h", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ay", 1869s # (gchar *) "ay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_as", 1869s # (gchar *) "as", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ao", 1869s # (gchar *) "ao", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_aay", 1869s # (gchar *) "aay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_asv", 1869s # (gchar *) "a{sv}", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "SameMethodWithManyArgs", 1869s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-same-method-with-many-args", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1869s # { 1869s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1869s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.CallableIface", 1869s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-callable-iface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_callable_iface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_callable_iface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_callable_iface_method_marshal_method_with_many_args ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _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, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # inline static void 1869s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _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, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectCallableIface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1869s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.CallableIface. 1869s # */ 1869s # 1869s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectCallableIface::handle-method-with-many-args: 1869s # * @object: A #OrgProjectCallableIface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_an_b: Argument passed by remote caller. 1869s # * @arg_an_y: Argument passed by remote caller. 1869s # * @arg_an_n: Argument passed by remote caller. 1869s # * @arg_an_q: Argument passed by remote caller. 1869s # * @arg_an_i: Argument passed by remote caller. 1869s # * @arg_an_u: Argument passed by remote caller. 1869s # * @arg_an_x: Argument passed by remote caller. 1869s # * @arg_an_t: Argument passed by remote caller. 1869s # * @arg_an_d: Argument passed by remote caller. 1869s # * @arg_an_s: Argument passed by remote caller. 1869s # * @arg_an_o: Argument passed by remote caller. 1869s # * @arg_an_g: Argument passed by remote caller. 1869s # * @arg_an_h: Argument passed by remote caller. 1869s # * @arg_an_ay: Argument passed by remote caller. 1869s # * @arg_an_as: Argument passed by remote caller. 1869s # * @arg_an_ao: Argument passed by remote caller. 1869s # * @arg_an_aay: Argument passed by remote caller. 1869s # * @arg_an_asv: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-method-with-many-args", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_callable_iface_method_marshal_method_with_many_args, 1869s # G_TYPE_BOOLEAN, 1869s # 19, 1869s # 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); 1869s # 1869s # /** 1869s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1869s # * @object: A #OrgProjectCallableIface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_an_b: Argument passed by remote caller. 1869s # * @arg_an_y: Argument passed by remote caller. 1869s # * @arg_an_n: Argument passed by remote caller. 1869s # * @arg_an_q: Argument passed by remote caller. 1869s # * @arg_an_i: Argument passed by remote caller. 1869s # * @arg_an_u: Argument passed by remote caller. 1869s # * @arg_an_x: Argument passed by remote caller. 1869s # * @arg_an_t: Argument passed by remote caller. 1869s # * @arg_an_d: Argument passed by remote caller. 1869s # * @arg_an_s: Argument passed by remote caller. 1869s # * @arg_an_o: Argument passed by remote caller. 1869s # * @arg_an_g: Argument passed by remote caller. 1869s # * @arg_an_h: Argument passed by remote caller. 1869s # * @arg_an_ay: Argument passed by remote caller. 1869s # * @arg_an_as: Argument passed by remote caller. 1869s # * @arg_an_ao: Argument passed by remote caller. 1869s # * @arg_an_aay: Argument passed by remote caller. 1869s # * @arg_an_asv: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-same-method-with-many-args", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1869s # G_TYPE_BOOLEAN, 1869s # 19, 1869s # 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); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_method_with_many_args: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @arg_an_b: Argument to pass with the method invocation. 1869s # * @arg_an_y: Argument to pass with the method invocation. 1869s # * @arg_an_n: Argument to pass with the method invocation. 1869s # * @arg_an_q: Argument to pass with the method invocation. 1869s # * @arg_an_i: Argument to pass with the method invocation. 1869s # * @arg_an_u: Argument to pass with the method invocation. 1869s # * @arg_an_x: Argument to pass with the method invocation. 1869s # * @arg_an_t: Argument to pass with the method invocation. 1869s # * @arg_an_d: Argument to pass with the method invocation. 1869s # * @arg_an_s: Argument to pass with the method invocation. 1869s # * @arg_an_o: Argument to pass with the method invocation. 1869s # * @arg_an_g: Argument to pass with the method invocation. 1869s # * @arg_an_h: Argument to pass with the method invocation. 1869s # * @arg_an_ay: Argument to pass with the method invocation. 1869s # * @arg_an_as: Argument to pass with the method invocation. 1869s # * @arg_an_ao: Argument to pass with the method invocation. 1869s # * @arg_an_aay: Argument to pass with the method invocation. 1869s # * @arg_an_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_callable_iface_call_method_with_many_args ( 1869s # OrgProjectCallableIface *proxy, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "MethodWithManyArgs", 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # arg_an_b, 1869s # arg_an_y, 1869s # arg_an_n, 1869s # arg_an_q, 1869s # arg_an_i, 1869s # arg_an_u, 1869s # arg_an_x, 1869s # arg_an_t, 1869s # arg_an_d, 1869s # arg_an_s, 1869s # arg_an_o, 1869s # arg_an_g, 1869s # arg_an_h, 1869s # arg_an_ay, 1869s # arg_an_as, 1869s # arg_an_ao, 1869s # arg_an_aay, 1869s # arg_an_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_method_with_many_args_finish: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_callable_iface_call_method_with_many_args_finish ( 1869s # OrgProjectCallableIface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_method_with_many_args_sync: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @arg_an_b: Argument to pass with the method invocation. 1869s # * @arg_an_y: Argument to pass with the method invocation. 1869s # * @arg_an_n: Argument to pass with the method invocation. 1869s # * @arg_an_q: Argument to pass with the method invocation. 1869s # * @arg_an_i: Argument to pass with the method invocation. 1869s # * @arg_an_u: Argument to pass with the method invocation. 1869s # * @arg_an_x: Argument to pass with the method invocation. 1869s # * @arg_an_t: Argument to pass with the method invocation. 1869s # * @arg_an_d: Argument to pass with the method invocation. 1869s # * @arg_an_s: Argument to pass with the method invocation. 1869s # * @arg_an_o: Argument to pass with the method invocation. 1869s # * @arg_an_g: Argument to pass with the method invocation. 1869s # * @arg_an_h: Argument to pass with the method invocation. 1869s # * @arg_an_ay: Argument to pass with the method invocation. 1869s # * @arg_an_as: Argument to pass with the method invocation. 1869s # * @arg_an_ao: Argument to pass with the method invocation. 1869s # * @arg_an_aay: Argument to pass with the method invocation. 1869s # * @arg_an_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_callable_iface_call_method_with_many_args_sync ( 1869s # OrgProjectCallableIface *proxy, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "MethodWithManyArgs", 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # arg_an_b, 1869s # arg_an_y, 1869s # arg_an_n, 1869s # arg_an_q, 1869s # arg_an_i, 1869s # arg_an_u, 1869s # arg_an_x, 1869s # arg_an_t, 1869s # arg_an_d, 1869s # arg_an_s, 1869s # arg_an_o, 1869s # arg_an_g, 1869s # arg_an_h, 1869s # arg_an_ay, 1869s # arg_an_as, 1869s # arg_an_ao, 1869s # arg_an_aay, 1869s # arg_an_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_same_method_with_many_args: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @arg_an_b: Argument to pass with the method invocation. 1869s # * @arg_an_y: Argument to pass with the method invocation. 1869s # * @arg_an_n: Argument to pass with the method invocation. 1869s # * @arg_an_q: Argument to pass with the method invocation. 1869s # * @arg_an_i: Argument to pass with the method invocation. 1869s # * @arg_an_u: Argument to pass with the method invocation. 1869s # * @arg_an_x: Argument to pass with the method invocation. 1869s # * @arg_an_t: Argument to pass with the method invocation. 1869s # * @arg_an_d: Argument to pass with the method invocation. 1869s # * @arg_an_s: Argument to pass with the method invocation. 1869s # * @arg_an_o: Argument to pass with the method invocation. 1869s # * @arg_an_g: Argument to pass with the method invocation. 1869s # * @arg_an_h: Argument to pass with the method invocation. 1869s # * @arg_an_ay: Argument to pass with the method invocation. 1869s # * @arg_an_as: Argument to pass with the method invocation. 1869s # * @arg_an_ao: Argument to pass with the method invocation. 1869s # * @arg_an_aay: Argument to pass with the method invocation. 1869s # * @arg_an_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_callable_iface_call_same_method_with_many_args ( 1869s # OrgProjectCallableIface *proxy, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "SameMethodWithManyArgs", 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # arg_an_b, 1869s # arg_an_y, 1869s # arg_an_n, 1869s # arg_an_q, 1869s # arg_an_i, 1869s # arg_an_u, 1869s # arg_an_x, 1869s # arg_an_t, 1869s # arg_an_d, 1869s # arg_an_s, 1869s # arg_an_o, 1869s # arg_an_g, 1869s # arg_an_h, 1869s # arg_an_ay, 1869s # arg_an_as, 1869s # arg_an_ao, 1869s # arg_an_aay, 1869s # arg_an_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1869s # OrgProjectCallableIface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @arg_an_b: Argument to pass with the method invocation. 1869s # * @arg_an_y: Argument to pass with the method invocation. 1869s # * @arg_an_n: Argument to pass with the method invocation. 1869s # * @arg_an_q: Argument to pass with the method invocation. 1869s # * @arg_an_i: Argument to pass with the method invocation. 1869s # * @arg_an_u: Argument to pass with the method invocation. 1869s # * @arg_an_x: Argument to pass with the method invocation. 1869s # * @arg_an_t: Argument to pass with the method invocation. 1869s # * @arg_an_d: Argument to pass with the method invocation. 1869s # * @arg_an_s: Argument to pass with the method invocation. 1869s # * @arg_an_o: Argument to pass with the method invocation. 1869s # * @arg_an_g: Argument to pass with the method invocation. 1869s # * @arg_an_h: Argument to pass with the method invocation. 1869s # * @arg_an_ay: Argument to pass with the method invocation. 1869s # * @arg_an_as: Argument to pass with the method invocation. 1869s # * @arg_an_ao: Argument to pass with the method invocation. 1869s # * @arg_an_aay: Argument to pass with the method invocation. 1869s # * @arg_an_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1869s # OrgProjectCallableIface *proxy, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "SameMethodWithManyArgs", 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # arg_an_b, 1869s # arg_an_y, 1869s # arg_an_n, 1869s # arg_an_q, 1869s # arg_an_i, 1869s # arg_an_u, 1869s # arg_an_x, 1869s # arg_an_t, 1869s # arg_an_d, 1869s # arg_an_s, 1869s # arg_an_o, 1869s # arg_an_g, 1869s # arg_an_h, 1869s # arg_an_ay, 1869s # arg_an_as, 1869s # arg_an_ao, 1869s # arg_an_aay, 1869s # arg_an_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_complete_method_with_many_args: 1869s # * @object: A #OrgProjectCallableIface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_callable_iface_complete_method_with_many_args ( 1869s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_complete_same_method_with_many_args: 1869s # * @object: A #OrgProjectCallableIface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_callable_iface_complete_same_method_with_many_args ( 1869s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceProxy: 1869s # * 1869s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectCallableIfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectCallableIfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_callable_iface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1869s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1869s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_callable_iface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_callable_iface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceSkeleton: 1869s # * 1869s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectCallableIfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_callable_iface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_callable_iface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_callable_iface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1869s # { 1869s # _org_project_callable_iface_skeleton_handle_method_call, 1869s # _org_project_callable_iface_skeleton_handle_get_property, 1869s # _org_project_callable_iface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_callable_iface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_callable_iface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.OtherCallableIface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectOtherCallableIface 1869s # * @title: OrgProjectOtherCallableIface 1869s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_b", 1869s # (gchar *) "b", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_y", 1869s # (gchar *) "y", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_n", 1869s # (gchar *) "n", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_q", 1869s # (gchar *) "q", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_i", 1869s # (gchar *) "i", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_u", 1869s # (gchar *) "u", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_x", 1869s # (gchar *) "x", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_t", 1869s # (gchar *) "t", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_d", 1869s # (gchar *) "d", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_s", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_o", 1869s # (gchar *) "o", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_g", 1869s # (gchar *) "g", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_h", 1869s # (gchar *) "h", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ay", 1869s # (gchar *) "ay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_as", 1869s # (gchar *) "as", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ao", 1869s # (gchar *) "ao", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_aay", 1869s # (gchar *) "aay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_asv", 1869s # (gchar *) "a{sv}", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1869s # { 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "MethodWithManyArgs", 1869s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "handle-method-with-many-args", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1869s # { 1869s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.OtherCallableIface", 1869s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-other-callable-iface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_other_callable_iface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _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, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectOtherCallableIface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectOtherCallableIfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1869s # */ 1869s # 1869s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1869s # * @object: A #OrgProjectOtherCallableIface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @arg_an_b: Argument passed by remote caller. 1869s # * @arg_an_y: Argument passed by remote caller. 1869s # * @arg_an_n: Argument passed by remote caller. 1869s # * @arg_an_q: Argument passed by remote caller. 1869s # * @arg_an_i: Argument passed by remote caller. 1869s # * @arg_an_u: Argument passed by remote caller. 1869s # * @arg_an_x: Argument passed by remote caller. 1869s # * @arg_an_t: Argument passed by remote caller. 1869s # * @arg_an_d: Argument passed by remote caller. 1869s # * @arg_an_s: Argument passed by remote caller. 1869s # * @arg_an_o: Argument passed by remote caller. 1869s # * @arg_an_g: Argument passed by remote caller. 1869s # * @arg_an_h: Argument passed by remote caller. 1869s # * @arg_an_ay: Argument passed by remote caller. 1869s # * @arg_an_as: Argument passed by remote caller. 1869s # * @arg_an_ao: Argument passed by remote caller. 1869s # * @arg_an_aay: Argument passed by remote caller. 1869s # * @arg_an_asv: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-method-with-many-args", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1869s # G_TYPE_BOOLEAN, 1869s # 19, 1869s # 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); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_call_method_with_many_args: 1869s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1869s # * @arg_an_b: Argument to pass with the method invocation. 1869s # * @arg_an_y: Argument to pass with the method invocation. 1869s # * @arg_an_n: Argument to pass with the method invocation. 1869s # * @arg_an_q: Argument to pass with the method invocation. 1869s # * @arg_an_i: Argument to pass with the method invocation. 1869s # * @arg_an_u: Argument to pass with the method invocation. 1869s # * @arg_an_x: Argument to pass with the method invocation. 1869s # * @arg_an_t: Argument to pass with the method invocation. 1869s # * @arg_an_d: Argument to pass with the method invocation. 1869s # * @arg_an_s: Argument to pass with the method invocation. 1869s # * @arg_an_o: Argument to pass with the method invocation. 1869s # * @arg_an_g: Argument to pass with the method invocation. 1869s # * @arg_an_h: Argument to pass with the method invocation. 1869s # * @arg_an_ay: Argument to pass with the method invocation. 1869s # * @arg_an_as: Argument to pass with the method invocation. 1869s # * @arg_an_ao: Argument to pass with the method invocation. 1869s # * @arg_an_aay: Argument to pass with the method invocation. 1869s # * @arg_an_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_other_callable_iface_call_method_with_many_args ( 1869s # OrgProjectOtherCallableIface *proxy, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "MethodWithManyArgs", 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # arg_an_b, 1869s # arg_an_y, 1869s # arg_an_n, 1869s # arg_an_q, 1869s # arg_an_i, 1869s # arg_an_u, 1869s # arg_an_x, 1869s # arg_an_t, 1869s # arg_an_d, 1869s # arg_an_s, 1869s # arg_an_o, 1869s # arg_an_g, 1869s # arg_an_h, 1869s # arg_an_ay, 1869s # arg_an_as, 1869s # arg_an_ao, 1869s # arg_an_aay, 1869s # arg_an_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1869s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1869s # OrgProjectOtherCallableIface *proxy, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1869s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1869s # * @arg_an_b: Argument to pass with the method invocation. 1869s # * @arg_an_y: Argument to pass with the method invocation. 1869s # * @arg_an_n: Argument to pass with the method invocation. 1869s # * @arg_an_q: Argument to pass with the method invocation. 1869s # * @arg_an_i: Argument to pass with the method invocation. 1869s # * @arg_an_u: Argument to pass with the method invocation. 1869s # * @arg_an_x: Argument to pass with the method invocation. 1869s # * @arg_an_t: Argument to pass with the method invocation. 1869s # * @arg_an_d: Argument to pass with the method invocation. 1869s # * @arg_an_s: Argument to pass with the method invocation. 1869s # * @arg_an_o: Argument to pass with the method invocation. 1869s # * @arg_an_g: Argument to pass with the method invocation. 1869s # * @arg_an_h: Argument to pass with the method invocation. 1869s # * @arg_an_ay: Argument to pass with the method invocation. 1869s # * @arg_an_as: Argument to pass with the method invocation. 1869s # * @arg_an_ao: Argument to pass with the method invocation. 1869s # * @arg_an_aay: Argument to pass with the method invocation. 1869s # * @arg_an_asv: Argument to pass with the method invocation. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1869s # OrgProjectOtherCallableIface *proxy, 1869s # gboolean arg_an_b, 1869s # guchar arg_an_y, 1869s # gint16 arg_an_n, 1869s # guint16 arg_an_q, 1869s # gint arg_an_i, 1869s # guint arg_an_u, 1869s # gint64 arg_an_x, 1869s # guint64 arg_an_t, 1869s # gdouble arg_an_d, 1869s # const gchar *arg_an_s, 1869s # const gchar *arg_an_o, 1869s # const gchar *arg_an_g, 1869s # GVariant *arg_an_h, 1869s # const gchar *arg_an_ay, 1869s # const gchar *const *arg_an_as, 1869s # const gchar *const *arg_an_ao, 1869s # const gchar *const *arg_an_aay, 1869s # GVariant *arg_an_asv, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "MethodWithManyArgs", 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # arg_an_b, 1869s # arg_an_y, 1869s # arg_an_n, 1869s # arg_an_q, 1869s # arg_an_i, 1869s # arg_an_u, 1869s # arg_an_x, 1869s # arg_an_t, 1869s # arg_an_d, 1869s # arg_an_s, 1869s # arg_an_o, 1869s # arg_an_g, 1869s # arg_an_h, 1869s # arg_an_ay, 1869s # arg_an_as, 1869s # arg_an_ao, 1869s # arg_an_aay, 1869s # arg_an_asv), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "()"); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_complete_method_with_many_args: 1869s # * @object: A #OrgProjectOtherCallableIface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_other_callable_iface_complete_method_with_many_args ( 1869s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("()")); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectOtherCallableIfaceProxy: 1869s # * 1869s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectOtherCallableIfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1869s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1869s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_other_callable_iface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectOtherCallableIface * 1869s # org_project_other_callable_iface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectOtherCallableIface * 1869s # org_project_other_callable_iface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_other_callable_iface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectOtherCallableIface * 1869s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectOtherCallableIface * 1869s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectOtherCallableIfaceSkeleton: 1869s # * 1869s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectOtherCallableIfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1869s # { 1869s # _org_project_other_callable_iface_skeleton_handle_method_call, 1869s # _org_project_other_callable_iface_skeleton_handle_get_property, 1869s # _org_project_other_callable_iface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_other_callable_iface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_other_callable_iface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectOtherCallableIface * 1869s # org_project_other_callable_iface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1869s # } 1869s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1869s # tmpdir: /tmp/tmp5lptuj1s 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmp5lptuj1s/tmpmqztenh6.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5lptuj1s/tmpmqztenh6.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (void *data1, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 2); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface org.project.CallableIface 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:OrgProjectCallableIface 1869s # * @title: OrgProjectCallableIface 1869s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1869s # * 1869s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for org.project.CallableIface ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_b", 1869s # (gchar *) "b", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_y", 1869s # (gchar *) "y", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_n", 1869s # (gchar *) "n", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_q", 1869s # (gchar *) "q", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_i", 1869s # (gchar *) "i", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_u", 1869s # (gchar *) "u", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_x", 1869s # (gchar *) "x", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_t", 1869s # (gchar *) "t", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_d", 1869s # (gchar *) "d", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_s", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_o", 1869s # (gchar *) "o", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_g", 1869s # (gchar *) "g", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_h", 1869s # (gchar *) "h", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ay", 1869s # (gchar *) "ay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_as", 1869s # (gchar *) "as", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_ao", 1869s # (gchar *) "ao", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_aay", 1869s # (gchar *) "aay", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "an_asv", 1869s # (gchar *) "a{sv}", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1869s # { 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1869s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "MethodWithManyArgs", 1869s # NULL, 1869s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-method-with-many-args", 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1869s # { 1869s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "org.project.CallableIface", 1869s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "org-project-callable-iface", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * org_project_callable_iface_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # org_project_callable_iface_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # org_project_callable_iface_method_marshal_method_with_many_args ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * OrgProjectCallableIface: 1869s # * 1869s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1869s # * 1869s # * Virtual table for the D-Bus interface org.project.CallableIface. 1869s # */ 1869s # 1869s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1869s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * OrgProjectCallableIface::handle-method-with-many-args: 1869s # * @object: A #OrgProjectCallableIface. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-method-with-many-args", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # org_project_callable_iface_method_marshal_method_with_many_args, 1869s # G_TYPE_BOOLEAN, 1869s # 1, 1869s # G_TYPE_DBUS_METHOD_INVOCATION); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_method_with_many_args: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # org_project_callable_iface_call_method_with_many_args ( 1869s # OrgProjectCallableIface *proxy, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1869s # "MethodWithManyArgs", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_method_with_many_args_finish: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_callable_iface_call_method_with_many_args_finish ( 1869s # OrgProjectCallableIface *proxy, 1869s # gboolean *out_an_b, 1869s # guchar *out_an_y, 1869s # gint16 *out_an_n, 1869s # guint16 *out_an_q, 1869s # gint *out_an_i, 1869s # guint *out_an_u, 1869s # gint64 *out_an_x, 1869s # guint64 *out_an_t, 1869s # gdouble *out_an_d, 1869s # gchar **out_an_s, 1869s # gchar **out_an_o, 1869s # gchar **out_an_g, 1869s # GVariant **out_an_h, 1869s # gchar **out_an_ay, 1869s # gchar ***out_an_as, 1869s # gchar ***out_an_ao, 1869s # gchar ***out_an_aay, 1869s # GVariant **out_an_asv, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # out_an_b, 1869s # out_an_y, 1869s # out_an_n, 1869s # out_an_q, 1869s # out_an_i, 1869s # out_an_u, 1869s # out_an_x, 1869s # out_an_t, 1869s # out_an_d, 1869s # out_an_s, 1869s # out_an_o, 1869s # out_an_g, 1869s # out_an_h, 1869s # out_an_ay, 1869s # out_an_as, 1869s # out_an_ao, 1869s # out_an_aay, 1869s # out_an_asv); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_call_method_with_many_args_sync: 1869s # * @proxy: A #OrgProjectCallableIfaceProxy. 1869s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1869s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # org_project_callable_iface_call_method_with_many_args_sync ( 1869s # OrgProjectCallableIface *proxy, 1869s # gboolean *out_an_b, 1869s # guchar *out_an_y, 1869s # gint16 *out_an_n, 1869s # guint16 *out_an_q, 1869s # gint *out_an_i, 1869s # guint *out_an_u, 1869s # gint64 *out_an_x, 1869s # guint64 *out_an_t, 1869s # gdouble *out_an_d, 1869s # gchar **out_an_s, 1869s # gchar **out_an_o, 1869s # gchar **out_an_g, 1869s # GVariant **out_an_h, 1869s # gchar **out_an_ay, 1869s # gchar ***out_an_as, 1869s # gchar ***out_an_ao, 1869s # gchar ***out_an_aay, 1869s # GVariant **out_an_asv, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1869s # "MethodWithManyArgs", 1869s # g_variant_new ("()"), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # out_an_b, 1869s # out_an_y, 1869s # out_an_n, 1869s # out_an_q, 1869s # out_an_i, 1869s # out_an_u, 1869s # out_an_x, 1869s # out_an_t, 1869s # out_an_d, 1869s # out_an_s, 1869s # out_an_o, 1869s # out_an_g, 1869s # out_an_h, 1869s # out_an_ay, 1869s # out_an_as, 1869s # out_an_ao, 1869s # out_an_aay, 1869s # out_an_asv); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_complete_method_with_many_args: 1869s # * @object: A #OrgProjectCallableIface. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @an_b: Parameter to return. 1869s # * @an_y: Parameter to return. 1869s # * @an_n: Parameter to return. 1869s # * @an_q: Parameter to return. 1869s # * @an_i: Parameter to return. 1869s # * @an_u: Parameter to return. 1869s # * @an_x: Parameter to return. 1869s # * @an_t: Parameter to return. 1869s # * @an_d: Parameter to return. 1869s # * @an_s: Parameter to return. 1869s # * @an_o: Parameter to return. 1869s # * @an_g: Parameter to return. 1869s # * @an_h: Parameter to return. 1869s # * @an_ay: Parameter to return. 1869s # * @an_as: Parameter to return. 1869s # * @an_ao: Parameter to return. 1869s # * @an_aay: Parameter to return. 1869s # * @an_asv: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # org_project_callable_iface_complete_method_with_many_args ( 1869s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # gboolean an_b, 1869s # guchar an_y, 1869s # gint16 an_n, 1869s # guint16 an_q, 1869s # gint an_i, 1869s # guint an_u, 1869s # gint64 an_x, 1869s # guint64 an_t, 1869s # gdouble an_d, 1869s # const gchar *an_s, 1869s # const gchar *an_o, 1869s # const gchar *an_g, 1869s # GVariant *an_h, 1869s # const gchar *an_ay, 1869s # const gchar *const *an_as, 1869s # const gchar *const *an_ao, 1869s # const gchar *const *an_aay, 1869s # GVariant *an_asv) 1869s # { 1869s # g_dbus_method_invocation_return_value (invocation, 1869s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1869s # an_b, 1869s # an_y, 1869s # an_n, 1869s # an_q, 1869s # an_i, 1869s # an_u, 1869s # an_x, 1869s # an_t, 1869s # an_d, 1869s # an_s, 1869s # an_o, 1869s # an_g, 1869s # an_h, 1869s # an_ay, 1869s # an_as, 1869s # an_ao, 1869s # an_aay, 1869s # an_asv)); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceProxy: 1869s # * 1869s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectCallableIfaceProxy. 1869s # */ 1869s # 1869s # struct _OrgProjectCallableIfaceProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_callable_iface_proxy_finalize (GObject *object) 1869s # { 1869s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1869s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1869s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1869s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_callable_iface_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # org_project_callable_iface_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceSkeleton: 1869s # * 1869s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * OrgProjectCallableIfaceSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1869s # */ 1869s # 1869s # struct _OrgProjectCallableIfaceSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _org_project_callable_iface_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _org_project_callable_iface_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _org_project_callable_iface_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1869s # { 1869s # _org_project_callable_iface_skeleton_handle_method_call, 1869s # _org_project_callable_iface_skeleton_handle_get_property, 1869s # _org_project_callable_iface_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return org_project_callable_iface_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # org_project_callable_iface_skeleton_finalize (GObject *object) 1869s # { 1869s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * org_project_callable_iface_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1869s # * 1869s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1869s # */ 1869s # OrgProjectCallableIface * 1869s # org_project_callable_iface_skeleton_new (void) 1869s # { 1869s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1869s # } 1869s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1869s # tmpdir: /tmp/tmp9wggomwb 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmp9wggomwb/tmpgwllt1n2.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9wggomwb/tmpgwllt1n2.xml', '--output', '-', '--body'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: /* 1869s # * This file is generated by gdbus-codegen, do not modify it. 1869s # * 1869s # * The license of this code is the same as for the D-Bus interface description 1869s # * it was derived from. Note that it links to GLib, so must comply with the 1869s # * LGPL linking clauses. 1869s # */ 1869s # 1869s # #ifdef HAVE_CONFIG_H 1869s # # include "config.h" 1869s # #endif 1869s # 1869s # #include 1869s # #ifdef G_OS_UNIX 1869s # # include 1869s # #endif 1869s # 1869s # #ifdef G_ENABLE_DEBUG 1869s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1869s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1869s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1869s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1869s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1869s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1869s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1869s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1869s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1869s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1869s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1869s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1869s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1869s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1869s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1869s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1869s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1869s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1869s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1869s # #else /* !G_ENABLE_DEBUG */ 1869s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1869s # * Do not access GValues directly in your code. Instead, use the 1869s # * g_value_get_*() functions 1869s # */ 1869s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1869s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1869s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1869s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1869s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1869s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1869s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1869s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1869s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1869s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1869s # #endif /* !G_ENABLE_DEBUG */ 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusArgInfo parent_struct; 1869s # gboolean use_gvariant; 1869s # } _ExtendedGDBusArgInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusMethodInfo parent_struct; 1869s # const gchar *signal_name; 1869s # gboolean pass_fdlist; 1869s # } _ExtendedGDBusMethodInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusSignalInfo parent_struct; 1869s # const gchar *signal_name; 1869s # } _ExtendedGDBusSignalInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusPropertyInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # guint use_gvariant : 1; 1869s # guint emits_changed_signal : 1; 1869s # } _ExtendedGDBusPropertyInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # GDBusInterfaceInfo parent_struct; 1869s # const gchar *hyphen_name; 1869s # } _ExtendedGDBusInterfaceInfo; 1869s # 1869s # typedef struct 1869s # { 1869s # const _ExtendedGDBusPropertyInfo *info; 1869s # guint prop_id; 1869s # GValue orig_value; /* the value before the change */ 1869s # } ChangedProperty; 1869s # 1869s # static void 1869s # _changed_property_free (ChangedProperty *data) 1869s # { 1869s # g_value_unset (&data->orig_value); 1869s # g_free (data); 1869s # } 1869s # 1869s # static gboolean 1869s # _g_strv_equal0 (gchar **a, gchar **b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # guint n; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # if (g_strv_length (a) != g_strv_length (b)) 1869s # goto out; 1869s # for (n = 0; a[n] != NULL; n++) 1869s # if (g_strcmp0 (a[n], b[n]) != 0) 1869s # goto out; 1869s # ret = TRUE; 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _g_variant_equal0 (GVariant *a, GVariant *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # if (a == NULL && b == NULL) 1869s # { 1869s # ret = TRUE; 1869s # goto out; 1869s # } 1869s # if (a == NULL || b == NULL) 1869s # goto out; 1869s # ret = g_variant_equal (a, b); 1869s # out: 1869s # return ret; 1869s # } 1869s # 1869s # G_GNUC_UNUSED static gboolean 1869s # _g_value_equal (const GValue *a, const GValue *b) 1869s # { 1869s # gboolean ret = FALSE; 1869s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1869s # switch (G_VALUE_TYPE (a)) 1869s # { 1869s # case G_TYPE_BOOLEAN: 1869s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1869s # break; 1869s # case G_TYPE_UCHAR: 1869s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1869s # break; 1869s # case G_TYPE_INT: 1869s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1869s # break; 1869s # case G_TYPE_UINT: 1869s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1869s # break; 1869s # case G_TYPE_INT64: 1869s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1869s # break; 1869s # case G_TYPE_UINT64: 1869s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1869s # break; 1869s # case G_TYPE_DOUBLE: 1869s # { 1869s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1869s # gdouble da = g_value_get_double (a); 1869s # gdouble db = g_value_get_double (b); 1869s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1869s # } 1869s # break; 1869s # case G_TYPE_STRING: 1869s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1869s # break; 1869s # case G_TYPE_VARIANT: 1869s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1869s # break; 1869s # default: 1869s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1869s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1869s # else 1869s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1869s # break; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static void 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint G_GNUC_UNUSED, 1869s # void *marshal_data) 1869s # { 1869s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1869s # (void *data1, 1869s # GUnixFDList *arg_fd_list, 1869s # GDBusMethodInvocation *arg_method_invocation, 1869s # const gchar *arg_greeting, 1869s # void *data2); 1869s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1869s # GCClosure *cc = (GCClosure*) closure; 1869s # void *data1, *data2; 1869s # gboolean v_return; 1869s # 1869s # g_return_if_fail (return_value != NULL); 1869s # g_return_if_fail (n_param_values == 4); 1869s # 1869s # if (G_CCLOSURE_SWAP_DATA (closure)) 1869s # { 1869s # data1 = closure->data; 1869s # data2 = g_value_peek_pointer (param_values + 0); 1869s # } 1869s # else 1869s # { 1869s # data1 = g_value_peek_pointer (param_values + 0); 1869s # data2 = closure->data; 1869s # } 1869s # 1869s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1869s # (marshal_data ? marshal_data : cc->callback); 1869s # 1869s # v_return = 1869s # callback (data1, 1869s # g_marshal_value_peek_object (param_values + 1), 1869s # g_marshal_value_peek_object (param_values + 2), 1869s # g_marshal_value_peek_string (param_values + 3), 1869s # data2); 1869s # 1869s # g_value_set_boolean (return_value, v_return); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ 1869s # * Code for interface test.FDPassing 1869s # * ------------------------------------------------------------------------ 1869s # */ 1869s # 1869s # /** 1869s # * SECTION:TestFDPassing 1869s # * @title: TestFDPassing 1869s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1869s # * 1869s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1869s # */ 1869s # 1869s # /* ---- Introspection data for test.FDPassing ---- */ 1869s # 1869s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "greeting", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1869s # { 1869s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "response", 1869s # (gchar *) "s", 1869s # NULL 1869s # }, 1869s # FALSE 1869s # }; 1869s # 1869s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1869s # { 1869s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "HelloFD", 1869s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1869s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1869s # NULL 1869s # }, 1869s # "handle-hello-fd", 1869s # TRUE 1869s # }; 1869s # 1869s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1869s # { 1869s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1869s # NULL 1869s # }; 1869s # 1869s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1869s # { 1869s # { 1869s # -1, 1869s # (gchar *) "test.FDPassing", 1869s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1869s # NULL, 1869s # NULL, 1869s # NULL 1869s # }, 1869s # "test-fdpassing", 1869s # }; 1869s # 1869s # 1869s # /** 1869s # * test_fdpassing_interface_info: 1869s # * 1869s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1869s # * 1869s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1869s # */ 1869s # GDBusInterfaceInfo * 1869s # test_fdpassing_interface_info (void) 1869s # { 1869s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_override_properties: 1869s # * @klass: The class structure for a #GObject derived class. 1869s # * @property_id_begin: The property id to assign to the first overridden property. 1869s # * 1869s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1869s # * The properties are overridden in the order they are defined. 1869s # * 1869s # * Returns: The last property id. 1869s # */ 1869s # guint 1869s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1869s # { 1869s # return property_id_begin - 1; 1869s # } 1869s # 1869s # 1869s # inline static void 1869s # test_fdpassing_method_marshal_hello_fd ( 1869s # GClosure *closure, 1869s # GValue *return_value, 1869s # unsigned int n_param_values, 1869s # const GValue *param_values, 1869s # void *invocation_hint, 1869s # void *marshal_data) 1869s # { 1869s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1869s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1869s # } 1869s # 1869s # 1869s # /** 1869s # * TestFDPassing: 1869s # * 1869s # * Abstract interface type for the D-Bus interface test.FDPassing. 1869s # */ 1869s # 1869s # /** 1869s # * TestFDPassingIface: 1869s # * @parent_iface: The parent interface. 1869s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1869s # * 1869s # * Virtual table for the D-Bus interface test.FDPassing. 1869s # */ 1869s # 1869s # typedef TestFDPassingIface TestFDPassingInterface; 1869s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1869s # 1869s # static void 1869s # test_fdpassing_default_init (TestFDPassingIface *iface) 1869s # { 1869s # /* GObject signals for incoming D-Bus method calls: */ 1869s # /** 1869s # * TestFDPassing::handle-hello-fd: 1869s # * @object: A #TestFDPassing. 1869s # * @invocation: A #GDBusMethodInvocation. 1869s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1869s # * @arg_greeting: Argument passed by remote caller. 1869s # * 1869s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1869s # * 1869s # * 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. 1869s # * 1869s # * 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. 1869s # */ 1869s # g_signal_new ("handle-hello-fd", 1869s # G_TYPE_FROM_INTERFACE (iface), 1869s # G_SIGNAL_RUN_LAST, 1869s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1869s # g_signal_accumulator_true_handled, 1869s # NULL, 1869s # test_fdpassing_method_marshal_hello_fd, 1869s # G_TYPE_BOOLEAN, 1869s # 3, 1869s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1869s # 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_call_hello_fd: 1869s # * @proxy: A #TestFDPassingProxy. 1869s # * @arg_greeting: Argument to pass with the method invocation. 1869s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1869s # * 1869s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1869s # */ 1869s # void 1869s # test_fdpassing_call_hello_fd ( 1869s # TestFDPassing *proxy, 1869s # const gchar *arg_greeting, 1869s # GUnixFDList *fd_list, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1869s # "HelloFD", 1869s # g_variant_new ("(s)", 1869s # arg_greeting), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # fd_list, 1869s # cancellable, 1869s # callback, 1869s # user_data); 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_call_hello_fd_finish: 1869s # * @proxy: A #TestFDPassingProxy. 1869s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # test_fdpassing_call_hello_fd_finish ( 1869s # TestFDPassing *proxy, 1869s # gchar **out_response, 1869s # GUnixFDList **out_fd_list, 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(s)", 1869s # out_response); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_call_hello_fd_sync: 1869s # * @proxy: A #TestFDPassingProxy. 1869s # * @arg_greeting: Argument to pass with the method invocation. 1869s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1869s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1869s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL. 1869s # * 1869s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1869s # * 1869s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1869s # * 1869s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1869s # */ 1869s # gboolean 1869s # test_fdpassing_call_hello_fd_sync ( 1869s # TestFDPassing *proxy, 1869s # const gchar *arg_greeting, 1869s # GUnixFDList *fd_list, 1869s # gchar **out_response, 1869s # GUnixFDList **out_fd_list, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GVariant *_ret; 1869s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1869s # "HelloFD", 1869s # g_variant_new ("(s)", 1869s # arg_greeting), 1869s # G_DBUS_CALL_FLAGS_NONE, 1869s # -1, 1869s # fd_list, 1869s # out_fd_list, 1869s # cancellable, 1869s # error); 1869s # if (_ret == NULL) 1869s # goto _out; 1869s # g_variant_get (_ret, 1869s # "(s)", 1869s # out_response); 1869s # g_variant_unref (_ret); 1869s # _out: 1869s # return _ret != NULL; 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_complete_hello_fd: 1869s # * @object: A #TestFDPassing. 1869s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1869s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1869s # * @response: Parameter to return. 1869s # * 1869s # * 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. 1869s # * 1869s # * This method will free @invocation, you cannot use it afterwards. 1869s # */ 1869s # void 1869s # test_fdpassing_complete_hello_fd ( 1869s # TestFDPassing *object G_GNUC_UNUSED, 1869s # GDBusMethodInvocation *invocation, 1869s # GUnixFDList *fd_list, 1869s # const gchar *response) 1869s # { 1869s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1869s # g_variant_new ("(s)", 1869s # response), 1869s # fd_list); 1869s # } 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * TestFDPassingProxy: 1869s # * 1869s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * TestFDPassingProxyClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #TestFDPassingProxy. 1869s # */ 1869s # 1869s # struct _TestFDPassingProxyPrivate 1869s # { 1869s # GData *qdata; 1869s # }; 1869s # 1869s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1869s # G_ADD_PRIVATE (TestFDPassingProxy) 1869s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1869s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # test_fdpassing_proxy_finalize (GObject *object) 1869s # { 1869s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1869s # g_datalist_clear (&proxy->priv->qdata); 1869s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1869s # guint prop_id G_GNUC_UNUSED, 1869s # const GValue *value G_GNUC_UNUSED, 1869s # GParamSpec *pspec G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1869s # const gchar *sender_name G_GNUC_UNUSED, 1869s # const gchar *signal_name, 1869s # GVariant *parameters) 1869s # { 1869s # _ExtendedGDBusSignalInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # gsize n; 1869s # guint signal_id; 1869s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1869s # if (info == NULL) 1869s # return; 1869s # num_params = g_variant_n_children (parameters); 1869s # paramv = g_new0 (GValue, num_params + 1); 1869s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1869s # g_value_set_object (¶mv[0], proxy); 1869s # g_variant_iter_init (&iter, parameters); 1869s # n = 1; 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1869s # g_signal_emitv (paramv, signal_id, 0, NULL); 1869s # for (n = 0; n < num_params + 1; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1869s # GVariant *changed_properties, 1869s # const gchar *const *invalidated_properties) 1869s # { 1869s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1869s # guint n; 1869s # const gchar *key; 1869s # GVariantIter *iter; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # g_variant_get (changed_properties, "a{sv}", &iter); 1869s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1869s # g_datalist_remove_data (&proxy->priv->qdata, key); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # g_variant_iter_free (iter); 1869s # for (n = 0; invalidated_properties[n] != NULL; n++) 1869s # { 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1869s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1869s # if (info != NULL) 1869s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1869s # } 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1869s # #else 1869s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1869s # #endif 1869s # 1869s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusProxyClass *proxy_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1869s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1869s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1869s # 1869s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1869s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1869s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_proxy_new: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1869s # * 1869s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # test_fdpassing_proxy_new ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_proxy_new_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with test_fdpassing_proxy_new(). 1869s # * 1869s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # TestFDPassing * 1869s # test_fdpassing_proxy_new_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return TEST_FDPASSING (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_proxy_new_sync: 1869s # * @connection: A #GDBusConnection. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # TestFDPassing * 1869s # test_fdpassing_proxy_new_sync ( 1869s # GDBusConnection *connection, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return TEST_FDPASSING (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /** 1869s # * test_fdpassing_proxy_new_for_bus: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1869s # * @user_data: User data to pass to @callback. 1869s # * 1869s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1869s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1869s # * 1869s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1869s # */ 1869s # void 1869s # test_fdpassing_proxy_new_for_bus ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GAsyncReadyCallback callback, 1869s # gpointer user_data) 1869s # { 1869s # 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); 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_proxy_new_for_bus_finish: 1869s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1869s # * 1869s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # TestFDPassing * 1869s # test_fdpassing_proxy_new_for_bus_finish ( 1869s # GAsyncResult *res, 1869s # GError **error) 1869s # { 1869s # GObject *ret; 1869s # GObject *source_object; 1869s # source_object = g_async_result_get_source_object (res); 1869s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1869s # g_object_unref (source_object); 1869s # if (ret != NULL) 1869s # return TEST_FDPASSING (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_proxy_new_for_bus_sync: 1869s # * @bus_type: A #GBusType. 1869s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1869s # * @name: A bus name (well-known or unique). 1869s # * @object_path: An object path. 1869s # * @cancellable: (nullable): A #GCancellable or %NULL. 1869s # * @error: Return location for error or %NULL 1869s # * 1869s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1869s # * 1869s # * The calling thread is blocked until a reply is received. 1869s # * 1869s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1869s # * 1869s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1869s # */ 1869s # TestFDPassing * 1869s # test_fdpassing_proxy_new_for_bus_sync ( 1869s # GBusType bus_type, 1869s # GDBusProxyFlags flags, 1869s # const gchar *name, 1869s # const gchar *object_path, 1869s # GCancellable *cancellable, 1869s # GError **error) 1869s # { 1869s # GInitable *ret; 1869s # 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); 1869s # if (ret != NULL) 1869s # return TEST_FDPASSING (ret); 1869s # else 1869s # return NULL; 1869s # } 1869s # 1869s # 1869s # /* ------------------------------------------------------------------------ */ 1869s # 1869s # /** 1869s # * TestFDPassingSkeleton: 1869s # * 1869s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1869s # */ 1869s # 1869s # /** 1869s # * TestFDPassingSkeletonClass: 1869s # * @parent_class: The parent class. 1869s # * 1869s # * Class structure for #TestFDPassingSkeleton. 1869s # */ 1869s # 1869s # struct _TestFDPassingSkeletonPrivate 1869s # { 1869s # GValue *properties; 1869s # GList *changed_properties; 1869s # GSource *changed_properties_idle_source; 1869s # GMainContext *context; 1869s # GMutex lock; 1869s # }; 1869s # 1869s # static void 1869s # _test_fdpassing_skeleton_handle_method_call ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name, 1869s # const gchar *method_name, 1869s # GVariant *parameters, 1869s # GDBusMethodInvocation *invocation, 1869s # gpointer user_data) 1869s # { 1869s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1869s # _ExtendedGDBusMethodInfo *info; 1869s # GVariantIter iter; 1869s # GVariant *child; 1869s # GValue *paramv; 1869s # gsize num_params; 1869s # guint num_extra; 1869s # gsize n; 1869s # guint signal_id; 1869s # GValue return_value = G_VALUE_INIT; 1869s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1869s # g_assert (info != NULL); 1869s # num_params = g_variant_n_children (parameters); 1869s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1869s # n = 0; 1869s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1869s # g_value_set_object (¶mv[n++], skeleton); 1869s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1869s # g_value_set_object (¶mv[n++], invocation); 1869s # if (info->pass_fdlist) 1869s # { 1869s # #ifdef G_OS_UNIX 1869s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1869s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1869s # #else 1869s # g_assert_not_reached (); 1869s # #endif 1869s # } 1869s # g_variant_iter_init (&iter, parameters); 1869s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1869s # { 1869s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1869s # if (arg_info->use_gvariant) 1869s # { 1869s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1869s # g_value_set_variant (¶mv[n], child); 1869s # n++; 1869s # } 1869s # else 1869s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1869s # g_variant_unref (child); 1869s # } 1869s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1869s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1869s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1869s # if (!g_value_get_boolean (&return_value)) 1869s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1869s # g_value_unset (&return_value); 1869s # for (n = 0; n < num_params + num_extra; n++) 1869s # g_value_unset (¶mv[n]); 1869s # g_free (paramv); 1869s # } 1869s # 1869s # static GVariant * 1869s # _test_fdpassing_skeleton_handle_get_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # GVariant *ret; 1869s # ret = NULL; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # g_value_init (&value, pspec->value_type); 1869s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1869s # g_value_unset (&value); 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static gboolean 1869s # _test_fdpassing_skeleton_handle_set_property ( 1869s # GDBusConnection *connection G_GNUC_UNUSED, 1869s # const gchar *sender G_GNUC_UNUSED, 1869s # const gchar *object_path G_GNUC_UNUSED, 1869s # const gchar *interface_name G_GNUC_UNUSED, 1869s # const gchar *property_name, 1869s # GVariant *variant, 1869s # GError **error, 1869s # gpointer user_data) 1869s # { 1869s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1869s # GValue value = G_VALUE_INIT; 1869s # GParamSpec *pspec; 1869s # _ExtendedGDBusPropertyInfo *info; 1869s # gboolean ret; 1869s # ret = FALSE; 1869s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1869s # g_assert (info != NULL); 1869s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1869s # if (pspec == NULL) 1869s # { 1869s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1869s # } 1869s # else 1869s # { 1869s # if (info->use_gvariant) 1869s # g_value_set_variant (&value, variant); 1869s # else 1869s # g_dbus_gvariant_to_gvalue (variant, &value); 1869s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1869s # g_value_unset (&value); 1869s # ret = TRUE; 1869s # } 1869s # return ret; 1869s # } 1869s # 1869s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1869s # { 1869s # _test_fdpassing_skeleton_handle_method_call, 1869s # _test_fdpassing_skeleton_handle_get_property, 1869s # _test_fdpassing_skeleton_handle_set_property, 1869s # {NULL} 1869s # }; 1869s # 1869s # static GDBusInterfaceInfo * 1869s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return test_fdpassing_interface_info (); 1869s # } 1869s # 1869s # static GDBusInterfaceVTable * 1869s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1869s # { 1869s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1869s # } 1869s # 1869s # static GVariant * 1869s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1869s # { 1869s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1869s # 1869s # GVariantBuilder builder; 1869s # guint n; 1869s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1869s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1869s # goto out; 1869s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1869s # { 1869s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1869s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1869s # { 1869s # GVariant *value; 1869s # 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); 1869s # if (value != NULL) 1869s # { 1869s # g_variant_take_ref (value); 1869s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1869s # g_variant_unref (value); 1869s # } 1869s # } 1869s # } 1869s # out: 1869s # return g_variant_builder_end (&builder); 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1869s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1869s # 1869s # #else 1869s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1869s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1869s # 1869s # #endif 1869s # static void 1869s # test_fdpassing_skeleton_finalize (GObject *object) 1869s # { 1869s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1869s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1869s # if (skeleton->priv->changed_properties_idle_source != NULL) 1869s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1869s # g_main_context_unref (skeleton->priv->context); 1869s # g_mutex_clear (&skeleton->priv->lock); 1869s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1869s # { 1869s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1869s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1869s # #else 1869s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1869s # #endif 1869s # 1869s # g_mutex_init (&skeleton->priv->lock); 1869s # skeleton->priv->context = g_main_context_ref_thread_default (); 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1869s # { 1869s # GObjectClass *gobject_class; 1869s # GDBusInterfaceSkeletonClass *skeleton_class; 1869s # 1869s # gobject_class = G_OBJECT_CLASS (klass); 1869s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1869s # 1869s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1869s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1869s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1869s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1869s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1869s # 1869s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1869s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1869s # #endif 1869s # } 1869s # 1869s # static void 1869s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1869s # { 1869s # } 1869s # 1869s # /** 1869s # * test_fdpassing_skeleton_new: 1869s # * 1869s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1869s # * 1869s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1869s # */ 1869s # TestFDPassing * 1869s # test_fdpassing_skeleton_new (void) 1869s # { 1869s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1869s # } 1869s ok 15 __main__.TestCodegen.test_generate_rst 1869s # tmpdir: /tmp/tmpeubzaw8b 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmpeubzaw8b/tmp7gdsso4u.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeubzaw8b/tmp7gdsso4u.xml', '--generate-rst', 'test'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: 1869s ok 16 __main__.TestCodegen.test_generate_rst_method 1869s # tmpdir: /tmp/tmp6xhkp4ii 1869s # codegen: /usr/bin/gdbus-codegen 1869s # /tmp/tmp6xhkp4ii/tmpydnlhkn8.xml: 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # 1869s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6xhkp4ii/tmpydnlhkn8.xml', '--generate-rst', 'test'] 1869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1869s # Output: 1870s ok 17 __main__.TestCodegen.test_generate_rst_property 1870s # tmpdir: /tmp/tmpxvj8cuvr 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmpxvj8cuvr/tmpzy0l7yvr.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxvj8cuvr/tmpzy0l7yvr.xml', '--generate-rst', 'test'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: 1870s ok 18 __main__.TestCodegen.test_generate_rst_signal 1870s # tmpdir: /tmp/tmpen2vxlty 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmpen2vxlty/tmpzsx559vb.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpen2vxlty/tmpzsx559vb.xml', '--generate-rst', 'test'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: 1870s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1870s # tmpdir: /tmp/tmp10xktswh 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmp10xktswh/tmpi2o8ss91.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp10xktswh/tmpi2o8ss91.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static void 1870s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1870s # GClosure *closure, 1870s # GValue *return_value G_GNUC_UNUSED, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint G_GNUC_UNUSED, 1870s # void *marshal_data) 1870s # { 1870s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1870s # (void *data1, 1870s # gboolean arg_an_b, 1870s # guchar arg_an_y, 1870s # gint16 arg_an_n, 1870s # guint16 arg_an_q, 1870s # gint arg_an_i, 1870s # guint arg_an_u, 1870s # gint64 arg_an_x, 1870s # guint64 arg_an_t, 1870s # gdouble arg_an_d, 1870s # const gchar *arg_an_s, 1870s # const gchar *arg_an_o, 1870s # const gchar *arg_an_g, 1870s # GVariant *arg_an_h, 1870s # const gchar *arg_an_ay, 1870s # const gchar *const *arg_an_as, 1870s # const gchar *const *arg_an_ao, 1870s # const gchar *const *arg_an_aay, 1870s # GVariant *arg_an_asv, 1870s # void *data2); 1870s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1870s # GCClosure *cc = (GCClosure*) closure; 1870s # void *data1, *data2; 1870s # 1870s # g_return_if_fail (n_param_values == 19); 1870s # 1870s # if (G_CCLOSURE_SWAP_DATA (closure)) 1870s # { 1870s # data1 = closure->data; 1870s # data2 = g_value_peek_pointer (param_values + 0); 1870s # } 1870s # else 1870s # { 1870s # data1 = g_value_peek_pointer (param_values + 0); 1870s # data2 = closure->data; 1870s # } 1870s # 1870s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1870s # (marshal_data ? marshal_data : cc->callback); 1870s # 1870s # callback (data1, 1870s # g_marshal_value_peek_boolean (param_values + 1), 1870s # g_marshal_value_peek_uchar (param_values + 2), 1870s # g_marshal_value_peek_int (param_values + 3), 1870s # g_marshal_value_peek_uint (param_values + 4), 1870s # g_marshal_value_peek_int (param_values + 5), 1870s # g_marshal_value_peek_uint (param_values + 6), 1870s # g_marshal_value_peek_int64 (param_values + 7), 1870s # g_marshal_value_peek_uint64 (param_values + 8), 1870s # g_marshal_value_peek_double (param_values + 9), 1870s # g_marshal_value_peek_string (param_values + 10), 1870s # g_marshal_value_peek_string (param_values + 11), 1870s # g_marshal_value_peek_string (param_values + 12), 1870s # g_marshal_value_peek_variant (param_values + 13), 1870s # g_marshal_value_peek_string (param_values + 14), 1870s # g_marshal_value_peek_boxed (param_values + 15), 1870s # g_marshal_value_peek_boxed (param_values + 16), 1870s # g_marshal_value_peek_boxed (param_values + 17), 1870s # g_marshal_value_peek_variant (param_values + 18), 1870s # data2); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_b", 1870s # (gchar *) "b", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_y", 1870s # (gchar *) "y", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_n", 1870s # (gchar *) "n", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_q", 1870s # (gchar *) "q", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_i", 1870s # (gchar *) "i", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_u", 1870s # (gchar *) "u", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_x", 1870s # (gchar *) "x", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_t", 1870s # (gchar *) "t", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_d", 1870s # (gchar *) "d", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_s", 1870s # (gchar *) "s", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_o", 1870s # (gchar *) "o", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_g", 1870s # (gchar *) "g", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_h", 1870s # (gchar *) "h", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_ay", 1870s # (gchar *) "ay", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_as", 1870s # (gchar *) "as", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_ao", 1870s # (gchar *) "ao", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_aay", 1870s # (gchar *) "aay", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_asv", 1870s # (gchar *) "a{sv}", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SignalWithManyArgs", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "signal-with-many-args" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::signal-with-many-args: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_b: Argument. 1870s # * @arg_an_y: Argument. 1870s # * @arg_an_n: Argument. 1870s # * @arg_an_q: Argument. 1870s # * @arg_an_i: Argument. 1870s # * @arg_an_u: Argument. 1870s # * @arg_an_x: Argument. 1870s # * @arg_an_t: Argument. 1870s # * @arg_an_d: Argument. 1870s # * @arg_an_s: Argument. 1870s # * @arg_an_o: Argument. 1870s # * @arg_an_g: Argument. 1870s # * @arg_an_h: Argument. 1870s # * @arg_an_ay: Argument. 1870s # * @arg_an_as: Argument. 1870s # * @arg_an_ao: Argument. 1870s # * @arg_an_aay: Argument. 1870s # * @arg_an_asv: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1870s # g_signal_new ("signal-with-many-args", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1870s # G_TYPE_NONE, 1870s # 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); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_signal_with_many_args: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_b: Argument to pass with the signal. 1870s # * @arg_an_y: Argument to pass with the signal. 1870s # * @arg_an_n: Argument to pass with the signal. 1870s # * @arg_an_q: Argument to pass with the signal. 1870s # * @arg_an_i: Argument to pass with the signal. 1870s # * @arg_an_u: Argument to pass with the signal. 1870s # * @arg_an_x: Argument to pass with the signal. 1870s # * @arg_an_t: Argument to pass with the signal. 1870s # * @arg_an_d: Argument to pass with the signal. 1870s # * @arg_an_s: Argument to pass with the signal. 1870s # * @arg_an_o: Argument to pass with the signal. 1870s # * @arg_an_g: Argument to pass with the signal. 1870s # * @arg_an_h: Argument to pass with the signal. 1870s # * @arg_an_ay: Argument to pass with the signal. 1870s # * @arg_an_as: Argument to pass with the signal. 1870s # * @arg_an_ao: Argument to pass with the signal. 1870s # * @arg_an_aay: Argument to pass with the signal. 1870s # * @arg_an_asv: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SignalWithManyArgs" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_signal_with_many_args ( 1870s # OrgProjectSignalingIface *object, 1870s # gboolean arg_an_b, 1870s # guchar arg_an_y, 1870s # gint16 arg_an_n, 1870s # guint16 arg_an_q, 1870s # gint arg_an_i, 1870s # guint arg_an_u, 1870s # gint64 arg_an_x, 1870s # guint64 arg_an_t, 1870s # gdouble arg_an_d, 1870s # const gchar *arg_an_s, 1870s # const gchar *arg_an_o, 1870s # const gchar *arg_an_g, 1870s # GVariant *arg_an_h, 1870s # const gchar *arg_an_ay, 1870s # const gchar *const *arg_an_as, 1870s # const gchar *const *arg_an_ao, 1870s # const gchar *const *arg_an_aay, 1870s # GVariant *arg_an_asv) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1870s # OrgProjectSignalingIface *object, 1870s # gboolean arg_an_b, 1870s # guchar arg_an_y, 1870s # gint16 arg_an_n, 1870s # guint16 arg_an_q, 1870s # gint arg_an_i, 1870s # guint arg_an_u, 1870s # gint64 arg_an_x, 1870s # guint64 arg_an_t, 1870s # gdouble arg_an_d, 1870s # const gchar *arg_an_s, 1870s # const gchar *arg_an_o, 1870s # const gchar *arg_an_g, 1870s # GVariant *arg_an_h, 1870s # const gchar *arg_an_ay, 1870s # const gchar *const *arg_an_as, 1870s # const gchar *const *arg_an_ao, 1870s # const gchar *const *arg_an_aay, 1870s # GVariant *arg_an_asv) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1870s # arg_an_b, 1870s # arg_an_y, 1870s # arg_an_n, 1870s # arg_an_q, 1870s # arg_an_i, 1870s # arg_an_u, 1870s # arg_an_x, 1870s # arg_an_t, 1870s # arg_an_d, 1870s # arg_an_s, 1870s # arg_an_o, 1870s # arg_an_g, 1870s # arg_an_h, 1870s # arg_an_ay, 1870s # arg_an_as, 1870s # arg_an_ao, 1870s # arg_an_aay, 1870s # arg_an_asv)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1870s # tmpdir: /tmp/tmp_7krqiy0 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmp_7krqiy0/tmpxwl0ocb9.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_7krqiy0/tmpxwl0ocb9.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static void 1870s # _g_dbus_codegen_marshal_VOID__INT64 ( 1870s # GClosure *closure, 1870s # GValue *return_value G_GNUC_UNUSED, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint G_GNUC_UNUSED, 1870s # void *marshal_data) 1870s # { 1870s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1870s # (void *data1, 1870s # gint64 arg_an_x, 1870s # void *data2); 1870s # _GDbusCodegenMarshalVoid_Int64Func callback; 1870s # GCClosure *cc = (GCClosure*) closure; 1870s # void *data1, *data2; 1870s # 1870s # g_return_if_fail (n_param_values == 2); 1870s # 1870s # if (G_CCLOSURE_SWAP_DATA (closure)) 1870s # { 1870s # data1 = closure->data; 1870s # data2 = g_value_peek_pointer (param_values + 0); 1870s # } 1870s # else 1870s # { 1870s # data1 = g_value_peek_pointer (param_values + 0); 1870s # data2 = closure->data; 1870s # } 1870s # 1870s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1870s # (marshal_data ? marshal_data : cc->callback); 1870s # 1870s # callback (data1, 1870s # g_marshal_value_peek_int64 (param_values + 1), 1870s # data2); 1870s # } 1870s # 1870s # static void 1870s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1870s # GClosure *closure, 1870s # GValue *return_value G_GNUC_UNUSED, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint G_GNUC_UNUSED, 1870s # void *marshal_data) 1870s # { 1870s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1870s # (void *data1, 1870s # guint64 arg_an_t, 1870s # void *data2); 1870s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1870s # GCClosure *cc = (GCClosure*) closure; 1870s # void *data1, *data2; 1870s # 1870s # g_return_if_fail (n_param_values == 2); 1870s # 1870s # if (G_CCLOSURE_SWAP_DATA (closure)) 1870s # { 1870s # data1 = closure->data; 1870s # data2 = g_value_peek_pointer (param_values + 0); 1870s # } 1870s # else 1870s # { 1870s # data1 = g_value_peek_pointer (param_values + 0); 1870s # data2 = closure->data; 1870s # } 1870s # 1870s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1870s # (marshal_data ? marshal_data : cc->callback); 1870s # 1870s # callback (data1, 1870s # g_marshal_value_peek_uint64 (param_values + 1), 1870s # data2); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "NoArgSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "no-arg-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_b", 1870s # (gchar *) "b", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalB", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-b" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_y", 1870s # (gchar *) "y", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalY", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-y" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_n", 1870s # (gchar *) "n", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalN", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-n" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_q", 1870s # (gchar *) "q", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalQ", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-q" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_i", 1870s # (gchar *) "i", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalI", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-i" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_u", 1870s # (gchar *) "u", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalU", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-u" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_x", 1870s # (gchar *) "x", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalX", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-x" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_t", 1870s # (gchar *) "t", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalT", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-t" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_d", 1870s # (gchar *) "d", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalD", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-d" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_s", 1870s # (gchar *) "s", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalS", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-s" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_o", 1870s # (gchar *) "o", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalO", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-o" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_g", 1870s # (gchar *) "g", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalG", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-g" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_h", 1870s # (gchar *) "h", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalH", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-h" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_ay", 1870s # (gchar *) "ay", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalAY", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-ay" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_as", 1870s # (gchar *) "as", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalAS", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-as" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_ao", 1870s # (gchar *) "ao", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalAO", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-ao" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_aay", 1870s # (gchar *) "aay", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalAAY", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-aay" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "an_asv", 1870s # (gchar *) "a{sv}", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalASV", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-asv" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__UCHAR (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__INT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__UINT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__INT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__UINT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__DOUBLE (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__STRING (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__STRING (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__STRING (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VARIANT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__STRING (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__BOXED (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__BOXED (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__BOXED (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VARIANT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1870s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1870s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1870s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1870s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1870s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1870s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1870s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1870s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1870s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1870s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1870s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1870s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1870s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1870s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1870s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1870s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1870s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1870s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::no-arg-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1870s # g_signal_new ("no-arg-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-b: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_b: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1870s # g_signal_new ("single-arg-signal-b", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_BOOLEAN); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-y: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_y: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1870s # g_signal_new ("single-arg-signal-y", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UCHAR); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-n: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_n: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1870s # g_signal_new ("single-arg-signal-n", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_INT); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-q: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_q: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1870s # g_signal_new ("single-arg-signal-q", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UINT); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-i: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_i: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1870s # g_signal_new ("single-arg-signal-i", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_INT); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-u: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_u: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1870s # g_signal_new ("single-arg-signal-u", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UINT); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-x: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_x: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1870s # g_signal_new ("single-arg-signal-x", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_INT64); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-t: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_t: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1870s # g_signal_new ("single-arg-signal-t", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UINT64); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-d: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_d: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1870s # g_signal_new ("single-arg-signal-d", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_DOUBLE); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-s: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_s: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1870s # g_signal_new ("single-arg-signal-s", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRING); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-o: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_o: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1870s # g_signal_new ("single-arg-signal-o", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRING); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-g: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_g: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1870s # g_signal_new ("single-arg-signal-g", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRING); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-h: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_h: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1870s # g_signal_new ("single-arg-signal-h", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_VARIANT); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-ay: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_ay: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1870s # g_signal_new ("single-arg-signal-ay", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRING); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-as: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_as: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1870s # g_signal_new ("single-arg-signal-as", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRV); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-ao: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_ao: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1870s # g_signal_new ("single-arg-signal-ao", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRV); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-aay: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_aay: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1870s # g_signal_new ("single-arg-signal-aay", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRV); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-asv: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_asv: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1870s # g_signal_new ("single-arg-signal-asv", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_VARIANT); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_no_arg_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "NoArgSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_no_arg_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_b: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_b: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalB" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_b ( 1870s # OrgProjectSignalingIface *object, 1870s # gboolean arg_an_b) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_y: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_y: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalY" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_y ( 1870s # OrgProjectSignalingIface *object, 1870s # guchar arg_an_y) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_n: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_n: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalN" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_n ( 1870s # OrgProjectSignalingIface *object, 1870s # gint16 arg_an_n) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_q: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_q: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalQ" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_q ( 1870s # OrgProjectSignalingIface *object, 1870s # guint16 arg_an_q) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_i: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_i: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalI" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_i ( 1870s # OrgProjectSignalingIface *object, 1870s # gint arg_an_i) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_u: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_u: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalU" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_u ( 1870s # OrgProjectSignalingIface *object, 1870s # guint arg_an_u) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_x: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_x: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalX" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_x ( 1870s # OrgProjectSignalingIface *object, 1870s # gint64 arg_an_x) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_t: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_t: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalT" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_t ( 1870s # OrgProjectSignalingIface *object, 1870s # guint64 arg_an_t) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_d: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_d: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalD" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_d ( 1870s # OrgProjectSignalingIface *object, 1870s # gdouble arg_an_d) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_s: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_s: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalS" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_s ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_s) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_o: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_o: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalO" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_o ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_o) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_g: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_g: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalG" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_g ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_g) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_h: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_h: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalH" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_h ( 1870s # OrgProjectSignalingIface *object, 1870s # GVariant *arg_an_h) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_ay: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalAY" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_ay) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_as: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_as: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalAS" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_as ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *const *arg_an_as) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_ao: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalAO" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *const *arg_an_ao) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_aay: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *const *arg_an_aay) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_an_asv: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalASV" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1870s # OrgProjectSignalingIface *object, 1870s # GVariant *arg_an_asv) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1870s # OrgProjectSignalingIface *object, 1870s # gboolean arg_an_b) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1870s # arg_an_b)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1870s # OrgProjectSignalingIface *object, 1870s # guchar arg_an_y) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1870s # arg_an_y)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1870s # OrgProjectSignalingIface *object, 1870s # gint16 arg_an_n) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1870s # arg_an_n)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1870s # OrgProjectSignalingIface *object, 1870s # guint16 arg_an_q) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1870s # arg_an_q)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1870s # OrgProjectSignalingIface *object, 1870s # gint arg_an_i) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1870s # arg_an_i)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1870s # OrgProjectSignalingIface *object, 1870s # guint arg_an_u) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1870s # arg_an_u)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1870s # OrgProjectSignalingIface *object, 1870s # gint64 arg_an_x) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1870s # arg_an_x)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1870s # OrgProjectSignalingIface *object, 1870s # guint64 arg_an_t) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1870s # arg_an_t)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1870s # OrgProjectSignalingIface *object, 1870s # gdouble arg_an_d) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1870s # arg_an_d)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_s) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1870s # arg_an_s)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_o) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1870s # arg_an_o)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_g) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1870s # arg_an_g)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1870s # OrgProjectSignalingIface *object, 1870s # GVariant *arg_an_h) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1870s # arg_an_h)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_an_ay) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1870s # arg_an_ay)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *const *arg_an_as) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1870s # arg_an_as)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *const *arg_an_ao) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1870s # arg_an_ao)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *const *arg_an_aay) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1870s # arg_an_aay)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1870s # OrgProjectSignalingIface *object, 1870s # GVariant *arg_an_asv) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1870s # arg_an_asv)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1870s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1870s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1870s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1870s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1870s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1870s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1870s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1870s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1870s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1870s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1870s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1870s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1870s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1870s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1870s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1870s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1870s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1870s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1870s # tmpdir: /tmp/tmpq2kii361 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmpq2kii361/tmp812j3wq4.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq2kii361/tmp812j3wq4.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.UsefulInterface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectUsefulInterface 1870s # * @title: OrgProjectUsefulInterface 1870s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.UsefulInterface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-useful-interface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_useful_interface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_useful_interface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_useful_interface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectUsefulInterface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectUsefulInterfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1870s # */ 1870s # 1870s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectUsefulInterface::simple-signal: 1870s # * @object: A #OrgProjectUsefulInterface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_useful_interface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_emit_simple_signal: 1870s # * @object: A #OrgProjectUsefulInterface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_useful_interface_emit_simple_signal ( 1870s # OrgProjectUsefulInterface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectUsefulInterfaceProxy: 1870s # * 1870s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectUsefulInterfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectUsefulInterfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_useful_interface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1870s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1870s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_useful_interface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # g_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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectUsefulInterface * 1870s # org_project_useful_interface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectUsefulInterface * 1870s # org_project_useful_interface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_useful_interface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_useful_interface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # g_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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectUsefulInterface * 1870s # org_project_useful_interface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectUsefulInterface * 1870s # org_project_useful_interface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectUsefulInterfaceSkeleton: 1870s # * 1870s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectUsefulInterfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_useful_interface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_useful_interface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_useful_interface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1870s # { 1870s # _org_project_useful_interface_skeleton_handle_method_call, 1870s # _org_project_useful_interface_skeleton_handle_get_property, 1870s # _org_project_useful_interface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_useful_interface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_useful_interface_on_signal_simple_signal ( 1870s # OrgProjectUsefulInterface *object) 1870s # { 1870s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_useful_interface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1870s # } 1870s # 1870s # /** 1870s # * org_project_useful_interface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectUsefulInterface * 1870s # org_project_useful_interface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.OtherIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectOtherIface 1870s # * @title: OrgProjectOtherIface 1870s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.OtherIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.OtherIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-other-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_other_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_other_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_other_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectOtherIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectOtherIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.OtherIface. 1870s # */ 1870s # 1870s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectOtherIface::simple-signal: 1870s # * @object: A #OrgProjectOtherIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_other_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectOtherIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_other_iface_emit_simple_signal ( 1870s # OrgProjectOtherIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectOtherIfaceProxy: 1870s # * 1870s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectOtherIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectOtherIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectOtherIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_other_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_other_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherIface * 1870s # org_project_other_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherIface * 1870s # org_project_other_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_other_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_other_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherIface * 1870s # org_project_other_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherIface * 1870s # org_project_other_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectOtherIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectOtherIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectOtherIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_other_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_other_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_other_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1870s # { 1870s # _org_project_other_iface_skeleton_handle_method_call, 1870s # _org_project_other_iface_skeleton_handle_get_property, 1870s # _org_project_other_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_other_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_other_iface_on_signal_simple_signal ( 1870s # OrgProjectOtherIface *object) 1870s # { 1870s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_other_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectOtherIface * 1870s # org_project_other_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1870s # } 1870s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1870s # tmpdir: /tmp/tmpzgb39wdn 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmpzgb39wdn/tmpusxi_o5s.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzgb39wdn/tmpusxi_o5s.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.OtherSignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectOtherSignalingIface 1870s # * @title: OrgProjectOtherSignalingIface 1870s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.OtherSignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-other-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_other_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectOtherSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectOtherSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectOtherSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectOtherSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectOtherSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_other_signaling_iface_emit_simple_signal ( 1870s # OrgProjectOtherSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectOtherSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectOtherSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_other_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherSignalingIface * 1870s # org_project_other_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherSignalingIface * 1870s # org_project_other_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_other_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherSignalingIface * 1870s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectOtherSignalingIface * 1870s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectOtherSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_other_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectOtherSignalingIface *object) 1870s # { 1870s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1870s # } 1870s # 1870s # /** 1870s # * org_project_other_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectOtherSignalingIface * 1870s # org_project_other_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # Executing: glib/codegen.py.test 1870s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1870s # tmpdir: /tmp/tmpkeiufl42 1870s # codegen: /usr/bin/gdbus-codegen 1870s # /tmp/tmpkeiufl42/tmpnicvtoly.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpnicvtoly.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_b", 1870s # (gchar *) "b", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalB", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-b" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-b: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_b: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1870s # g_signal_new ("single-arg-signal-b", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_BOOLEAN); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_b: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_b: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalB" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_b ( 1870s # OrgProjectSignalingIface *object, 1870s # gboolean arg_arg_b) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1870s # OrgProjectSignalingIface *object, 1870s # gboolean arg_arg_b) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1870s # arg_arg_b)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmp3hdol4pd.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp3hdol4pd.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_y", 1870s # (gchar *) "y", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalY", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-y" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__UCHAR (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-y: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_y: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1870s # g_signal_new ("single-arg-signal-y", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UCHAR); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_y: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_y: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalY" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_y ( 1870s # OrgProjectSignalingIface *object, 1870s # guchar arg_arg_y) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1870s # OrgProjectSignalingIface *object, 1870s # guchar arg_arg_y) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1870s # arg_arg_y)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmp1rw6viq6.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp1rw6viq6.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_n", 1870s # (gchar *) "n", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalN", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-n" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__INT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-n: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_n: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1870s # g_signal_new ("single-arg-signal-n", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_INT); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_n: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_n: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalN" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_n ( 1870s # OrgProjectSignalingIface *object, 1870s # gint16 arg_arg_n) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1870s # OrgProjectSignalingIface *object, 1870s # gint16 arg_arg_n) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1870s # arg_arg_n)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmps9ehgeh4.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmps9ehgeh4.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_q", 1870s # (gchar *) "q", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalQ", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-q" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__UINT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-q: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_q: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1870s # g_signal_new ("single-arg-signal-q", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UINT); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_q: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_q: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalQ" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_q ( 1870s # OrgProjectSignalingIface *object, 1870s # guint16 arg_arg_q) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1870s # OrgProjectSignalingIface *object, 1870s # guint16 arg_arg_q) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1870s # arg_arg_q)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmp26hnbgsi.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp26hnbgsi.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_i", 1870s # (gchar *) "i", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalI", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-i" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__INT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-i: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_i: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1870s # g_signal_new ("single-arg-signal-i", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_INT); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_i: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_i: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalI" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_i ( 1870s # OrgProjectSignalingIface *object, 1870s # gint arg_arg_i) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1870s # OrgProjectSignalingIface *object, 1870s # gint arg_arg_i) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1870s # arg_arg_i)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmpnhew1yqa.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpnhew1yqa.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_u", 1870s # (gchar *) "u", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalU", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-u" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__UINT (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-u: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_u: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1870s # g_signal_new ("single-arg-signal-u", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UINT); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_u: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_u: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalU" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_u ( 1870s # OrgProjectSignalingIface *object, 1870s # guint arg_arg_u) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1870s # OrgProjectSignalingIface *object, 1870s # guint arg_arg_u) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1870s # arg_arg_u)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmp201k0g8x.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp201k0g8x.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static void 1870s # _g_dbus_codegen_marshal_VOID__INT64 ( 1870s # GClosure *closure, 1870s # GValue *return_value G_GNUC_UNUSED, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint G_GNUC_UNUSED, 1870s # void *marshal_data) 1870s # { 1870s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1870s # (void *data1, 1870s # gint64 arg_arg_x, 1870s # void *data2); 1870s # _GDbusCodegenMarshalVoid_Int64Func callback; 1870s # GCClosure *cc = (GCClosure*) closure; 1870s # void *data1, *data2; 1870s # 1870s # g_return_if_fail (n_param_values == 2); 1870s # 1870s # if (G_CCLOSURE_SWAP_DATA (closure)) 1870s # { 1870s # data1 = closure->data; 1870s # data2 = g_value_peek_pointer (param_values + 0); 1870s # } 1870s # else 1870s # { 1870s # data1 = g_value_peek_pointer (param_values + 0); 1870s # data2 = closure->data; 1870s # } 1870s # 1870s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1870s # (marshal_data ? marshal_data : cc->callback); 1870s # 1870s # callback (data1, 1870s # g_marshal_value_peek_int64 (param_values + 1), 1870s # data2); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_x", 1870s # (gchar *) "x", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalX", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-x" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-x: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_x: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1870s # g_signal_new ("single-arg-signal-x", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_INT64); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_x: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_x: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalX" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_x ( 1870s # OrgProjectSignalingIface *object, 1870s # gint64 arg_arg_x) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1870s # OrgProjectSignalingIface *object, 1870s # gint64 arg_arg_x) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1870s # arg_arg_x)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmp4y7u9rwg.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp4y7u9rwg.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static void 1870s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1870s # GClosure *closure, 1870s # GValue *return_value G_GNUC_UNUSED, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint G_GNUC_UNUSED, 1870s # void *marshal_data) 1870s # { 1870s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1870s # (void *data1, 1870s # guint64 arg_arg_t, 1870s # void *data2); 1870s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1870s # GCClosure *cc = (GCClosure*) closure; 1870s # void *data1, *data2; 1870s # 1870s # g_return_if_fail (n_param_values == 2); 1870s # 1870s # if (G_CCLOSURE_SWAP_DATA (closure)) 1870s # { 1870s # data1 = closure->data; 1870s # data2 = g_value_peek_pointer (param_values + 0); 1870s # } 1870s # else 1870s # { 1870s # data1 = g_value_peek_pointer (param_values + 0); 1870s # data2 = closure->data; 1870s # } 1870s # 1870s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1870s # (marshal_data ? marshal_data : cc->callback); 1870s # 1870s # callback (data1, 1870s # g_marshal_value_peek_uint64 (param_values + 1), 1870s # data2); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_t", 1870s # (gchar *) "t", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalT", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-t" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-t: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_t: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1870s # g_signal_new ("single-arg-signal-t", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_UINT64); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_t: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_t: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalT" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_t ( 1870s # OrgProjectSignalingIface *object, 1870s # guint64 arg_arg_t) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1870s # OrgProjectSignalingIface *object, 1870s # guint64 arg_arg_t) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1870s # arg_arg_t)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmpdi473nhi.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpdi473nhi.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_d", 1870s # (gchar *) "d", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalD", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-d" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__DOUBLE (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-d: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_d: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1870s # g_signal_new ("single-arg-signal-d", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_DOUBLE); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_d: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_d: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalD" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_d ( 1870s # OrgProjectSignalingIface *object, 1870s # gdouble arg_arg_d) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_sync ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new_for_bus ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1870s # * @bus_type: A #GBusType. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: A bus name (well-known or unique). 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1870s # * 1870s # * The calling thread is blocked until a reply is received. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1870s # GBusType bus_type, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GError **error) 1870s # { 1870s # GInitable *ret; 1870s # 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); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeleton: 1870s # * 1870s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceSkeletonClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1870s # { 1870s # GValue *properties; 1870s # GList *changed_properties; 1870s # GSource *changed_properties_idle_source; 1870s # GMainContext *context; 1870s # GMutex lock; 1870s # }; 1870s # 1870s # static void 1870s # _org_project_signaling_iface_skeleton_handle_method_call ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name, 1870s # const gchar *method_name, 1870s # GVariant *parameters, 1870s # GDBusMethodInvocation *invocation, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # _ExtendedGDBusMethodInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # guint num_extra; 1870s # gsize n; 1870s # guint signal_id; 1870s # GValue return_value = G_VALUE_INIT; 1870s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1870s # g_assert (info != NULL); 1870s # num_params = g_variant_n_children (parameters); 1870s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1870s # n = 0; 1870s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[n++], skeleton); 1870s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1870s # g_value_set_object (¶mv[n++], invocation); 1870s # if (info->pass_fdlist) 1870s # { 1870s # #ifdef G_OS_UNIX 1870s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1870s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1870s # #else 1870s # g_assert_not_reached (); 1870s # #endif 1870s # } 1870s # g_variant_iter_init (&iter, parameters); 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1870s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1870s # if (!g_value_get_boolean (&return_value)) 1870s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1870s # g_value_unset (&return_value); 1870s # for (n = 0; n < num_params + num_extra; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static GVariant * 1870s # _org_project_signaling_iface_skeleton_handle_get_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # GVariant *ret; 1870s # ret = NULL; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # g_value_init (&value, pspec->value_type); 1870s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1870s # g_value_unset (&value); 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _org_project_signaling_iface_skeleton_handle_set_property ( 1870s # GDBusConnection *connection G_GNUC_UNUSED, 1870s # const gchar *sender G_GNUC_UNUSED, 1870s # const gchar *object_path G_GNUC_UNUSED, 1870s # const gchar *interface_name G_GNUC_UNUSED, 1870s # const gchar *property_name, 1870s # GVariant *variant, 1870s # GError **error, 1870s # gpointer user_data) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1870s # GValue value = G_VALUE_INIT; 1870s # GParamSpec *pspec; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # gboolean ret; 1870s # ret = FALSE; 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1870s # g_assert (info != NULL); 1870s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1870s # if (pspec == NULL) 1870s # { 1870s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1870s # } 1870s # else 1870s # { 1870s # if (info->use_gvariant) 1870s # g_value_set_variant (&value, variant); 1870s # else 1870s # g_dbus_gvariant_to_gvalue (variant, &value); 1870s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1870s # g_value_unset (&value); 1870s # ret = TRUE; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1870s # { 1870s # _org_project_signaling_iface_skeleton_handle_method_call, 1870s # _org_project_signaling_iface_skeleton_handle_get_property, 1870s # _org_project_signaling_iface_skeleton_handle_set_property, 1870s # {NULL} 1870s # }; 1870s # 1870s # static GDBusInterfaceInfo * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return org_project_signaling_iface_interface_info (); 1870s # } 1870s # 1870s # static GDBusInterfaceVTable * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1870s # { 1870s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1870s # } 1870s # 1870s # static GVariant * 1870s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1870s # 1870s # GVariantBuilder builder; 1870s # guint n; 1870s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1870s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1870s # goto out; 1870s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1870s # { 1870s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1870s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1870s # { 1870s # GVariant *value; 1870s # 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); 1870s # if (value != NULL) 1870s # { 1870s # g_variant_take_ref (value); 1870s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1870s # g_variant_unref (value); 1870s # } 1870s # } 1870s # } 1870s # out: 1870s # return g_variant_builder_end (&builder); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void 1870s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1870s # OrgProjectSignalingIface *object, 1870s # gdouble arg_arg_d) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # 1870s # GList *connections, *l; 1870s # GVariant *signal_variant; 1870s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1870s # 1870s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1870s # arg_arg_d)); 1870s # for (l = connections; l != NULL; l = l->next) 1870s # { 1870s # GDBusConnection *connection = l->data; 1870s # g_dbus_connection_emit_signal (connection, 1870s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1870s # signal_variant, NULL); 1870s # } 1870s # g_variant_unref (signal_variant); 1870s # g_list_free_full (connections, g_object_unref); 1870s # } 1870s # 1870s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1870s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1870s # if (skeleton->priv->changed_properties_idle_source != NULL) 1870s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1870s # g_main_context_unref (skeleton->priv->context); 1870s # g_mutex_clear (&skeleton->priv->lock); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1870s # #else 1870s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1870s # #endif 1870s # 1870s # g_mutex_init (&skeleton->priv->lock); 1870s # skeleton->priv->context = g_main_context_ref_thread_default (); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusInterfaceSkeletonClass *skeleton_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1870s # 1870s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1870s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1870s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1870s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1870s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1870s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_skeleton_new: 1870s # * 1870s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_skeleton_new (void) 1870s # { 1870s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1870s # } 1870s # /tmp/tmpkeiufl42/tmpiyawvi_x.xml: 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # 1870s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpiyawvi_x.xml', '--output', '-', '--body'] 1870s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1870s # Output: /* 1870s # * This file is generated by gdbus-codegen, do not modify it. 1870s # * 1870s # * The license of this code is the same as for the D-Bus interface description 1870s # * it was derived from. Note that it links to GLib, so must comply with the 1870s # * LGPL linking clauses. 1870s # */ 1870s # 1870s # #ifdef HAVE_CONFIG_H 1870s # # include "config.h" 1870s # #endif 1870s # 1870s # #include 1870s # #ifdef G_OS_UNIX 1870s # # include 1870s # #endif 1870s # 1870s # #ifdef G_ENABLE_DEBUG 1870s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1870s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1870s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1870s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1870s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1870s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1870s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1870s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1870s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1870s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1870s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1870s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1870s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1870s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1870s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1870s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1870s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1870s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1870s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1870s # #else /* !G_ENABLE_DEBUG */ 1870s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1870s # * Do not access GValues directly in your code. Instead, use the 1870s # * g_value_get_*() functions 1870s # */ 1870s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1870s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1870s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1870s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1870s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1870s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1870s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1870s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1870s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1870s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1870s # #endif /* !G_ENABLE_DEBUG */ 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusArgInfo parent_struct; 1870s # gboolean use_gvariant; 1870s # } _ExtendedGDBusArgInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusMethodInfo parent_struct; 1870s # const gchar *signal_name; 1870s # gboolean pass_fdlist; 1870s # } _ExtendedGDBusMethodInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusSignalInfo parent_struct; 1870s # const gchar *signal_name; 1870s # } _ExtendedGDBusSignalInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusPropertyInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # guint use_gvariant : 1; 1870s # guint emits_changed_signal : 1; 1870s # } _ExtendedGDBusPropertyInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # GDBusInterfaceInfo parent_struct; 1870s # const gchar *hyphen_name; 1870s # } _ExtendedGDBusInterfaceInfo; 1870s # 1870s # typedef struct 1870s # { 1870s # const _ExtendedGDBusPropertyInfo *info; 1870s # guint prop_id; 1870s # GValue orig_value; /* the value before the change */ 1870s # } ChangedProperty; 1870s # 1870s # static void 1870s # _changed_property_free (ChangedProperty *data) 1870s # { 1870s # g_value_unset (&data->orig_value); 1870s # g_free (data); 1870s # } 1870s # 1870s # static gboolean 1870s # _g_strv_equal0 (gchar **a, gchar **b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # guint n; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # if (g_strv_length (a) != g_strv_length (b)) 1870s # goto out; 1870s # for (n = 0; a[n] != NULL; n++) 1870s # if (g_strcmp0 (a[n], b[n]) != 0) 1870s # goto out; 1870s # ret = TRUE; 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # static gboolean 1870s # _g_variant_equal0 (GVariant *a, GVariant *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # if (a == NULL && b == NULL) 1870s # { 1870s # ret = TRUE; 1870s # goto out; 1870s # } 1870s # if (a == NULL || b == NULL) 1870s # goto out; 1870s # ret = g_variant_equal (a, b); 1870s # out: 1870s # return ret; 1870s # } 1870s # 1870s # G_GNUC_UNUSED static gboolean 1870s # _g_value_equal (const GValue *a, const GValue *b) 1870s # { 1870s # gboolean ret = FALSE; 1870s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1870s # switch (G_VALUE_TYPE (a)) 1870s # { 1870s # case G_TYPE_BOOLEAN: 1870s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1870s # break; 1870s # case G_TYPE_UCHAR: 1870s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1870s # break; 1870s # case G_TYPE_INT: 1870s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1870s # break; 1870s # case G_TYPE_UINT: 1870s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1870s # break; 1870s # case G_TYPE_INT64: 1870s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1870s # break; 1870s # case G_TYPE_UINT64: 1870s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1870s # break; 1870s # case G_TYPE_DOUBLE: 1870s # { 1870s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1870s # gdouble da = g_value_get_double (a); 1870s # gdouble db = g_value_get_double (b); 1870s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1870s # } 1870s # break; 1870s # case G_TYPE_STRING: 1870s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1870s # break; 1870s # case G_TYPE_VARIANT: 1870s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1870s # break; 1870s # default: 1870s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1870s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1870s # else 1870s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1870s # break; 1870s # } 1870s # return ret; 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ 1870s # * Code for interface org.project.SignalingIface 1870s # * ------------------------------------------------------------------------ 1870s # */ 1870s # 1870s # /** 1870s # * SECTION:OrgProjectSignalingIface 1870s # * @title: OrgProjectSignalingIface 1870s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1870s # * 1870s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1870s # */ 1870s # 1870s # enum 1870s # { 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1870s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1870s # }; 1870s # 1870s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1870s # 1870s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SimpleSignal", 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "simple-signal" 1870s # }; 1870s # 1870s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "arg_s", 1870s # (gchar *) "s", 1870s # NULL 1870s # }, 1870s # FALSE 1870s # }; 1870s # 1870s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "SingleArgSignalS", 1870s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1870s # NULL 1870s # }, 1870s # "single-arg-signal-s" 1870s # }; 1870s # 1870s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1870s # { 1870s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1870s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1870s # NULL 1870s # }; 1870s # 1870s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1870s # { 1870s # { 1870s # -1, 1870s # (gchar *) "org.project.SignalingIface", 1870s # NULL, 1870s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1870s # NULL, 1870s # NULL 1870s # }, 1870s # "org-project-signaling-iface", 1870s # }; 1870s # 1870s # 1870s # /** 1870s # * org_project_signaling_iface_interface_info: 1870s # * 1870s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1870s # * 1870s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1870s # */ 1870s # GDBusInterfaceInfo * 1870s # org_project_signaling_iface_interface_info (void) 1870s # { 1870s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_override_properties: 1870s # * @klass: The class structure for a #GObject derived class. 1870s # * @property_id_begin: The property id to assign to the first overridden property. 1870s # * 1870s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1870s # * The properties are overridden in the order they are defined. 1870s # * 1870s # * Returns: The last property id. 1870s # */ 1870s # guint 1870s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1870s # { 1870s # return property_id_begin - 1; 1870s # } 1870s # 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_simple_signal ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__VOID (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # inline static void 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1870s # GClosure *closure, 1870s # GValue *return_value, 1870s # unsigned int n_param_values, 1870s # const GValue *param_values, 1870s # void *invocation_hint, 1870s # void *marshal_data) 1870s # { 1870s # g_cclosure_marshal_VOID__STRING (closure, 1870s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1870s # } 1870s # 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface: 1870s # * 1870s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceIface: 1870s # * @parent_iface: The parent interface. 1870s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1870s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1870s # * 1870s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1870s # */ 1870s # 1870s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1870s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1870s # 1870s # static void 1870s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1870s # { 1870s # /* GObject signals for received D-Bus signals: */ 1870s # /** 1870s # * OrgProjectSignalingIface::simple-signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1870s # g_signal_new ("simple-signal", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_simple_signal, 1870s # G_TYPE_NONE, 1870s # 0); 1870s # 1870s # /** 1870s # * OrgProjectSignalingIface::single-arg-signal-s: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_s: Argument. 1870s # * 1870s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1870s # * 1870s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1870s # */ 1870s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1870s # g_signal_new ("single-arg-signal-s", 1870s # G_TYPE_FROM_INTERFACE (iface), 1870s # G_SIGNAL_RUN_LAST, 1870s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1870s # NULL, 1870s # NULL, 1870s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1870s # G_TYPE_NONE, 1870s # 1, G_TYPE_STRING); 1870s # 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_simple_signal: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * 1870s # * Emits the "SimpleSignal" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_simple_signal ( 1870s # OrgProjectSignalingIface *object) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_emit_single_arg_signal_s: 1870s # * @object: A #OrgProjectSignalingIface. 1870s # * @arg_arg_s: Argument to pass with the signal. 1870s # * 1870s # * Emits the "SingleArgSignalS" D-Bus signal. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_emit_single_arg_signal_s ( 1870s # OrgProjectSignalingIface *object, 1870s # const gchar *arg_arg_s) 1870s # { 1870s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1870s # } 1870s # 1870s # /* ------------------------------------------------------------------------ */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxy: 1870s # * 1870s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1870s # */ 1870s # 1870s # /** 1870s # * OrgProjectSignalingIfaceProxyClass: 1870s # * @parent_class: The parent class. 1870s # * 1870s # * Class structure for #OrgProjectSignalingIfaceProxy. 1870s # */ 1870s # 1870s # struct _OrgProjectSignalingIfaceProxyPrivate 1870s # { 1870s # GData *qdata; 1870s # }; 1870s # 1870s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #else 1870s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1870s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1870s # 1870s # #endif 1870s # static void 1870s # org_project_signaling_iface_proxy_finalize (GObject *object) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1870s # g_datalist_clear (&proxy->priv->qdata); 1870s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1870s # guint prop_id G_GNUC_UNUSED, 1870s # const GValue *value G_GNUC_UNUSED, 1870s # GParamSpec *pspec G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1870s # const gchar *sender_name G_GNUC_UNUSED, 1870s # const gchar *signal_name, 1870s # GVariant *parameters) 1870s # { 1870s # _ExtendedGDBusSignalInfo *info; 1870s # GVariantIter iter; 1870s # GVariant *child; 1870s # GValue *paramv; 1870s # gsize num_params; 1870s # gsize n; 1870s # guint signal_id; 1870s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1870s # if (info == NULL) 1870s # return; 1870s # num_params = g_variant_n_children (parameters); 1870s # paramv = g_new0 (GValue, num_params + 1); 1870s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_value_set_object (¶mv[0], proxy); 1870s # g_variant_iter_init (&iter, parameters); 1870s # n = 1; 1870s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1870s # { 1870s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1870s # if (arg_info->use_gvariant) 1870s # { 1870s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1870s # g_value_set_variant (¶mv[n], child); 1870s # n++; 1870s # } 1870s # else 1870s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1870s # g_variant_unref (child); 1870s # } 1870s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1870s # g_signal_emitv (paramv, signal_id, 0, NULL); 1870s # for (n = 0; n < num_params + 1; n++) 1870s # g_value_unset (¶mv[n]); 1870s # g_free (paramv); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1870s # GVariant *changed_properties, 1870s # const gchar *const *invalidated_properties) 1870s # { 1870s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1870s # guint n; 1870s # const gchar *key; 1870s # GVariantIter *iter; 1870s # _ExtendedGDBusPropertyInfo *info; 1870s # g_variant_get (changed_properties, "a{sv}", &iter); 1870s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1870s # g_datalist_remove_data (&proxy->priv->qdata, key); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # g_variant_iter_free (iter); 1870s # for (n = 0; invalidated_properties[n] != NULL; n++) 1870s # { 1870s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1870s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1870s # if (info != NULL) 1870s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1870s # } 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1870s # { 1870s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1870s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1870s # #else 1870s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1870s # #endif 1870s # 1870s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1870s # { 1870s # GObjectClass *gobject_class; 1870s # GDBusProxyClass *proxy_class; 1870s # 1870s # gobject_class = G_OBJECT_CLASS (klass); 1870s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1870s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1870s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1870s # 1870s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1870s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1870s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1870s # 1870s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1870s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1870s # #endif 1870s # } 1870s # 1870s # static void 1870s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1870s # { 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1870s # * @user_data: User data to pass to @callback. 1870s # * 1870s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1870s # * 1870s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1870s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1870s # * 1870s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1870s # */ 1870s # void 1870s # org_project_signaling_iface_proxy_new ( 1870s # GDBusConnection *connection, 1870s # GDBusProxyFlags flags, 1870s # const gchar *name, 1870s # const gchar *object_path, 1870s # GCancellable *cancellable, 1870s # GAsyncReadyCallback callback, 1870s # gpointer user_data) 1870s # { 1870s # 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); 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_finish: 1870s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1870s # * 1870s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1870s # */ 1870s # OrgProjectSignalingIface * 1870s # org_project_signaling_iface_proxy_new_finish ( 1870s # GAsyncResult *res, 1870s # GError **error) 1870s # { 1870s # GObject *ret; 1870s # GObject *source_object; 1870s # source_object = g_async_result_get_source_object (res); 1870s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1870s # g_object_unref (source_object); 1870s # if (ret != NULL) 1870s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1870s # else 1870s # return NULL; 1870s # } 1870s # 1870s # /** 1870s # * org_project_signaling_iface_proxy_new_sync: 1870s # * @connection: A #GDBusConnection. 1870s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1870s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1870s # * @object_path: An object path. 1870s # * @cancellable: (nullable): A #GCancellable or %NULL. 1870s # * @error: Return location for error or %NULL 1870s # * 1870s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_s) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1871s # arg_arg_s)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmpgwfjuoxi.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpgwfjuoxi.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_o", 1871s # (gchar *) "o", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalO", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-o" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__STRING (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-o: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_o: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1871s # g_signal_new ("single-arg-signal-o", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_STRING); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_o: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_o: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalO" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_o ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_o) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_o) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1871s # arg_arg_o)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmpmdnmtae8.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpmdnmtae8.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_g", 1871s # (gchar *) "g", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalG", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-g" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__STRING (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-g: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_g: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1871s # g_signal_new ("single-arg-signal-g", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_STRING); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_g: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_g: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalG" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_g ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_g) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_g) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1871s # arg_arg_g)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmp_qkzjlbu.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp_qkzjlbu.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_h", 1871s # (gchar *) "h", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalH", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-h" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VARIANT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-h: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_h: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1871s # g_signal_new ("single-arg-signal-h", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_VARIANT); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_h: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_h: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalH" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_h ( 1871s # OrgProjectSignalingIface *object, 1871s # GVariant *arg_arg_h) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1871s # OrgProjectSignalingIface *object, 1871s # GVariant *arg_arg_h) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1871s # arg_arg_h)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmp994zjydk.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp994zjydk.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_ay", 1871s # (gchar *) "ay", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalAy", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-ay" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__STRING (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-ay: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_ay: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1871s # g_signal_new ("single-arg-signal-ay", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_STRING); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_ay: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalAy" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_ay) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *arg_arg_ay) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1871s # arg_arg_ay)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmp2ytvpmce.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmp2ytvpmce.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_as", 1871s # (gchar *) "as", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalAs", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-as" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__BOXED (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-as: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_as: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1871s # g_signal_new ("single-arg-signal-as", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_STRV); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_as: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_as: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalAs" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_as ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *const *arg_arg_as) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *const *arg_arg_as) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1871s # arg_arg_as)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmph_i3f6kj.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmph_i3f6kj.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_ao", 1871s # (gchar *) "ao", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalAo", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-ao" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__BOXED (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-ao: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_ao: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1871s # g_signal_new ("single-arg-signal-ao", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_STRV); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_ao: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalAo" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *const *arg_arg_ao) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *const *arg_arg_ao) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1871s # arg_arg_ao)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmpl40h_6jj.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpl40h_6jj.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_aay", 1871s # (gchar *) "aay", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalAay", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-aay" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__BOXED (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-aay: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_aay: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1871s # g_signal_new ("single-arg-signal-aay", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_STRV); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_aay: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalAay" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *const *arg_arg_aay) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1871s # OrgProjectSignalingIface *object, 1871s # const gchar *const *arg_arg_aay) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1871s # arg_arg_aay)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s # /tmp/tmpkeiufl42/tmpg44bisjj.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkeiufl42/tmpg44bisjj.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "arg_asv", 1871s # (gchar *) "a{sv}", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SingleArgSignalAsv", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "single-arg-signal-asv" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VARIANT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::single-arg-signal-asv: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_asv: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1871s # g_signal_new ("single-arg-signal-asv", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1871s # G_TYPE_NONE, 1871s # 1, G_TYPE_VARIANT); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_arg_asv: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1871s # OrgProjectSignalingIface *object, 1871s # GVariant *arg_arg_asv) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1871s # OrgProjectSignalingIface *object, 1871s # GVariant *arg_arg_asv) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1871s # arg_arg_asv)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1871s # tmpdir: /tmp/tmpdmi4wyuf 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpdmi4wyuf/tmpc5xm6htc.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdmi4wyuf/tmpc5xm6htc.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static void 1871s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1871s # GClosure *closure, 1871s # GValue *return_value G_GNUC_UNUSED, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint G_GNUC_UNUSED, 1871s # void *marshal_data) 1871s # { 1871s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1871s # (void *data1, 1871s # gboolean arg_an_b, 1871s # guchar arg_an_y, 1871s # gint16 arg_an_n, 1871s # guint16 arg_an_q, 1871s # gint arg_an_i, 1871s # guint arg_an_u, 1871s # gint64 arg_an_x, 1871s # guint64 arg_an_t, 1871s # gdouble arg_an_d, 1871s # const gchar *arg_an_s, 1871s # const gchar *arg_an_o, 1871s # const gchar *arg_an_g, 1871s # GVariant *arg_an_h, 1871s # const gchar *arg_an_ay, 1871s # const gchar *const *arg_an_as, 1871s # const gchar *const *arg_an_ao, 1871s # const gchar *const *arg_an_aay, 1871s # GVariant *arg_an_asv, 1871s # void *data2); 1871s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1871s # GCClosure *cc = (GCClosure*) closure; 1871s # void *data1, *data2; 1871s # 1871s # g_return_if_fail (n_param_values == 19); 1871s # 1871s # if (G_CCLOSURE_SWAP_DATA (closure)) 1871s # { 1871s # data1 = closure->data; 1871s # data2 = g_value_peek_pointer (param_values + 0); 1871s # } 1871s # else 1871s # { 1871s # data1 = g_value_peek_pointer (param_values + 0); 1871s # data2 = closure->data; 1871s # } 1871s # 1871s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1871s # (marshal_data ? marshal_data : cc->callback); 1871s # 1871s # callback (data1, 1871s # g_marshal_value_peek_boolean (param_values + 1), 1871s # g_marshal_value_peek_uchar (param_values + 2), 1871s # g_marshal_value_peek_int (param_values + 3), 1871s # g_marshal_value_peek_uint (param_values + 4), 1871s # g_marshal_value_peek_int (param_values + 5), 1871s # g_marshal_value_peek_uint (param_values + 6), 1871s # g_marshal_value_peek_int64 (param_values + 7), 1871s # g_marshal_value_peek_uint64 (param_values + 8), 1871s # g_marshal_value_peek_double (param_values + 9), 1871s # g_marshal_value_peek_string (param_values + 10), 1871s # g_marshal_value_peek_string (param_values + 11), 1871s # g_marshal_value_peek_string (param_values + 12), 1871s # g_marshal_value_peek_variant (param_values + 13), 1871s # g_marshal_value_peek_string (param_values + 14), 1871s # g_marshal_value_peek_boxed (param_values + 15), 1871s # g_marshal_value_peek_boxed (param_values + 16), 1871s # g_marshal_value_peek_boxed (param_values + 17), 1871s # g_marshal_value_peek_variant (param_values + 18), 1871s # data2); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.SignalingIface 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectSignalingIface 1871s # * @title: OrgProjectSignalingIface 1871s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1871s # }; 1871s # 1871s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1871s # 1871s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SimpleSignal", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "simple-signal" 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_b", 1871s # (gchar *) "b", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_y", 1871s # (gchar *) "y", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_n", 1871s # (gchar *) "n", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_q", 1871s # (gchar *) "q", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_i", 1871s # (gchar *) "i", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_u", 1871s # (gchar *) "u", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_x", 1871s # (gchar *) "x", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_t", 1871s # (gchar *) "t", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_d", 1871s # (gchar *) "d", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_s", 1871s # (gchar *) "s", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_o", 1871s # (gchar *) "o", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_g", 1871s # (gchar *) "g", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_h", 1871s # (gchar *) "h", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_ay", 1871s # (gchar *) "ay", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_as", 1871s # (gchar *) "as", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_ao", 1871s # (gchar *) "ao", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_aay", 1871s # (gchar *) "aay", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "an_asv", 1871s # (gchar *) "a{sv}", 1871s # NULL 1871s # }, 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "SignalWithManyArgs", 1871s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1871s # NULL 1871s # }, 1871s # "signal-with-many-args" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1871s # { 1871s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1871s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.SignalingIface", 1871s # NULL, 1871s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-signaling-iface", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_signaling_iface_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_simple_signal ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceIface: 1871s # * @parent_iface: The parent interface. 1871s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1871s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1871s # */ 1871s # 1871s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * OrgProjectSignalingIface::simple-signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1871s # g_signal_new ("simple-signal", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_simple_signal, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /** 1871s # * OrgProjectSignalingIface::signal-with-many-args: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_an_b: Argument. 1871s # * @arg_an_y: Argument. 1871s # * @arg_an_n: Argument. 1871s # * @arg_an_q: Argument. 1871s # * @arg_an_i: Argument. 1871s # * @arg_an_u: Argument. 1871s # * @arg_an_x: Argument. 1871s # * @arg_an_t: Argument. 1871s # * @arg_an_d: Argument. 1871s # * @arg_an_s: Argument. 1871s # * @arg_an_o: Argument. 1871s # * @arg_an_g: Argument. 1871s # * @arg_an_h: Argument. 1871s # * @arg_an_ay: Argument. 1871s # * @arg_an_as: Argument. 1871s # * @arg_an_ao: Argument. 1871s # * @arg_an_aay: Argument. 1871s # * @arg_an_asv: Argument. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1871s # g_signal_new ("signal-with-many-args", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1871s # NULL, 1871s # NULL, 1871s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1871s # G_TYPE_NONE, 1871s # 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); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_simple_signal: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * 1871s # * Emits the "SimpleSignal" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_emit_signal_with_many_args: 1871s # * @object: A #OrgProjectSignalingIface. 1871s # * @arg_an_b: Argument to pass with the signal. 1871s # * @arg_an_y: Argument to pass with the signal. 1871s # * @arg_an_n: Argument to pass with the signal. 1871s # * @arg_an_q: Argument to pass with the signal. 1871s # * @arg_an_i: Argument to pass with the signal. 1871s # * @arg_an_u: Argument to pass with the signal. 1871s # * @arg_an_x: Argument to pass with the signal. 1871s # * @arg_an_t: Argument to pass with the signal. 1871s # * @arg_an_d: Argument to pass with the signal. 1871s # * @arg_an_s: Argument to pass with the signal. 1871s # * @arg_an_o: Argument to pass with the signal. 1871s # * @arg_an_g: Argument to pass with the signal. 1871s # * @arg_an_h: Argument to pass with the signal. 1871s # * @arg_an_ay: Argument to pass with the signal. 1871s # * @arg_an_as: Argument to pass with the signal. 1871s # * @arg_an_ao: Argument to pass with the signal. 1871s # * @arg_an_aay: Argument to pass with the signal. 1871s # * @arg_an_asv: Argument to pass with the signal. 1871s # * 1871s # * Emits the "SignalWithManyArgs" D-Bus signal. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_emit_signal_with_many_args ( 1871s # OrgProjectSignalingIface *object, 1871s # gboolean arg_an_b, 1871s # guchar arg_an_y, 1871s # gint16 arg_an_n, 1871s # guint16 arg_an_q, 1871s # gint arg_an_i, 1871s # guint arg_an_u, 1871s # gint64 arg_an_x, 1871s # guint64 arg_an_t, 1871s # gdouble arg_an_d, 1871s # const gchar *arg_an_s, 1871s # const gchar *arg_an_o, 1871s # const gchar *arg_an_g, 1871s # GVariant *arg_an_h, 1871s # const gchar *arg_an_ay, 1871s # const gchar *const *arg_an_as, 1871s # const gchar *const *arg_an_ao, 1871s # const gchar *const *arg_an_aay, 1871s # GVariant *arg_an_asv) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxy: 1871s # * 1871s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1871s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1871s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_signaling_iface_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeleton: 1871s # * 1871s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectSignalingIfaceSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_signaling_iface_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_signaling_iface_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_signaling_iface_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1871s # { 1871s # _org_project_signaling_iface_skeleton_handle_method_call, 1871s # _org_project_signaling_iface_skeleton_handle_get_property, 1871s # _org_project_signaling_iface_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_signaling_iface_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_simple_signal ( 1871s # OrgProjectSignalingIface *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void 1871s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1871s # OrgProjectSignalingIface *object, 1871s # gboolean arg_an_b, 1871s # guchar arg_an_y, 1871s # gint16 arg_an_n, 1871s # guint16 arg_an_q, 1871s # gint arg_an_i, 1871s # guint arg_an_u, 1871s # gint64 arg_an_x, 1871s # guint64 arg_an_t, 1871s # gdouble arg_an_d, 1871s # const gchar *arg_an_s, 1871s # const gchar *arg_an_o, 1871s # const gchar *arg_an_g, 1871s # GVariant *arg_an_h, 1871s # const gchar *arg_an_ay, 1871s # const gchar *const *arg_an_as, 1871s # const gchar *const *arg_an_ao, 1871s # const gchar *const *arg_an_aay, 1871s # GVariant *arg_an_asv) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1871s # arg_an_b, 1871s # arg_an_y, 1871s # arg_an_n, 1871s # arg_an_q, 1871s # arg_an_i, 1871s # arg_an_u, 1871s # arg_an_x, 1871s # arg_an_t, 1871s # arg_an_d, 1871s # arg_an_s, 1871s # arg_an_o, 1871s # arg_an_g, 1871s # arg_an_h, 1871s # arg_an_ay, 1871s # arg_an_as, 1871s # arg_an_ao, 1871s # arg_an_aay, 1871s # arg_an_asv)); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1871s # { 1871s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1871s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1871s # } 1871s # 1871s # /** 1871s # * org_project_signaling_iface_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectSignalingIface * 1871s # org_project_signaling_iface_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1871s # } 1871s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1871s # tmpdir: /tmp/tmp26oe3cch 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmp26oe3cch/tmpj_di_moj.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp26oe3cch/tmpj_di_moj.xml', '--generate-docbook', 'test'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: 1871s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1871s # tmpdir: /tmp/tmpizno8cn6 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpizno8cn6/tmprs35r_33.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpizno8cn6/tmprs35r_33.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1871s # tmpdir: /tmp/tmpu4w1qh2j 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpu4w1qh2j/tmp7c44l_tt.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu4w1qh2j/tmp7c44l_tt.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1871s # tmpdir: /tmp/tmpn1j09iim 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpn1j09iim/tmpxe5eylyh.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn1j09iim/tmpxe5eylyh.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1871s # tmpdir: /tmp/tmpf9a57gc3 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpf9a57gc3/tmp4nwra8lf.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf9a57gc3/tmp4nwra8lf.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1871s # tmpdir: /tmp/tmps38r3th3 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmps38r3th3/tmpgi_c3pt1.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps38r3th3/tmpgi_c3pt1.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1871s # tmpdir: /tmp/tmpwikvtjdc 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpwikvtjdc/tmp0lj77iku.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwikvtjdc/tmp0lj77iku.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1871s # tmpdir: /tmp/tmp7krig6jd 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmp7krig6jd/tmpkretx35e.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7krig6jd/tmpkretx35e.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1871s # tmpdir: /tmp/tmpafx7fyyj 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpafx7fyyj/tmpqypo5fkg.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafx7fyyj/tmpqypo5fkg.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1871s # tmpdir: /tmp/tmp607t5bjx 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmp607t5bjx/tmpvsr2h5zx.xml: 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp607t5bjx/tmpvsr2h5zx.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s ok 35 __main__.TestCodegen.test_help 1871s # tmpdir: /tmp/tmp_0vlh7xv 1871s # codegen: /usr/bin/gdbus-codegen 1871s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1871s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1871s # [--c-generate-autocleanup {none,objects,all}] 1871s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1871s # [--generate-rst OUTFILES] [--pragma-once] 1871s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1871s # [--glib-min-required VERSION] 1871s # [--glib-max-allowed VERSION] 1871s # [--symbol-decorator SYMBOL_DECORATOR] 1871s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1871s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1871s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1871s # [--output FILE | --output-directory OUTDIR] 1871s # FILE [FILE ...] 1871s # 1871s # D-Bus code and documentation generator 1871s # 1871s # positional arguments: 1871s # FILE D-Bus introspection XML file 1871s # 1871s # options: 1871s # -h, --help show this help message and exit 1871s # --interface-prefix PREFIX 1871s # String to strip from D-Bus interface names for code 1871s # and docs 1871s # --c-namespace NAMESPACE 1871s # The namespace to use for generated C code 1871s # --c-generate-object-manager 1871s # Generate a GDBusObjectManagerClient subclass when 1871s # generating C code 1871s # --c-generate-autocleanup {none,objects,all} 1871s # Generate autocleanup support 1871s # --generate-docbook OUTFILES 1871s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1871s # --generate-md OUTFILES 1871s # Generate Markdown in OUTFILES-org.Project.IFace.md 1871s # --generate-rst OUTFILES 1871s # Generate reStructuredText in OUTFILES- 1871s # org.Project.IFace.rst 1871s # --pragma-once Use "pragma once" as the inclusion guard 1871s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1871s # Add annotation (may be used several times) 1871s # --glib-min-required VERSION 1871s # Minimum version of GLib to be supported by the 1871s # outputted code (default: 2.30) 1871s # --glib-max-allowed VERSION 1871s # Maximum version of GLib to be used by the outputted 1871s # code (default: current GLib version) 1871s # --symbol-decorator SYMBOL_DECORATOR 1871s # Macro used to decorate a symbol in the outputted 1871s # header, possibly to export symbols 1871s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1871s # Additional header required for decorator specified by 1871s # --symbol-decorator 1871s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1871s # Additional define required for decorator specified by 1871s # --symbol-decorator 1871s # --generate-c-code OUTFILES 1871s # Generate C code in OUTFILES.[ch] 1871s # --header Generate C headers 1871s # --body Generate C code 1871s # --interface-info-header 1871s # Generate GDBusInterfaceInfo C header 1871s # --interface-info-body 1871s # Generate GDBusInterfaceInfo C code 1871s # --output FILE Write output into the specified file 1871s # --output-directory OUTDIR 1871s # Location to output generated files 1871s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1871s # tmpdir: /tmp/tmpgsqe3l8k 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmpgsqe3l8k/tmpvnayifc5.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgsqe3l8k/tmpvnayifc5.xml', '--generate-rst', 'test'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: 1871s # /tmp/tmpgsqe3l8k/tmpkpujfq5c.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgsqe3l8k/tmpkpujfq5c.xml', '--generate-md', 'test'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: 1871s # /tmp/tmpgsqe3l8k/tmpriw46iim.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgsqe3l8k/tmpriw46iim.xml', '--generate-docbook', 'test'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: 1871s ok 37 __main__.TestCodegen.test_no_args 1871s # tmpdir: /tmp/tmp413bso_p 1871s # codegen: /usr/bin/gdbus-codegen 1871s # Running: ['/usr/bin/gdbus-codegen'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s ok 38 __main__.TestCodegen.test_reproducible 1871s # tmpdir: /tmp/tmppadppofk 1871s # codegen: /usr/bin/gdbus-codegen 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppadppofk/tmptuqpnz7_1.xml', '/tmp/tmppadppofk/tmptosu5s3c2.xml', '--output', '-', '--header'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for org.project.Bar.Frobnicator */ 1871s # 1871s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1871s # 1871s # struct _OrgProjectBarFrobnicator; 1871s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1871s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1871s # 1871s # struct _OrgProjectBarFrobnicatorIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # gboolean (*handle_random_method) ( 1871s # OrgProjectBarFrobnicator *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # }; 1871s # 1871s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1871s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void org_project_bar_frobnicator_complete_random_method ( 1871s # OrgProjectBarFrobnicator *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void org_project_bar_frobnicator_call_random_method ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1871s # 1871s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1871s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1871s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1871s # 1871s # struct _OrgProjectBarFrobnicatorProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _OrgProjectBarFrobnicatorProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void org_project_bar_frobnicator_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1871s # 1871s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1871s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1871s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1871s # 1871s # struct _OrgProjectBarFrobnicatorSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _OrgProjectBarFrobnicatorSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for com.acme.Coyote */ 1871s # 1871s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1871s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1871s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1871s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1871s # 1871s # struct _ComAcmeCoyote; 1871s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1871s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1871s # 1871s # struct _ComAcmeCoyoteIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # 1871s # 1871s # gboolean (*handle_attack) ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # gboolean (*handle_run) ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # gboolean (*handle_sleep) ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1871s # 1871s # void (*surprised) ( 1871s # ComAcmeCoyote *object); 1871s # 1871s # }; 1871s # 1871s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1871s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void com_acme_coyote_complete_run ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # void com_acme_coyote_complete_sleep ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # void com_acme_coyote_complete_attack ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # 1871s # 1871s # /* D-Bus signal emissions functions: */ 1871s # void com_acme_coyote_emit_surprised ( 1871s # ComAcmeCoyote *object); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void com_acme_coyote_call_run ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean com_acme_coyote_call_run_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean com_acme_coyote_call_run_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void com_acme_coyote_call_sleep ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean com_acme_coyote_call_sleep_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean com_acme_coyote_call_sleep_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void com_acme_coyote_call_attack ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean com_acme_coyote_call_attack_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean com_acme_coyote_call_attack_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* D-Bus property accessors: */ 1871s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1871s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1871s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1871s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1871s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1871s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1871s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1871s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1871s # 1871s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1871s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1871s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1871s # 1871s # struct _ComAcmeCoyoteProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # ComAcmeCoyoteProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _ComAcmeCoyoteProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void com_acme_coyote_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void com_acme_coyote_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1871s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1871s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1871s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1871s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1871s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1871s # 1871s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1871s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1871s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1871s # 1871s # struct _ComAcmeCoyoteSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # ComAcmeCoyoteSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _ComAcmeCoyoteSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppadppofk/tmptosu5s3c2.xml', '/tmp/tmppadppofk/tmptuqpnz7_1.xml', '--output', '-', '--header'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for org.project.Bar.Frobnicator */ 1871s # 1871s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1871s # 1871s # struct _OrgProjectBarFrobnicator; 1871s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1871s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1871s # 1871s # struct _OrgProjectBarFrobnicatorIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # gboolean (*handle_random_method) ( 1871s # OrgProjectBarFrobnicator *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # }; 1871s # 1871s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1871s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void org_project_bar_frobnicator_complete_random_method ( 1871s # OrgProjectBarFrobnicator *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void org_project_bar_frobnicator_call_random_method ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1871s # 1871s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1871s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1871s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1871s # 1871s # struct _OrgProjectBarFrobnicatorProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _OrgProjectBarFrobnicatorProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void org_project_bar_frobnicator_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1871s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1871s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1871s # 1871s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1871s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1871s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1871s # 1871s # struct _OrgProjectBarFrobnicatorSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _OrgProjectBarFrobnicatorSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for com.acme.Coyote */ 1871s # 1871s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1871s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1871s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1871s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1871s # 1871s # struct _ComAcmeCoyote; 1871s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1871s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1871s # 1871s # struct _ComAcmeCoyoteIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # 1871s # 1871s # gboolean (*handle_attack) ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # gboolean (*handle_run) ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # gboolean (*handle_sleep) ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1871s # 1871s # void (*surprised) ( 1871s # ComAcmeCoyote *object); 1871s # 1871s # }; 1871s # 1871s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1871s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void com_acme_coyote_complete_run ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # void com_acme_coyote_complete_sleep ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # void com_acme_coyote_complete_attack ( 1871s # ComAcmeCoyote *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # 1871s # 1871s # /* D-Bus signal emissions functions: */ 1871s # void com_acme_coyote_emit_surprised ( 1871s # ComAcmeCoyote *object); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void com_acme_coyote_call_run ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean com_acme_coyote_call_run_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean com_acme_coyote_call_run_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void com_acme_coyote_call_sleep ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean com_acme_coyote_call_sleep_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean com_acme_coyote_call_sleep_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void com_acme_coyote_call_attack ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean com_acme_coyote_call_attack_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean com_acme_coyote_call_attack_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* D-Bus property accessors: */ 1871s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1871s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1871s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1871s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1871s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1871s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1871s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1871s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1871s # 1871s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1871s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1871s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1871s # 1871s # struct _ComAcmeCoyoteProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # ComAcmeCoyoteProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _ComAcmeCoyoteProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void com_acme_coyote_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void com_acme_coyote_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1871s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1871s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1871s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1871s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1871s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1871s # 1871s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1871s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1871s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1871s # 1871s # struct _ComAcmeCoyoteSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # ComAcmeCoyoteSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _ComAcmeCoyoteSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppadppofk/tmptuqpnz7_1.xml', '/tmp/tmppadppofk/tmptosu5s3c2.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static void 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint G_GNUC_UNUSED, 1871s # void *marshal_data) 1871s # { 1871s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1871s # (void *data1, 1871s # GDBusMethodInvocation *arg_method_invocation, 1871s # void *data2); 1871s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1871s # GCClosure *cc = (GCClosure*) closure; 1871s # void *data1, *data2; 1871s # gboolean v_return; 1871s # 1871s # g_return_if_fail (return_value != NULL); 1871s # g_return_if_fail (n_param_values == 2); 1871s # 1871s # if (G_CCLOSURE_SWAP_DATA (closure)) 1871s # { 1871s # data1 = closure->data; 1871s # data2 = g_value_peek_pointer (param_values + 0); 1871s # } 1871s # else 1871s # { 1871s # data1 = g_value_peek_pointer (param_values + 0); 1871s # data2 = closure->data; 1871s # } 1871s # 1871s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1871s # (marshal_data ? marshal_data : cc->callback); 1871s # 1871s # v_return = 1871s # callback (data1, 1871s # g_marshal_value_peek_object (param_values + 1), 1871s # data2); 1871s # 1871s # g_value_set_boolean (return_value, v_return); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.Bar.Frobnicator 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectBarFrobnicator 1871s # * @title: OrgProjectBarFrobnicator 1871s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1871s # */ 1871s # 1871s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1871s # 1871s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "RandomMethod", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-random-method", 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1871s # { 1871s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.Bar.Frobnicator", 1871s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-bar-frobnicator", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_bar_frobnicator_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_bar_frobnicator_method_marshal_random_method ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicator: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorIface: 1871s # * @parent_iface: The parent interface. 1871s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1871s # */ 1871s # 1871s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1871s # { 1871s # /* GObject signals for incoming D-Bus method calls: */ 1871s # /** 1871s # * OrgProjectBarFrobnicator::handle-random-method: 1871s # * @object: A #OrgProjectBarFrobnicator. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-random-method", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # org_project_bar_frobnicator_method_marshal_random_method, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_call_random_method: 1871s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_call_random_method ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "RandomMethod", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_call_random_method_finish: 1871s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # org_project_bar_frobnicator_call_random_method_finish ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_call_random_method_sync: 1871s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # org_project_bar_frobnicator_call_random_method_sync ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "RandomMethod", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_complete_random_method: 1871s # * @object: A #OrgProjectBarFrobnicator. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_complete_random_method ( 1871s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorProxy: 1871s # * 1871s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectBarFrobnicatorProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1871s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1871s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorSkeleton: 1871s # * 1871s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1871s # { 1871s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1871s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1871s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_bar_frobnicator_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface com.acme.Coyote 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:ComAcmeCoyote 1871s # * @title: ComAcmeCoyote 1871s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1871s # * 1871s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _COM_ACME_COYOTE_SURPRISED, 1871s # }; 1871s # 1871s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1871s # 1871s # /* ---- Introspection data for com.acme.Coyote ---- */ 1871s # 1871s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Run", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-run", 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Sleep", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-sleep", 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Attack", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-attack", 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1871s # { 1871s # &_com_acme_coyote_method_info_run.parent_struct, 1871s # &_com_acme_coyote_method_info_sleep.parent_struct, 1871s # &_com_acme_coyote_method_info_attack.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Surprised", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "surprised" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1871s # { 1871s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Mood", 1871s # (gchar *) "s", 1871s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1871s # NULL 1871s # }, 1871s # "mood", 1871s # FALSE, 1871s # TRUE 1871s # }; 1871s # 1871s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1871s # { 1871s # &_com_acme_coyote_property_info_mood.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "com.acme.Coyote", 1871s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1871s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1871s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1871s # NULL 1871s # }, 1871s # "com-acme-coyote", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * com_acme_coyote_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # com_acme_coyote_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1871s # { 1871s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # com_acme_coyote_signal_marshal_surprised ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # com_acme_coyote_method_marshal_run ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # com_acme_coyote_method_marshal_sleep ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # com_acme_coyote_method_marshal_attack ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * ComAcmeCoyote: 1871s # * 1871s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1871s # */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteIface: 1871s # * @parent_iface: The parent interface. 1871s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1871s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1871s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1871s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1871s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1871s # * 1871s # * Virtual table for the D-Bus interface com.acme.Coyote. 1871s # */ 1871s # 1871s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1871s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1871s # { 1871s # /* GObject signals for incoming D-Bus method calls: */ 1871s # /** 1871s # * ComAcmeCoyote::handle-run: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-run", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # com_acme_coyote_method_marshal_run, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # /** 1871s # * ComAcmeCoyote::handle-sleep: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-sleep", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # com_acme_coyote_method_marshal_sleep, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # /** 1871s # * ComAcmeCoyote::handle-attack: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-attack", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # com_acme_coyote_method_marshal_attack, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * ComAcmeCoyote::surprised: 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1871s # g_signal_new ("surprised", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1871s # NULL, 1871s # NULL, 1871s # com_acme_coyote_signal_marshal_surprised, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /* GObject properties for D-Bus properties: */ 1871s # /** 1871s # * ComAcmeCoyote:mood: 1871s # * 1871s # * Represents the D-Bus property "Mood". 1871s # * 1871s # * 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. 1871s # */ 1871s # g_object_interface_install_property (iface, 1871s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_get_mood: (skip) 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * Gets the value of the "Mood" D-Bus property. 1871s # * 1871s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # const gchar * 1871s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1871s # { 1871s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1871s # 1871s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_dup_mood: (skip) 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * Gets a copy of the "Mood" D-Bus property. 1871s # * 1871s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1871s # * 1871s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1871s # */ 1871s # gchar * 1871s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1871s # { 1871s # gchar *value; 1871s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1871s # return value; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_set_mood: (skip) 1871s # * @object: A #ComAcmeCoyote. 1871s # * @value: The value to set. 1871s # * 1871s # * Sets the "Mood" D-Bus property to @value. 1871s # * 1871s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1871s # */ 1871s # void 1871s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1871s # { 1871s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_emit_surprised: 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * Emits the "Surprised" D-Bus signal. 1871s # */ 1871s # void 1871s # com_acme_coyote_emit_surprised ( 1871s # ComAcmeCoyote *object) 1871s # { 1871s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_run: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # com_acme_coyote_call_run ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "Run", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_run_finish: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_call_run(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_run_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_run_sync: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_run_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "Run", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_sleep: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # com_acme_coyote_call_sleep ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "Sleep", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_sleep_finish: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_sleep_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_sleep_sync: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_sleep_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "Sleep", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_attack: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # com_acme_coyote_call_attack ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "Attack", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_attack_finish: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_call_attack(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_attack_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_attack_sync: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_attack_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "Attack", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_complete_run: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # com_acme_coyote_complete_run ( 1871s # ComAcmeCoyote *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_complete_sleep: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # com_acme_coyote_complete_sleep ( 1871s # ComAcmeCoyote *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_complete_attack: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # com_acme_coyote_complete_attack ( 1871s # ComAcmeCoyote *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteProxy: 1871s # * 1871s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #ComAcmeCoyoteProxy. 1871s # */ 1871s # 1871s # struct _ComAcmeCoyoteProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # com_acme_coyote_proxy_finalize (GObject *object) 1871s # { 1871s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_get_property (GObject *object, 1871s # guint prop_id, 1871s # GValue *value, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *variant; 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1871s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1871s # if (info->use_gvariant) 1871s # { 1871s # g_value_set_variant (value, variant); 1871s # } 1871s # else 1871s # { 1871s # if (variant != NULL) 1871s # g_dbus_gvariant_to_gvalue (variant, value); 1871s # } 1871s # if (variant != NULL) 1871s # g_variant_unref (variant); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1871s # GAsyncResult *res, 1871s # gpointer user_data) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info = user_data; 1871s # GError *error; 1871s # GVariant *_ret; 1871s # error = NULL; 1871s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1871s # if (!_ret) 1871s # { 1871s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1871s # info->parent_struct.name, 1871s # error->message, g_quark_to_string (error->domain), error->code); 1871s # g_error_free (error); 1871s # } 1871s # else 1871s # { 1871s # g_variant_unref (_ret); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_set_property (GObject *object, 1871s # guint prop_id, 1871s # const GValue *value, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *variant; 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1871s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1871s # "org.freedesktop.DBus.Properties.Set", 1871s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1871s # g_variant_unref (variant); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static const gchar * 1871s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1871s # { 1871s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1871s # GVariant *variant; 1871s # const gchar *value = NULL; 1871s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1871s # if (variant != NULL) 1871s # { 1871s # value = g_variant_get_string (variant, NULL); 1871s # g_variant_unref (variant); 1871s # } 1871s # return value; 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1871s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1871s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1871s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1871s # 1871s # com_acme_coyote_override_properties (gobject_class, 1); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1871s # { 1871s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # com_acme_coyote_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # com_acme_coyote_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteSkeleton: 1871s # * 1871s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #ComAcmeCoyoteSkeleton. 1871s # */ 1871s # 1871s # struct _ComAcmeCoyoteSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _com_acme_coyote_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _com_acme_coyote_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _com_acme_coyote_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1871s # { 1871s # _com_acme_coyote_skeleton_handle_method_call, 1871s # _com_acme_coyote_skeleton_handle_get_property, 1871s # _com_acme_coyote_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return com_acme_coyote_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1871s # gboolean emit_changed = FALSE; 1871s # 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # { 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # skeleton->priv->changed_properties_idle_source = NULL; 1871s # emit_changed = TRUE; 1871s # } 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # 1871s # if (emit_changed) 1871s # _com_acme_coyote_emit_changed (skeleton); 1871s # } 1871s # 1871s # static void 1871s # _com_acme_coyote_on_signal_surprised ( 1871s # ComAcmeCoyote *object) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # com_acme_coyote_skeleton_finalize (GObject *object) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # guint n; 1871s # for (n = 0; n < 1; n++) 1871s # g_value_unset (&skeleton->priv->properties[n]); 1871s # g_free (skeleton->priv->properties); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_get_property (GObject *object, 1871s # guint prop_id, 1871s # GValue *value, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # } 1871s # 1871s # static gboolean 1871s # _com_acme_coyote_emit_changed (gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # GList *l; 1871s # GVariantBuilder builder; 1871s # GVariantBuilder invalidated_builder; 1871s # guint num_changes; 1871s # 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1871s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1871s # { 1871s # ChangedProperty *cp = l->data; 1871s # GVariant *variant; 1871s # const GValue *cur_value; 1871s # 1871s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1871s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1871s # { 1871s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1871s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1871s # g_variant_unref (variant); 1871s # num_changes++; 1871s # } 1871s # } 1871s # if (num_changes > 0) 1871s # { 1871s # GList *connections, *ll; 1871s # GVariant *signal_variant; 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1871s # &builder, &invalidated_builder)); 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # for (ll = connections; ll != NULL; ll = ll->next) 1871s # { 1871s # GDBusConnection *connection = ll->data; 1871s # 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1871s # "org.freedesktop.DBus.Properties", 1871s # "PropertiesChanged", 1871s # signal_variant, 1871s # NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # else 1871s # { 1871s # g_variant_builder_clear (&builder); 1871s # g_variant_builder_clear (&invalidated_builder); 1871s # } 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # skeleton->priv->changed_properties = NULL; 1871s # skeleton->priv->changed_properties_idle_source = NULL; 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # return FALSE; 1871s # } 1871s # 1871s # static void 1871s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1871s # { 1871s # ChangedProperty *cp; 1871s # GList *l; 1871s # cp = NULL; 1871s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1871s # { 1871s # ChangedProperty *i_cp = l->data; 1871s # if (i_cp->info == info) 1871s # { 1871s # cp = i_cp; 1871s # break; 1871s # } 1871s # } 1871s # if (cp == NULL) 1871s # { 1871s # cp = g_new0 (ChangedProperty, 1); 1871s # cp->prop_id = prop_id; 1871s # cp->info = info; 1871s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1871s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1871s # g_value_copy (orig_value, &cp->orig_value); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_notify (GObject *object, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # if (skeleton->priv->changed_properties != NULL && 1871s # skeleton->priv->changed_properties_idle_source == NULL) 1871s # { 1871s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1871s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1871s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1871s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1871s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1871s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1871s # } 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_set_property (GObject *object, 1871s # guint prop_id, 1871s # const GValue *value, 1871s # GParamSpec *pspec) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # g_object_freeze_notify (object); 1871s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1871s # { 1871s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1871s # info->emits_changed_signal) 1871s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1871s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1871s # g_object_notify_by_pspec (object, pspec); 1871s # } 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # g_object_thaw_notify (object); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # skeleton->priv->properties = g_new0 (GValue, 1); 1871s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1871s # } 1871s # 1871s # static const gchar * 1871s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # const gchar *value; 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # return value; 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1871s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1871s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1871s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1871s # 1871s # 1871s # com_acme_coyote_override_properties (gobject_class, 1); 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1871s # { 1871s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1871s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_skeleton_new (void) 1871s # { 1871s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1871s # } 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppadppofk/tmptosu5s3c2.xml', '/tmp/tmppadppofk/tmptuqpnz7_1.xml', '--output', '-', '--body'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifdef HAVE_CONFIG_H 1871s # # include "config.h" 1871s # #endif 1871s # 1871s # #include 1871s # #ifdef G_OS_UNIX 1871s # # include 1871s # #endif 1871s # 1871s # #ifdef G_ENABLE_DEBUG 1871s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1871s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1871s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1871s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1871s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1871s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1871s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1871s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1871s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1871s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1871s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1871s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1871s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1871s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1871s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1871s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1871s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1871s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1871s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1871s # #else /* !G_ENABLE_DEBUG */ 1871s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1871s # * Do not access GValues directly in your code. Instead, use the 1871s # * g_value_get_*() functions 1871s # */ 1871s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1871s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1871s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1871s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1871s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1871s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1871s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1871s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1871s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1871s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1871s # #endif /* !G_ENABLE_DEBUG */ 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusArgInfo parent_struct; 1871s # gboolean use_gvariant; 1871s # } _ExtendedGDBusArgInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusMethodInfo parent_struct; 1871s # const gchar *signal_name; 1871s # gboolean pass_fdlist; 1871s # } _ExtendedGDBusMethodInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusSignalInfo parent_struct; 1871s # const gchar *signal_name; 1871s # } _ExtendedGDBusSignalInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusPropertyInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # guint use_gvariant : 1; 1871s # guint emits_changed_signal : 1; 1871s # } _ExtendedGDBusPropertyInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # GDBusInterfaceInfo parent_struct; 1871s # const gchar *hyphen_name; 1871s # } _ExtendedGDBusInterfaceInfo; 1871s # 1871s # typedef struct 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # guint prop_id; 1871s # GValue orig_value; /* the value before the change */ 1871s # } ChangedProperty; 1871s # 1871s # static void 1871s # _changed_property_free (ChangedProperty *data) 1871s # { 1871s # g_value_unset (&data->orig_value); 1871s # g_free (data); 1871s # } 1871s # 1871s # static gboolean 1871s # _g_strv_equal0 (gchar **a, gchar **b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # guint n; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # if (g_strv_length (a) != g_strv_length (b)) 1871s # goto out; 1871s # for (n = 0; a[n] != NULL; n++) 1871s # if (g_strcmp0 (a[n], b[n]) != 0) 1871s # goto out; 1871s # ret = TRUE; 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _g_variant_equal0 (GVariant *a, GVariant *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # if (a == NULL && b == NULL) 1871s # { 1871s # ret = TRUE; 1871s # goto out; 1871s # } 1871s # if (a == NULL || b == NULL) 1871s # goto out; 1871s # ret = g_variant_equal (a, b); 1871s # out: 1871s # return ret; 1871s # } 1871s # 1871s # G_GNUC_UNUSED static gboolean 1871s # _g_value_equal (const GValue *a, const GValue *b) 1871s # { 1871s # gboolean ret = FALSE; 1871s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1871s # switch (G_VALUE_TYPE (a)) 1871s # { 1871s # case G_TYPE_BOOLEAN: 1871s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1871s # break; 1871s # case G_TYPE_UCHAR: 1871s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1871s # break; 1871s # case G_TYPE_INT: 1871s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1871s # break; 1871s # case G_TYPE_UINT: 1871s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1871s # break; 1871s # case G_TYPE_INT64: 1871s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1871s # break; 1871s # case G_TYPE_UINT64: 1871s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1871s # break; 1871s # case G_TYPE_DOUBLE: 1871s # { 1871s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1871s # gdouble da = g_value_get_double (a); 1871s # gdouble db = g_value_get_double (b); 1871s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1871s # } 1871s # break; 1871s # case G_TYPE_STRING: 1871s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1871s # break; 1871s # case G_TYPE_VARIANT: 1871s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1871s # break; 1871s # default: 1871s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1871s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1871s # else 1871s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1871s # break; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static void 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint G_GNUC_UNUSED, 1871s # void *marshal_data) 1871s # { 1871s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1871s # (void *data1, 1871s # GDBusMethodInvocation *arg_method_invocation, 1871s # void *data2); 1871s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1871s # GCClosure *cc = (GCClosure*) closure; 1871s # void *data1, *data2; 1871s # gboolean v_return; 1871s # 1871s # g_return_if_fail (return_value != NULL); 1871s # g_return_if_fail (n_param_values == 2); 1871s # 1871s # if (G_CCLOSURE_SWAP_DATA (closure)) 1871s # { 1871s # data1 = closure->data; 1871s # data2 = g_value_peek_pointer (param_values + 0); 1871s # } 1871s # else 1871s # { 1871s # data1 = g_value_peek_pointer (param_values + 0); 1871s # data2 = closure->data; 1871s # } 1871s # 1871s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1871s # (marshal_data ? marshal_data : cc->callback); 1871s # 1871s # v_return = 1871s # callback (data1, 1871s # g_marshal_value_peek_object (param_values + 1), 1871s # data2); 1871s # 1871s # g_value_set_boolean (return_value, v_return); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface org.project.Bar.Frobnicator 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:OrgProjectBarFrobnicator 1871s # * @title: OrgProjectBarFrobnicator 1871s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1871s # * 1871s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1871s # */ 1871s # 1871s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1871s # 1871s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "RandomMethod", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-random-method", 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1871s # { 1871s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "org.project.Bar.Frobnicator", 1871s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "org-project-bar-frobnicator", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # org_project_bar_frobnicator_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1871s # { 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # org_project_bar_frobnicator_method_marshal_random_method ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicator: 1871s # * 1871s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorIface: 1871s # * @parent_iface: The parent interface. 1871s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1871s # * 1871s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1871s # */ 1871s # 1871s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1871s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1871s # { 1871s # /* GObject signals for incoming D-Bus method calls: */ 1871s # /** 1871s # * OrgProjectBarFrobnicator::handle-random-method: 1871s # * @object: A #OrgProjectBarFrobnicator. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-random-method", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # org_project_bar_frobnicator_method_marshal_random_method, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_call_random_method: 1871s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_call_random_method ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "RandomMethod", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_call_random_method_finish: 1871s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # org_project_bar_frobnicator_call_random_method_finish ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_call_random_method_sync: 1871s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # org_project_bar_frobnicator_call_random_method_sync ( 1871s # OrgProjectBarFrobnicator *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "RandomMethod", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_complete_random_method: 1871s # * @object: A #OrgProjectBarFrobnicator. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_complete_random_method ( 1871s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorProxy: 1871s # * 1871s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1871s # */ 1871s # 1871s # struct _OrgProjectBarFrobnicatorProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1871s # { 1871s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1871s # guint prop_id G_GNUC_UNUSED, 1871s # const GValue *value G_GNUC_UNUSED, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1871s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1871s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1871s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # org_project_bar_frobnicator_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorSkeleton: 1871s # * 1871s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * OrgProjectBarFrobnicatorSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1871s # */ 1871s # 1871s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1871s # { 1871s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1871s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1871s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return org_project_bar_frobnicator_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1871s # { 1871s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1871s # { 1871s # } 1871s # 1871s # /** 1871s # * org_project_bar_frobnicator_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1871s # * 1871s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1871s # */ 1871s # OrgProjectBarFrobnicator * 1871s # org_project_bar_frobnicator_skeleton_new (void) 1871s # { 1871s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ 1871s # * Code for interface com.acme.Coyote 1871s # * ------------------------------------------------------------------------ 1871s # */ 1871s # 1871s # /** 1871s # * SECTION:ComAcmeCoyote 1871s # * @title: ComAcmeCoyote 1871s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1871s # * 1871s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1871s # */ 1871s # 1871s # enum 1871s # { 1871s # _COM_ACME_COYOTE_SURPRISED, 1871s # }; 1871s # 1871s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1871s # 1871s # /* ---- Introspection data for com.acme.Coyote ---- */ 1871s # 1871s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Run", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-run", 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Sleep", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-sleep", 1871s # FALSE 1871s # }; 1871s # 1871s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Attack", 1871s # NULL, 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "handle-attack", 1871s # FALSE 1871s # }; 1871s # 1871s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1871s # { 1871s # &_com_acme_coyote_method_info_run.parent_struct, 1871s # &_com_acme_coyote_method_info_sleep.parent_struct, 1871s # &_com_acme_coyote_method_info_attack.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Surprised", 1871s # NULL, 1871s # NULL 1871s # }, 1871s # "surprised" 1871s # }; 1871s # 1871s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1871s # { 1871s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "Mood", 1871s # (gchar *) "s", 1871s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1871s # NULL 1871s # }, 1871s # "mood", 1871s # FALSE, 1871s # TRUE 1871s # }; 1871s # 1871s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1871s # { 1871s # &_com_acme_coyote_property_info_mood.parent_struct, 1871s # NULL 1871s # }; 1871s # 1871s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1871s # { 1871s # { 1871s # -1, 1871s # (gchar *) "com.acme.Coyote", 1871s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1871s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1871s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1871s # NULL 1871s # }, 1871s # "com-acme-coyote", 1871s # }; 1871s # 1871s # 1871s # /** 1871s # * com_acme_coyote_interface_info: 1871s # * 1871s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1871s # * 1871s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1871s # */ 1871s # GDBusInterfaceInfo * 1871s # com_acme_coyote_interface_info (void) 1871s # { 1871s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_override_properties: 1871s # * @klass: The class structure for a #GObject derived class. 1871s # * @property_id_begin: The property id to assign to the first overridden property. 1871s # * 1871s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1871s # * The properties are overridden in the order they are defined. 1871s # * 1871s # * Returns: The last property id. 1871s # */ 1871s # guint 1871s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1871s # { 1871s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1871s # return property_id_begin - 1; 1871s # } 1871s # 1871s # 1871s # inline static void 1871s # com_acme_coyote_signal_marshal_surprised ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # g_cclosure_marshal_VOID__VOID (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # com_acme_coyote_method_marshal_run ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # com_acme_coyote_method_marshal_sleep ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # inline static void 1871s # com_acme_coyote_method_marshal_attack ( 1871s # GClosure *closure, 1871s # GValue *return_value, 1871s # unsigned int n_param_values, 1871s # const GValue *param_values, 1871s # void *invocation_hint, 1871s # void *marshal_data) 1871s # { 1871s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1871s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1871s # } 1871s # 1871s # 1871s # /** 1871s # * ComAcmeCoyote: 1871s # * 1871s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1871s # */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteIface: 1871s # * @parent_iface: The parent interface. 1871s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1871s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1871s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1871s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1871s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1871s # * 1871s # * Virtual table for the D-Bus interface com.acme.Coyote. 1871s # */ 1871s # 1871s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1871s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1871s # 1871s # static void 1871s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1871s # { 1871s # /* GObject signals for incoming D-Bus method calls: */ 1871s # /** 1871s # * ComAcmeCoyote::handle-run: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-run", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # com_acme_coyote_method_marshal_run, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # /** 1871s # * ComAcmeCoyote::handle-sleep: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-sleep", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # com_acme_coyote_method_marshal_sleep, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # /** 1871s # * ComAcmeCoyote::handle-attack: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: A #GDBusMethodInvocation. 1871s # * 1871s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # g_signal_new ("handle-attack", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1871s # g_signal_accumulator_true_handled, 1871s # NULL, 1871s # com_acme_coyote_method_marshal_attack, 1871s # G_TYPE_BOOLEAN, 1871s # 1, 1871s # G_TYPE_DBUS_METHOD_INVOCATION); 1871s # 1871s # /* GObject signals for received D-Bus signals: */ 1871s # /** 1871s # * ComAcmeCoyote::surprised: 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1871s # * 1871s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1871s # */ 1871s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1871s # g_signal_new ("surprised", 1871s # G_TYPE_FROM_INTERFACE (iface), 1871s # G_SIGNAL_RUN_LAST, 1871s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1871s # NULL, 1871s # NULL, 1871s # com_acme_coyote_signal_marshal_surprised, 1871s # G_TYPE_NONE, 1871s # 0); 1871s # 1871s # /* GObject properties for D-Bus properties: */ 1871s # /** 1871s # * ComAcmeCoyote:mood: 1871s # * 1871s # * Represents the D-Bus property "Mood". 1871s # * 1871s # * 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. 1871s # */ 1871s # g_object_interface_install_property (iface, 1871s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_get_mood: (skip) 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * Gets the value of the "Mood" D-Bus property. 1871s # * 1871s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1871s # * 1871s # * 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. 1871s # * 1871s # * 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. 1871s # */ 1871s # const gchar * 1871s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1871s # { 1871s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1871s # 1871s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_dup_mood: (skip) 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * Gets a copy of the "Mood" D-Bus property. 1871s # * 1871s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1871s # * 1871s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1871s # */ 1871s # gchar * 1871s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1871s # { 1871s # gchar *value; 1871s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1871s # return value; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_set_mood: (skip) 1871s # * @object: A #ComAcmeCoyote. 1871s # * @value: The value to set. 1871s # * 1871s # * Sets the "Mood" D-Bus property to @value. 1871s # * 1871s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1871s # */ 1871s # void 1871s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1871s # { 1871s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_emit_surprised: 1871s # * @object: A #ComAcmeCoyote. 1871s # * 1871s # * Emits the "Surprised" D-Bus signal. 1871s # */ 1871s # void 1871s # com_acme_coyote_emit_surprised ( 1871s # ComAcmeCoyote *object) 1871s # { 1871s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_run: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # com_acme_coyote_call_run ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "Run", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_run_finish: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_call_run(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_run_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_run_sync: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_run_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "Run", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_sleep: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # com_acme_coyote_call_sleep ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "Sleep", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_sleep_finish: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_sleep_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_sleep_sync: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_sleep_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "Sleep", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_attack: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1871s # */ 1871s # void 1871s # com_acme_coyote_call_attack ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1871s # "Attack", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # callback, 1871s # user_data); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_attack_finish: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_call_attack(). 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_attack_finish ( 1871s # ComAcmeCoyote *proxy, 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_call_attack_sync: 1871s # * @proxy: A #ComAcmeCoyoteProxy. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL. 1871s # * 1871s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1871s # * 1871s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1871s # */ 1871s # gboolean 1871s # com_acme_coyote_call_attack_sync ( 1871s # ComAcmeCoyote *proxy, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GVariant *_ret; 1871s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1871s # "Attack", 1871s # g_variant_new ("()"), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # cancellable, 1871s # error); 1871s # if (_ret == NULL) 1871s # goto _out; 1871s # g_variant_get (_ret, 1871s # "()"); 1871s # g_variant_unref (_ret); 1871s # _out: 1871s # return _ret != NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_complete_run: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # com_acme_coyote_complete_run ( 1871s # ComAcmeCoyote *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_complete_sleep: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # com_acme_coyote_complete_sleep ( 1871s # ComAcmeCoyote *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_complete_attack: 1871s # * @object: A #ComAcmeCoyote. 1871s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1871s # * 1871s # * 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. 1871s # * 1871s # * This method will free @invocation, you cannot use it afterwards. 1871s # */ 1871s # void 1871s # com_acme_coyote_complete_attack ( 1871s # ComAcmeCoyote *object G_GNUC_UNUSED, 1871s # GDBusMethodInvocation *invocation) 1871s # { 1871s # g_dbus_method_invocation_return_value (invocation, 1871s # g_variant_new ("()")); 1871s # } 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteProxy: 1871s # * 1871s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteProxyClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #ComAcmeCoyoteProxy. 1871s # */ 1871s # 1871s # struct _ComAcmeCoyoteProxyPrivate 1871s # { 1871s # GData *qdata; 1871s # }; 1871s # 1871s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1871s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # com_acme_coyote_proxy_finalize (GObject *object) 1871s # { 1871s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1871s # g_datalist_clear (&proxy->priv->qdata); 1871s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_get_property (GObject *object, 1871s # guint prop_id, 1871s # GValue *value, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *variant; 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1871s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1871s # if (info->use_gvariant) 1871s # { 1871s # g_value_set_variant (value, variant); 1871s # } 1871s # else 1871s # { 1871s # if (variant != NULL) 1871s # g_dbus_gvariant_to_gvalue (variant, value); 1871s # } 1871s # if (variant != NULL) 1871s # g_variant_unref (variant); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1871s # GAsyncResult *res, 1871s # gpointer user_data) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info = user_data; 1871s # GError *error; 1871s # GVariant *_ret; 1871s # error = NULL; 1871s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1871s # if (!_ret) 1871s # { 1871s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1871s # info->parent_struct.name, 1871s # error->message, g_quark_to_string (error->domain), error->code); 1871s # g_error_free (error); 1871s # } 1871s # else 1871s # { 1871s # g_variant_unref (_ret); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_set_property (GObject *object, 1871s # guint prop_id, 1871s # const GValue *value, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *variant; 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1871s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1871s # "org.freedesktop.DBus.Properties.Set", 1871s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1871s # G_DBUS_CALL_FLAGS_NONE, 1871s # -1, 1871s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1871s # g_variant_unref (variant); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1871s # const gchar *sender_name G_GNUC_UNUSED, 1871s # const gchar *signal_name, 1871s # GVariant *parameters) 1871s # { 1871s # _ExtendedGDBusSignalInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # gsize n; 1871s # guint signal_id; 1871s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1871s # if (info == NULL) 1871s # return; 1871s # num_params = g_variant_n_children (parameters); 1871s # paramv = g_new0 (GValue, num_params + 1); 1871s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1871s # g_value_set_object (¶mv[0], proxy); 1871s # g_variant_iter_init (&iter, parameters); 1871s # n = 1; 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1871s # g_signal_emitv (paramv, signal_id, 0, NULL); 1871s # for (n = 0; n < num_params + 1; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1871s # GVariant *changed_properties, 1871s # const gchar *const *invalidated_properties) 1871s # { 1871s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1871s # guint n; 1871s # const gchar *key; 1871s # GVariantIter *iter; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # g_variant_get (changed_properties, "a{sv}", &iter); 1871s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1871s # g_datalist_remove_data (&proxy->priv->qdata, key); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # g_variant_iter_free (iter); 1871s # for (n = 0; invalidated_properties[n] != NULL; n++) 1871s # { 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1871s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1871s # if (info != NULL) 1871s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1871s # } 1871s # } 1871s # 1871s # static const gchar * 1871s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1871s # { 1871s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1871s # GVariant *variant; 1871s # const gchar *value = NULL; 1871s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1871s # if (variant != NULL) 1871s # { 1871s # value = g_variant_get_string (variant, NULL); 1871s # g_variant_unref (variant); 1871s # } 1871s # return value; 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1871s # #else 1871s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1871s # #endif 1871s # 1871s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusProxyClass *proxy_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1871s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1871s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1871s # 1871s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1871s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1871s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1871s # 1871s # com_acme_coyote_override_properties (gobject_class, 1); 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1871s # { 1871s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # com_acme_coyote_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_sync: 1871s # * @connection: A #GDBusConnection. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_for_bus: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1871s # * @user_data: User data to pass to @callback. 1871s # * 1871s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1871s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1871s # * 1871s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1871s # */ 1871s # void 1871s # com_acme_coyote_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data) 1871s # { 1871s # 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); 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_for_bus_finish: 1871s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error) 1871s # { 1871s # GObject *ret; 1871s # GObject *source_object; 1871s # source_object = g_async_result_get_source_object (res); 1871s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1871s # g_object_unref (source_object); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_proxy_new_for_bus_sync: 1871s # * @bus_type: A #GBusType. 1871s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1871s # * @name: A bus name (well-known or unique). 1871s # * @object_path: An object path. 1871s # * @cancellable: (nullable): A #GCancellable or %NULL. 1871s # * @error: Return location for error or %NULL 1871s # * 1871s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1871s # * 1871s # * The calling thread is blocked until a reply is received. 1871s # * 1871s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error) 1871s # { 1871s # GInitable *ret; 1871s # 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); 1871s # if (ret != NULL) 1871s # return COM_ACME_COYOTE (ret); 1871s # else 1871s # return NULL; 1871s # } 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteSkeleton: 1871s # * 1871s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1871s # */ 1871s # 1871s # /** 1871s # * ComAcmeCoyoteSkeletonClass: 1871s # * @parent_class: The parent class. 1871s # * 1871s # * Class structure for #ComAcmeCoyoteSkeleton. 1871s # */ 1871s # 1871s # struct _ComAcmeCoyoteSkeletonPrivate 1871s # { 1871s # GValue *properties; 1871s # GList *changed_properties; 1871s # GSource *changed_properties_idle_source; 1871s # GMainContext *context; 1871s # GMutex lock; 1871s # }; 1871s # 1871s # static void 1871s # _com_acme_coyote_skeleton_handle_method_call ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name, 1871s # const gchar *method_name, 1871s # GVariant *parameters, 1871s # GDBusMethodInvocation *invocation, 1871s # gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # _ExtendedGDBusMethodInfo *info; 1871s # GVariantIter iter; 1871s # GVariant *child; 1871s # GValue *paramv; 1871s # gsize num_params; 1871s # guint num_extra; 1871s # gsize n; 1871s # guint signal_id; 1871s # GValue return_value = G_VALUE_INIT; 1871s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1871s # g_assert (info != NULL); 1871s # num_params = g_variant_n_children (parameters); 1871s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1871s # n = 0; 1871s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1871s # g_value_set_object (¶mv[n++], skeleton); 1871s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1871s # g_value_set_object (¶mv[n++], invocation); 1871s # if (info->pass_fdlist) 1871s # { 1871s # #ifdef G_OS_UNIX 1871s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1871s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1871s # #else 1871s # g_assert_not_reached (); 1871s # #endif 1871s # } 1871s # g_variant_iter_init (&iter, parameters); 1871s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1871s # { 1871s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1871s # if (arg_info->use_gvariant) 1871s # { 1871s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1871s # g_value_set_variant (¶mv[n], child); 1871s # n++; 1871s # } 1871s # else 1871s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1871s # g_variant_unref (child); 1871s # } 1871s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1871s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1871s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1871s # if (!g_value_get_boolean (&return_value)) 1871s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1871s # g_value_unset (&return_value); 1871s # for (n = 0; n < num_params + num_extra; n++) 1871s # g_value_unset (¶mv[n]); 1871s # g_free (paramv); 1871s # } 1871s # 1871s # static GVariant * 1871s # _com_acme_coyote_skeleton_handle_get_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # GVariant *ret; 1871s # ret = NULL; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # g_value_init (&value, pspec->value_type); 1871s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1871s # g_value_unset (&value); 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static gboolean 1871s # _com_acme_coyote_skeleton_handle_set_property ( 1871s # GDBusConnection *connection G_GNUC_UNUSED, 1871s # const gchar *sender G_GNUC_UNUSED, 1871s # const gchar *object_path G_GNUC_UNUSED, 1871s # const gchar *interface_name G_GNUC_UNUSED, 1871s # const gchar *property_name, 1871s # GVariant *variant, 1871s # GError **error, 1871s # gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # GValue value = G_VALUE_INIT; 1871s # GParamSpec *pspec; 1871s # _ExtendedGDBusPropertyInfo *info; 1871s # gboolean ret; 1871s # ret = FALSE; 1871s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1871s # g_assert (info != NULL); 1871s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1871s # if (pspec == NULL) 1871s # { 1871s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1871s # } 1871s # else 1871s # { 1871s # if (info->use_gvariant) 1871s # g_value_set_variant (&value, variant); 1871s # else 1871s # g_dbus_gvariant_to_gvalue (variant, &value); 1871s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1871s # g_value_unset (&value); 1871s # ret = TRUE; 1871s # } 1871s # return ret; 1871s # } 1871s # 1871s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1871s # { 1871s # _com_acme_coyote_skeleton_handle_method_call, 1871s # _com_acme_coyote_skeleton_handle_get_property, 1871s # _com_acme_coyote_skeleton_handle_set_property, 1871s # {NULL} 1871s # }; 1871s # 1871s # static GDBusInterfaceInfo * 1871s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return com_acme_coyote_interface_info (); 1871s # } 1871s # 1871s # static GDBusInterfaceVTable * 1871s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1871s # { 1871s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1871s # } 1871s # 1871s # static GVariant * 1871s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1871s # 1871s # GVariantBuilder builder; 1871s # guint n; 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1871s # goto out; 1871s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1871s # { 1871s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1871s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1871s # { 1871s # GVariant *value; 1871s # 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); 1871s # if (value != NULL) 1871s # { 1871s # g_variant_take_ref (value); 1871s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1871s # g_variant_unref (value); 1871s # } 1871s # } 1871s # } 1871s # out: 1871s # return g_variant_builder_end (&builder); 1871s # } 1871s # 1871s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1871s # gboolean emit_changed = FALSE; 1871s # 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # { 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # skeleton->priv->changed_properties_idle_source = NULL; 1871s # emit_changed = TRUE; 1871s # } 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # 1871s # if (emit_changed) 1871s # _com_acme_coyote_emit_changed (skeleton); 1871s # } 1871s # 1871s # static void 1871s # _com_acme_coyote_on_signal_surprised ( 1871s # ComAcmeCoyote *object) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # 1871s # GList *connections, *l; 1871s # GVariant *signal_variant; 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1871s # for (l = connections; l != NULL; l = l->next) 1871s # { 1871s # GDBusConnection *connection = l->data; 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1871s # signal_variant, NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # 1871s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1871s # 1871s # #else 1871s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1871s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1871s # 1871s # #endif 1871s # static void 1871s # com_acme_coyote_skeleton_finalize (GObject *object) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # guint n; 1871s # for (n = 0; n < 1; n++) 1871s # g_value_unset (&skeleton->priv->properties[n]); 1871s # g_free (skeleton->priv->properties); 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # if (skeleton->priv->changed_properties_idle_source != NULL) 1871s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1871s # g_main_context_unref (skeleton->priv->context); 1871s # g_mutex_clear (&skeleton->priv->lock); 1871s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_get_property (GObject *object, 1871s # guint prop_id, 1871s # GValue *value, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # } 1871s # 1871s # static gboolean 1871s # _com_acme_coyote_emit_changed (gpointer user_data) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1871s # GList *l; 1871s # GVariantBuilder builder; 1871s # GVariantBuilder invalidated_builder; 1871s # guint num_changes; 1871s # 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1871s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1871s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1871s # { 1871s # ChangedProperty *cp = l->data; 1871s # GVariant *variant; 1871s # const GValue *cur_value; 1871s # 1871s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1871s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1871s # { 1871s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1871s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1871s # g_variant_unref (variant); 1871s # num_changes++; 1871s # } 1871s # } 1871s # if (num_changes > 0) 1871s # { 1871s # GList *connections, *ll; 1871s # GVariant *signal_variant; 1871s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1871s # &builder, &invalidated_builder)); 1871s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1871s # for (ll = connections; ll != NULL; ll = ll->next) 1871s # { 1871s # GDBusConnection *connection = ll->data; 1871s # 1871s # g_dbus_connection_emit_signal (connection, 1871s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1871s # "org.freedesktop.DBus.Properties", 1871s # "PropertiesChanged", 1871s # signal_variant, 1871s # NULL); 1871s # } 1871s # g_variant_unref (signal_variant); 1871s # g_list_free_full (connections, g_object_unref); 1871s # } 1871s # else 1871s # { 1871s # g_variant_builder_clear (&builder); 1871s # g_variant_builder_clear (&invalidated_builder); 1871s # } 1871s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1871s # skeleton->priv->changed_properties = NULL; 1871s # skeleton->priv->changed_properties_idle_source = NULL; 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # return FALSE; 1871s # } 1871s # 1871s # static void 1871s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1871s # { 1871s # ChangedProperty *cp; 1871s # GList *l; 1871s # cp = NULL; 1871s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1871s # { 1871s # ChangedProperty *i_cp = l->data; 1871s # if (i_cp->info == info) 1871s # { 1871s # cp = i_cp; 1871s # break; 1871s # } 1871s # } 1871s # if (cp == NULL) 1871s # { 1871s # cp = g_new0 (ChangedProperty, 1); 1871s # cp->prop_id = prop_id; 1871s # cp->info = info; 1871s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1871s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1871s # g_value_copy (orig_value, &cp->orig_value); 1871s # } 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_notify (GObject *object, 1871s # GParamSpec *pspec G_GNUC_UNUSED) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # if (skeleton->priv->changed_properties != NULL && 1871s # skeleton->priv->changed_properties_idle_source == NULL) 1871s # { 1871s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1871s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1871s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1871s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1871s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1871s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1871s # } 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_set_property (GObject *object, 1871s # guint prop_id, 1871s # const GValue *value, 1871s # GParamSpec *pspec) 1871s # { 1871s # const _ExtendedGDBusPropertyInfo *info; 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1871s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # g_object_freeze_notify (object); 1871s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1871s # { 1871s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1871s # info->emits_changed_signal) 1871s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1871s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1871s # g_object_notify_by_pspec (object, pspec); 1871s # } 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # g_object_thaw_notify (object); 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1871s # { 1871s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1871s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1871s # #else 1871s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1871s # #endif 1871s # 1871s # g_mutex_init (&skeleton->priv->lock); 1871s # skeleton->priv->context = g_main_context_ref_thread_default (); 1871s # skeleton->priv->properties = g_new0 (GValue, 1); 1871s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1871s # } 1871s # 1871s # static const gchar * 1871s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1871s # { 1871s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1871s # const gchar *value; 1871s # g_mutex_lock (&skeleton->priv->lock); 1871s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1871s # g_mutex_unlock (&skeleton->priv->lock); 1871s # return value; 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1871s # { 1871s # GObjectClass *gobject_class; 1871s # GDBusInterfaceSkeletonClass *skeleton_class; 1871s # 1871s # gobject_class = G_OBJECT_CLASS (klass); 1871s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1871s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1871s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1871s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1871s # 1871s # 1871s # com_acme_coyote_override_properties (gobject_class, 1); 1871s # 1871s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1871s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1871s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1871s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1871s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1871s # 1871s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1871s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1871s # #endif 1871s # } 1871s # 1871s # static void 1871s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1871s # { 1871s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1871s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1871s # } 1871s # 1871s # /** 1871s # * com_acme_coyote_skeleton_new: 1871s # * 1871s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1871s # * 1871s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1871s # */ 1871s # ComAcmeCoyote * 1871s # com_acme_coyote_skeleton_new (void) 1871s # { 1871s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1871s # } 1871s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1871s # tmpdir: /tmp/tmp9yd7fx52 1871s # codegen: /usr/bin/gdbus-codegen 1871s # /tmp/tmp9yd7fx52/tmp1dg8haq5.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9yd7fx52/tmp1dg8haq5.xml', '--output', '-', '--header'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for FDPassing */ 1871s # 1871s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1871s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1871s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1871s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1871s # 1871s # struct _FDPassing; 1871s # typedef struct _FDPassing FDPassing; 1871s # typedef struct _FDPassingIface FDPassingIface; 1871s # 1871s # struct _FDPassingIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # gboolean (*handle_hello_fd) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # const gchar *arg_greeting); 1871s # 1871s # gboolean (*handle_no_annotation) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale); 1871s # 1871s # gboolean (*handle_no_annotation_nested) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GVariant *arg_files); 1871s # 1871s # }; 1871s # 1871s # GType fdpassing_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1871s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void fdpassing_complete_hello_fd ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # const gchar *response); 1871s # 1871s # void fdpassing_complete_no_annotation ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GVariant *response, 1871s # const gchar *response_locale); 1871s # 1871s # void fdpassing_complete_no_annotation_nested ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void fdpassing_call_hello_fd ( 1871s # FDPassing *proxy, 1871s # const gchar *arg_greeting, 1871s # GUnixFDList *fd_list, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_hello_fd_finish ( 1871s # FDPassing *proxy, 1871s # gchar **out_response, 1871s # GUnixFDList **out_fd_list, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_hello_fd_sync ( 1871s # FDPassing *proxy, 1871s # const gchar *arg_greeting, 1871s # GUnixFDList *fd_list, 1871s # gchar **out_response, 1871s # GUnixFDList **out_fd_list, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_call_no_annotation ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_no_annotation_finish ( 1871s # FDPassing *proxy, 1871s # GVariant **out_response, 1871s # gchar **out_response_locale, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_no_annotation_sync ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale, 1871s # GVariant **out_response, 1871s # gchar **out_response_locale, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_call_no_annotation_nested ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_files, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_no_annotation_nested_finish ( 1871s # FDPassing *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_no_annotation_nested_sync ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_files, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1871s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1871s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1871s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1871s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1871s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1871s # 1871s # typedef struct _FDPassingProxy FDPassingProxy; 1871s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1871s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1871s # 1871s # struct _FDPassingProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # FDPassingProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _FDPassingProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void fdpassing_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # FDPassing *fdpassing_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # FDPassing *fdpassing_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1871s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1871s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1871s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1871s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1871s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1871s # 1871s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1871s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1871s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1871s # 1871s # struct _FDPassingSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # FDPassingSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _FDPassingSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # FDPassing *fdpassing_skeleton_new (void); 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s # /tmp/tmp9yd7fx52/tmpgfhfh76d.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9yd7fx52/tmpgfhfh76d.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for FDPassing */ 1871s # 1871s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1871s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1871s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1871s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1871s # 1871s # struct _FDPassing; 1871s # typedef struct _FDPassing FDPassing; 1871s # typedef struct _FDPassingIface FDPassingIface; 1871s # 1871s # struct _FDPassingIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # gboolean (*handle_hello_fd) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # const gchar *arg_greeting); 1871s # 1871s # gboolean (*handle_no_annotation) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale); 1871s # 1871s # gboolean (*handle_no_annotation_nested) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GVariant *arg_files); 1871s # 1871s # }; 1871s # 1871s # GType fdpassing_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1871s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void fdpassing_complete_hello_fd ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # const gchar *response); 1871s # 1871s # void fdpassing_complete_no_annotation ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GVariant *response, 1871s # const gchar *response_locale); 1871s # 1871s # void fdpassing_complete_no_annotation_nested ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void fdpassing_call_hello_fd ( 1871s # FDPassing *proxy, 1871s # const gchar *arg_greeting, 1871s # GUnixFDList *fd_list, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_hello_fd_finish ( 1871s # FDPassing *proxy, 1871s # gchar **out_response, 1871s # GUnixFDList **out_fd_list, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_hello_fd_sync ( 1871s # FDPassing *proxy, 1871s # const gchar *arg_greeting, 1871s # GUnixFDList *fd_list, 1871s # gchar **out_response, 1871s # GUnixFDList **out_fd_list, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_call_no_annotation ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_no_annotation_finish ( 1871s # FDPassing *proxy, 1871s # GVariant **out_response, 1871s # gchar **out_response_locale, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_no_annotation_sync ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale, 1871s # GVariant **out_response, 1871s # gchar **out_response_locale, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_call_no_annotation_nested ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_files, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_no_annotation_nested_finish ( 1871s # FDPassing *proxy, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_no_annotation_nested_sync ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_files, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1871s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1871s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1871s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1871s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1871s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1871s # 1871s # typedef struct _FDPassingProxy FDPassingProxy; 1871s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1871s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1871s # 1871s # struct _FDPassingProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # FDPassingProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _FDPassingProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void fdpassing_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # FDPassing *fdpassing_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # FDPassing *fdpassing_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1871s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1871s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1871s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1871s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1871s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1871s # 1871s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1871s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1871s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1871s # 1871s # struct _FDPassingSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # FDPassingSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _FDPassingSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # FDPassing *fdpassing_skeleton_new (void); 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s # /tmp/tmp9yd7fx52/tmp_bhy714g.xml: 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # 1871s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9yd7fx52/tmp_bhy714g.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Output: /* 1871s # * This file is generated by gdbus-codegen, do not modify it. 1871s # * 1871s # * The license of this code is the same as for the D-Bus interface description 1871s # * it was derived from. Note that it links to GLib, so must comply with the 1871s # * LGPL linking clauses. 1871s # */ 1871s # 1871s # #ifndef __STDOUT__ 1871s # #define __STDOUT__ 1871s # 1871s # #include 1871s # 1871s # G_BEGIN_DECLS 1871s # 1871s # 1871s # /* ------------------------------------------------------------------------ */ 1871s # /* Declarations for FDPassing */ 1871s # 1871s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1871s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1871s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1871s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1871s # 1871s # struct _FDPassing; 1871s # typedef struct _FDPassing FDPassing; 1871s # typedef struct _FDPassingIface FDPassingIface; 1871s # 1871s # struct _FDPassingIface 1871s # { 1871s # GTypeInterface parent_iface; 1871s # 1871s # gboolean (*handle_hello_fd) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # const gchar *arg_greeting); 1871s # 1871s # gboolean (*handle_no_annotation) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale); 1871s # 1871s # gboolean (*handle_no_annotation_nested) ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # GVariant *arg_files); 1871s # 1871s # }; 1871s # 1871s # GType fdpassing_get_type (void) G_GNUC_CONST; 1871s # 1871s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1871s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1871s # 1871s # 1871s # /* D-Bus method call completion functions: */ 1871s # void fdpassing_complete_hello_fd ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # const gchar *response); 1871s # 1871s # void fdpassing_complete_no_annotation ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list, 1871s # GVariant *response, 1871s # const gchar *response_locale); 1871s # 1871s # void fdpassing_complete_no_annotation_nested ( 1871s # FDPassing *object, 1871s # GDBusMethodInvocation *invocation, 1871s # GUnixFDList *fd_list); 1871s # 1871s # 1871s # 1871s # /* D-Bus method calls: */ 1871s # void fdpassing_call_hello_fd ( 1871s # FDPassing *proxy, 1871s # const gchar *arg_greeting, 1871s # GDBusCallFlags call_flags, 1871s # gint timeout_msec, 1871s # GUnixFDList *fd_list, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_hello_fd_finish ( 1871s # FDPassing *proxy, 1871s # gchar **out_response, 1871s # GUnixFDList **out_fd_list, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_hello_fd_sync ( 1871s # FDPassing *proxy, 1871s # const gchar *arg_greeting, 1871s # GDBusCallFlags call_flags, 1871s # gint timeout_msec, 1871s # GUnixFDList *fd_list, 1871s # gchar **out_response, 1871s # GUnixFDList **out_fd_list, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_call_no_annotation ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale, 1871s # GDBusCallFlags call_flags, 1871s # gint timeout_msec, 1871s # GUnixFDList *fd_list, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_no_annotation_finish ( 1871s # FDPassing *proxy, 1871s # GVariant **out_response, 1871s # gchar **out_response_locale, 1871s # GUnixFDList **out_fd_list, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_no_annotation_sync ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_greeting, 1871s # const gchar *arg_greeting_locale, 1871s # GDBusCallFlags call_flags, 1871s # gint timeout_msec, 1871s # GUnixFDList *fd_list, 1871s # GVariant **out_response, 1871s # gchar **out_response_locale, 1871s # GUnixFDList **out_fd_list, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_call_no_annotation_nested ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_files, 1871s # GDBusCallFlags call_flags, 1871s # gint timeout_msec, 1871s # GUnixFDList *fd_list, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # 1871s # gboolean fdpassing_call_no_annotation_nested_finish ( 1871s # FDPassing *proxy, 1871s # GUnixFDList **out_fd_list, 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # 1871s # gboolean fdpassing_call_no_annotation_nested_sync ( 1871s # FDPassing *proxy, 1871s # GVariant *arg_files, 1871s # GDBusCallFlags call_flags, 1871s # gint timeout_msec, 1871s # GUnixFDList *fd_list, 1871s # GUnixFDList **out_fd_list, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1871s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1871s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1871s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1871s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1871s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1871s # 1871s # typedef struct _FDPassingProxy FDPassingProxy; 1871s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1871s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1871s # 1871s # struct _FDPassingProxy 1871s # { 1871s # /*< private >*/ 1871s # GDBusProxy parent_instance; 1871s # FDPassingProxyPrivate *priv; 1871s # }; 1871s # 1871s # struct _FDPassingProxyClass 1871s # { 1871s # GDBusProxyClass parent_class; 1871s # }; 1871s # 1871s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1871s # #endif 1871s # 1871s # void fdpassing_proxy_new ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # FDPassing *fdpassing_proxy_new_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # FDPassing *fdpassing_proxy_new_sync ( 1871s # GDBusConnection *connection, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # void fdpassing_proxy_new_for_bus ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GAsyncReadyCallback callback, 1871s # gpointer user_data); 1871s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1871s # GAsyncResult *res, 1871s # GError **error); 1871s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1871s # GBusType bus_type, 1871s # GDBusProxyFlags flags, 1871s # const gchar *name, 1871s # const gchar *object_path, 1871s # GCancellable *cancellable, 1871s # GError **error); 1871s # 1871s # 1871s # /* ---- */ 1871s # 1871s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1871s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1871s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1871s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1871s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1871s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1871s # 1871s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1871s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1871s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1871s # 1871s # struct _FDPassingSkeleton 1871s # { 1871s # /*< private >*/ 1871s # GDBusInterfaceSkeleton parent_instance; 1871s # FDPassingSkeletonPrivate *priv; 1871s # }; 1871s # 1871s # struct _FDPassingSkeletonClass 1871s # { 1871s # GDBusInterfaceSkeletonClass parent_class; 1871s # }; 1871s # 1871s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1871s # 1871s # #if GLIB_CHECK_VERSION(2, 44, 0) 1871s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1871s # #endif 1871s # 1871s # FDPassing *fdpassing_skeleton_new (void); 1871s # 1871s # 1871s # G_END_DECLS 1871s # 1871s # #endif /* __STDOUT__ */ 1871s 1..39 1871s ok - glib/codegen.py.test 1871s # Running test: glib/boxed.test 1871s TAP version 14 1871s # random seed: R02Sf4f19e8850c311db18fe973e9491288f 1871s 1..27 1871s # Start of boxed tests 1871s ok 1 /boxed/define 1871s ok 2 /boxed/ownership 1871s ok 3 /boxed/closure 1871s ok 4 /boxed/date 1871s ok 5 /boxed/value 1871s ok 6 /boxed/string 1871s ok 7 /boxed/hashtable 1871s ok 8 /boxed/array 1871s ok 9 /boxed/ptrarray 1871s ok 10 /boxed/regex 1871s ok 11 /boxed/varianttype 1871s ok 12 /boxed/error 1871s ok 13 /boxed/datetime 1871s ok 14 /boxed/matchinfo 1871s ok 15 /boxed/keyfile 1871s ok 16 /boxed/mainloop 1871s ok 17 /boxed/maincontext 1871s ok 18 /boxed/source 1871s ok 19 /boxed/variantbuilder 1871s ok 20 /boxed/timezone 1871s ok 21 /boxed/pollfd 1871s ok 22 /boxed/markup 1871s ok 23 /boxed/thread 1871s ok 24 /boxed/checksum 1871s ok 25 /boxed/tree 1871s ok 26 /boxed/patternspec 1871s ok 27 /boxed/rand 1871s # End of boxed tests 1871s ok - glib/boxed.test 1871s # Running test: glib/atomic-c-99.test 1871s TAP version 14 1871s # random seed: R02S4147ef522b215928d76739688c3b73b0 1871s 1..2 1871s # Start of atomic tests 1871s ok 1 /atomic/types 1871s ok 2 /atomic/threaded 1871s # End of atomic tests 1871s ok - glib/atomic-c-99.test 1871s # Running test: glib/gdbus-error.test 1871s TAP version 14 1871s # random seed: R02S8bda53219b7428474d9744fae22c0933 1871s 1..4 1871s # Start of gdbus tests 1871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/home 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/cache 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/system-config2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/config 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/system-data2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/data 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/state 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2RUQX2/gdbus/registered-errors/.dirs/runtime 1871s ok 1 /gdbus/registered-errors 1871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/home 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/cache 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/system-config2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/config 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/system-data2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/data 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/state 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2RUQX2/gdbus/unregistered-errors/.dirs/runtime 1871s ok 2 /gdbus/unregistered-errors 1871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/home 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/cache 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/system-config2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/config 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/system-data2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/data 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/state 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2RUQX2/gdbus/transparent-gerror/.dirs/runtime 1871s ok 3 /gdbus/transparent-gerror 1871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/home 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/cache 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/system-config2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/config 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/system-data2 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/data 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/state 1871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2RUQX2/gdbus/register-error/.dirs/runtime 1871s ok 4 /gdbus/register-error 1871s # End of gdbus tests 1871s ok - glib/gdbus-error.test 1871s # Running test: glib/messages-low-memory.py.test 1871s TAP version 13 1871s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1871s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1871s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1871s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1871s # Return code: -6 1871s # Output: 1871s # Error: GLib-Message: 01:58:57.867: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1871s # GLib-Message: 01:58:57.867: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1871s # ../../../glib/gprintf.c:350: failed to allocate memory 1871s 1..1 1871s ok - glib/messages-low-memory.py.test 1871s # Running test: glib/ifaceproperties.test 1871s TAP version 14 1871s # random seed: R02Sda0668c226b7c6c9ef573c4657e1bac6 1871s 1..7 1871s # Start of interface tests 1871s # Start of properties tests 1871s ok 1 /interface/properties/set 1871s ok 2 /interface/properties/notify 1871s ok 3 /interface/properties/find-overridden 1871s ok 4 /interface/properties/list-overridden 1871s ok 5 /interface/properties/find-interface 1871s ok 6 /interface/properties/list-interface 1871s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1871s ok 7 /interface/properties/not-overridden 1871s # End of properties tests 1871s # End of interface tests 1871s ok - glib/ifaceproperties.test 1871s # Running test: glib/buffered-input-stream.test 1871s TAP version 14 1871s # random seed: R02S8f6e674cfd4b974693b56e6708be2a83 1871s 1..10 1871s # Start of buffered-input-stream tests 1871s ok 1 /buffered-input-stream/peek 1871s ok 2 /buffered-input-stream/peek-buffer 1871s ok 3 /buffered-input-stream/set-buffer-size 1871s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1871s ok 4 /buffered-input-stream/read-byte 1871s ok 5 /buffered-input-stream/read 1871s ok 6 /buffered-input-stream/read-async 1871s ok 7 /buffered-input-stream/skip 1871s ok 8 /buffered-input-stream/skip-async 1871s ok 9 /buffered-input-stream/seek 1871s # End of buffered-input-stream tests 1871s # Start of filter-input-stream tests 1871s ok 10 /filter-input-stream/close 1871s # End of filter-input-stream tests 1871s ok - glib/buffered-input-stream.test 1871s # Running test: glib/contexts.test 1871s TAP version 14 1871s # random seed: R02S649113fae5bc1c3d2bbe973df55e8436 1871s 1..5 1871s # Start of gio tests 1871s # Start of contexts tests 1871s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1871s ok 1 /gio/contexts/thread-independence 1871s ok 2 /gio/contexts/context-independence 1871s # Start of context-specific tests 1871s ok 3 /gio/contexts/context-specific/identity 1871s ok 4 /gio/contexts/context-specific/emit 1871s ok 5 /gio/contexts/context-specific/emit-and-unref 1871s # End of context-specific tests 1871s # End of contexts tests 1871s # End of gio tests 1871s ok - glib/contexts.test 1871s # Running test: glib/macros-c-89.test 1871s TAP version 14 1871s # random seed: R02S7a47c04b36e5b54aaad86252f585a110 1871s 1..4 1871s # Start of C tests 1871s ok 1 /C/standard-89 1871s # End of C tests 1871s # Start of alignof tests 1871s ok 2 /alignof/fallback 1871s # End of alignof tests 1871s # Start of assert tests 1871s ok 3 /assert/static 1871s # End of assert tests 1871s # Start of struct tests 1871s ok 4 /struct/sizeof_member 1871s # End of struct tests 1871s ok - glib/macros-c-89.test 1871s # Running test: glib/rand.test 1871s TAP version 14 1871s # random seed: R02S509dcdf15fbccd792dc8d629d214b72f 1871s 1..2 1871s # Start of rand tests 1871s ok 1 /rand/test-rand 1871s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1871s ok 2 /rand/double-range 1871s # End of rand tests 1871s ok - glib/rand.test 1871s # Running test: glib/unicode.test 1871s TAP version 14 1871s # random seed: R02S5a54525d79974ef562b1b14a70b8c149 1871s 1..39 1871s # Start of unicode tests 1871s ok 1 /unicode/alnum 1871s ok 2 /unicode/alpha 1871s ok 3 /unicode/break-type 1871s ok 4 /unicode/canonical-decomposition 1871s ok 5 /unicode/casefold 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1871s # Cannot set locale to lt_LT, skipping 1872s ok 6 /unicode/casemap_and_casefold 1872s ok 7 /unicode/cases 1872s ok 8 /unicode/character-type 1872s ok 9 /unicode/cntrl 1872s ok 10 /unicode/combining-class 1872s ok 11 /unicode/compose 1872s ok 12 /unicode/decompose 1872s ok 13 /unicode/decompose-tail 1872s ok 14 /unicode/defined 1872s ok 15 /unicode/digit 1872s ok 16 /unicode/digit-value 1872s ok 17 /unicode/fully-decompose-canonical 1872s ok 18 /unicode/fully-decompose-len 1872s ok 19 /unicode/normalization 1872s ok 20 /unicode/graph 1872s # Testing script Zyyy (code 1517910393) 1872s # Testing script Zinh (code 1516858984) 1872s # Testing script Zmth (code 1517122664) 1872s # Testing script Arab (code 1098015074) 1872s # Testing script Armn (code 1098018158) 1872s # Testing script Beng (code 1113943655) 1872s # Testing script Bopo (code 1114599535) 1872s # Testing script Cher (code 1130915186) 1872s # Testing script Copt (code 1131376756) 1872s # Testing script Cyrl (code 1132032620) 1872s # Testing script Dsrt (code 1148416628) 1872s # Testing script Deva (code 1147500129) 1872s # Testing script Ethi (code 1165256809) 1872s # Testing script Geor (code 1197830002) 1872s # Testing script Goth (code 1198486632) 1872s # Testing script Grek (code 1198679403) 1872s # Testing script Gujr (code 1198877298) 1872s # Testing script Guru (code 1198879349) 1872s # Testing script Hani (code 1214344809) 1872s # Testing script Hang (code 1214344807) 1872s # Testing script Hebr (code 1214603890) 1872s # Testing script Hira (code 1214870113) 1872s # Testing script Knda (code 1265525857) 1872s # Testing script Kana (code 1264676449) 1872s # Testing script Khmr (code 1265134962) 1872s # Testing script Laoo (code 1281453935) 1872s # Testing script Latn (code 1281455214) 1872s # Testing script Mlym (code 1298954605) 1872s # Testing script Mong (code 1299148391) 1872s # Testing script Mymr (code 1299803506) 1872s # Testing script Ogam (code 1332175213) 1872s # Testing script Ital (code 1232363884) 1872s # Testing script Orya (code 1332902241) 1872s # Testing script Runr (code 1383427698) 1872s # Testing script Sinh (code 1399418472) 1872s # Testing script Syrc (code 1400468067) 1872s # Testing script Taml (code 1415671148) 1872s # Testing script Telu (code 1415933045) 1872s # Testing script Thaa (code 1416126817) 1872s # Testing script Thai (code 1416126825) 1872s # Testing script Tibt (code 1416192628) 1872s # Testing script Cans (code 1130458739) 1872s # Testing script Yiii (code 1500080489) 1872s # Testing script Tglg (code 1416064103) 1872s # Testing script Hano (code 1214344815) 1872s # Testing script Buhd (code 1114990692) 1872s # Testing script Tagb (code 1415669602) 1872s # Testing script Brai (code 1114792297) 1872s # Testing script Cprt (code 1131442804) 1872s # Testing script Limb (code 1281977698) 1872s # Testing script Osma (code 1332964705) 1872s # Testing script Shaw (code 1399349623) 1872s # Testing script Linb (code 1281977954) 1872s # Testing script Tale (code 1415670885) 1872s # Testing script Ugar (code 1432838514) 1872s # Testing script Talu (code 1415670901) 1872s # Testing script Bugi (code 1114990441) 1872s # Testing script Glag (code 1198285159) 1872s # Testing script Tfng (code 1415999079) 1872s # Testing script Sylo (code 1400466543) 1872s # Testing script Xpeo (code 1483761007) 1872s # Testing script Khar (code 1265131890) 1872s # Testing script Zzzz (code 1517976186) 1872s # Testing script Bali (code 1113681001) 1872s # Testing script Xsux (code 1483961720) 1872s # Testing script Phnx (code 1349021304) 1872s # Testing script Phag (code 1349017959) 1872s # Testing script Nkoo (code 1315663727) 1872s # Testing script Kali (code 1264675945) 1872s # Testing script Lepc (code 1281716323) 1872s # Testing script Rjng (code 1382706791) 1872s # Testing script Sund (code 1400204900) 1872s # Testing script Saur (code 1398895986) 1872s # Testing script Cham (code 1130914157) 1872s # Testing script Olck (code 1332503403) 1872s # Testing script Vaii (code 1449224553) 1872s # Testing script Cari (code 1130459753) 1872s # Testing script Lyci (code 1283023721) 1872s # Testing script Lydi (code 1283023977) 1872s # Testing script Avst (code 1098281844) 1872s # Testing script Bamu (code 1113681269) 1872s # Testing script Egyp (code 1164409200) 1872s # Testing script Armi (code 1098018153) 1872s # Testing script Phli (code 1349020777) 1872s # Testing script Prti (code 1349678185) 1872s # Testing script Java (code 1247901281) 1872s # Testing script Kthi (code 1265920105) 1872s # Testing script Lisu (code 1281979253) 1872s # Testing script Mtei (code 1299473769) 1872s # Testing script Sarb (code 1398895202) 1872s # Testing script Orkh (code 1332898664) 1872s # Testing script Samr (code 1398893938) 1872s # Testing script Lana (code 1281453665) 1872s # Testing script Tavt (code 1415673460) 1872s # Testing script Batk (code 1113683051) 1872s # Testing script Brah (code 1114792296) 1872s # Testing script Mand (code 1298230884) 1872s # Testing script Cakm (code 1130457965) 1872s # Testing script Merc (code 1298494051) 1872s # Testing script Mero (code 1298494063) 1872s # Testing script Plrd (code 1349284452) 1872s # Testing script Shrd (code 1399353956) 1872s # Testing script Sora (code 1399812705) 1872s # Testing script Takr (code 1415670642) 1872s # Testing script Bass (code 1113682803) 1872s # Testing script Aghb (code 1097295970) 1872s # Testing script Dupl (code 1148547180) 1872s # Testing script Elba (code 1164730977) 1872s # Testing script Gran (code 1198678382) 1872s # Testing script Khoj (code 1265135466) 1872s # Testing script Sind (code 1399418468) 1872s # Testing script Lina (code 1281977953) 1872s # Testing script Mahj (code 1298229354) 1872s # Testing script Mani (code 1298230889) 1872s # Testing script Mend (code 1298493028) 1872s # Testing script Modi (code 1299145833) 1872s # Testing script Mroo (code 1299345263) 1872s # Testing script Nbat (code 1315070324) 1872s # Testing script Narb (code 1315009122) 1872s # Testing script Perm (code 1348825709) 1872s # Testing script Hmng (code 1215131239) 1872s # Testing script Palm (code 1348562029) 1872s # Testing script Pauc (code 1348564323) 1872s # Testing script Phlp (code 1349020784) 1872s # Testing script Sidd (code 1399415908) 1872s # Testing script Tirh (code 1416196712) 1872s # Testing script Wara (code 1466004065) 1872s # Testing script Ahom (code 1097363309) 1872s # Testing script Hluw (code 1215067511) 1872s # Testing script Hatr (code 1214346354) 1872s # Testing script Mult (code 1299541108) 1872s # Testing script Hung (code 1215655527) 1872s # Testing script Sgnw (code 1399287415) 1872s # Testing script Adlm (code 1097100397) 1872s # Testing script Bhks (code 1114139507) 1872s # Testing script Marc (code 1298231907) 1872s # Testing script Newa (code 1315272545) 1872s # Testing script Osge (code 1332963173) 1872s # Testing script Tang (code 1415671399) 1872s # Testing script Gonm (code 1198485101) 1872s # Testing script Nshu (code 1316186229) 1872s # Testing script Soyo (code 1399814511) 1872s # Testing script Zanb (code 1516334690) 1872s # Testing script Dogr (code 1148151666) 1872s # Testing script Gong (code 1198485095) 1872s # Testing script Rohg (code 1383032935) 1872s # Testing script Maka (code 1298230113) 1872s # Testing script Medf (code 1298490470) 1872s # Testing script Sogo (code 1399809903) 1872s # Testing script Sogd (code 1399809892) 1872s # Testing script Elym (code 1164736877) 1872s # Testing script Nand (code 1315008100) 1872s # Testing script Hmnp (code 1215131248) 1872s # Testing script Wcho (code 1466132591) 1872s # Testing script Chrs (code 1130918515) 1872s # Testing script Diak (code 1147756907) 1872s # Testing script Kits (code 1265202291) 1872s # Testing script Yezi (code 1499822697) 1872s # Testing script Cpmn (code 1131441518) 1872s # Testing script Ougr (code 1333094258) 1872s # Testing script Tnsa (code 1416524641) 1872s # Testing script Toto (code 1416590447) 1872s # Testing script Vith (code 1449751656) 1872s # Testing script Kawi (code 1264678761) 1872s # Testing script Nagm (code 1315006317) 1872s ok 21 /unicode/iso15924 1872s ok 22 /unicode/lower 1872s ok 23 /unicode/mark 1872s ok 24 /unicode/mirror 1872s ok 25 /unicode/print 1872s ok 26 /unicode/punctuation 1872s ok 27 /unicode/script 1872s ok 28 /unicode/space 1872s ok 29 /unicode/strdown 1872s ok 30 /unicode/strup 1872s ok 31 /unicode/turkish-strupdown 1872s ok 32 /unicode/title 1872s ok 33 /unicode/upper 1872s ok 34 /unicode/validate 1872s ok 35 /unicode/wide 1872s ok 36 /unicode/xdigit 1872s ok 37 /unicode/xdigit-value 1872s ok 38 /unicode/zero-width 1872s ok 39 /unicode/normalize 1872s # End of unicode tests 1872s ok - glib/unicode.test 1872s # Running test: glib/logging.test 1872s TAP version 14 1872s # random seed: R02S42b928270e74da4d682edea17b22a685 1872s 1..17 1872s # Start of logging tests 1873s ok 1 /logging/default-handler 1873s # slow test /logging/default-handler executed in 1.20 secs 1873s ok 2 /logging/warnings 1873s ok 3 /logging/fatal-log-mask 1873s # bu-DEBUG: message 1873s # ba-DEBUG: message 1873s # ba-INFO: message 1873s ok 4 /logging/set-handler 1873s ok 5 /logging/print-handler 1873s ok 6 /logging/printerr-handler 1873s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1873s # The Log Message Handler 1873s # 1873s # The Good Fail Message Handler 1873s # 1873s ok 7 /logging/653052 1873s ok 8 /logging/gibberish 1873s # Start of default-handler tests 1873s # Start of subprocess tests 1873s # End of subprocess tests 1873s # End of default-handler tests 1873s # End of logging tests 1873s # Start of structured-logging tests 1873s ok 9 /structured-logging/no-state 1873s ok 10 /structured-logging/some-state 1873s ok 11 /structured-logging/robustness 1873s ok 12 /structured-logging/roundtrip1 1873s ok 13 /structured-logging/roundtrip2 1873s ok 14 /structured-logging/roundtrip3 1873s ok 15 /structured-logging/variant1 1873s ok 16 /structured-logging/variant2 1873s ok 17 /structured-logging/set-writer-func-twice 1873s # End of structured-logging tests 1873s ok - glib/logging.test 1873s # Running test: glib/override.test 1873s TAP version 14 1873s # random seed: R02S15e25e4ce9e59b5b6427f2d685740896 1873s 1..1 1873s # Start of gobject tests 1873s # *** emitting foo on a TestA instance 1873s # Expecting: TestA::foo,TestI::foo 1873s # Got: TestA::foo,TestI::foo 1873s # *** emitting bar on a TestA instance 1873s # Expecting: TestA::bar 1873s # Got: TestA::bar 1873s # *** emitting baz on a TestA instance 1873s # Expecting: TestA::baz 1873s # Got: TestA::baz 1873s # *** emitting foo on a TestB instance 1873s # Expecting: TestB::foo,TestA::foo,TestI::foo 1873s # Got: TestB::foo,TestA::foo,TestI::foo 1873s # *** emitting bar on a TestB instance 1873s # Expecting: TestB::bar,TestA::bar 1873s # Got: TestB::bar,TestA::bar 1873s # *** emitting baz on a TestB instance 1873s # Expecting: TestB::baz,TestA::baz 1873s # Got: TestB::baz,TestA::baz 1873s # *** emitting foo on a TestC instance 1873s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1873s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1873s # *** emitting bar on a TestC instance 1873s # Expecting: TestC::bar,TestB::bar,TestA::bar 1873s # Got: TestC::bar,TestB::bar,TestA::bar 1873s # *** emitting baz on a TestC instance 1873s # Expecting: TestC::baz,TestB::baz,TestA::baz 1873s # Got: TestC::baz,TestB::baz,TestA::baz 1873s ok 1 /gobject/override 1873s # End of gobject tests 1873s ok - glib/override.test 1873s # Running test: glib/performance.test 1873s Running test simple-construction 1876s # Executing: glib/performance.test 1880s # Executing: glib/performance.test 1880s simple-construction: Millions of constructed objects per second: 29.808 1880s Running test simple-construction1 1883s simple-construction1: Millions of constructed objects per second: 126.980 1883s Running test complex-construction 1885s # Executing: glib/performance.test 1886s complex-construction: Millions of constructed objects per second: 9.087 1886s Running test complex-construction1 1890s # Executing: glib/performance.test 1890s complex-construction1: Millions of constructed objects per second: 17.894 1890s Running test complex-construction2 1895s complex-construction2: Millions of constructed objects per second: 21.397 1895s Running test finalization 1895s # Executing: glib/performance.test 1897s finalization: Millions of finalized objects per second: 3.508 1897s Running test type-check 1897s type-check: Million type checks per second: -inf 1897s Running test emit-unhandled 1898s emit-unhandled: Emissions per second: 8387455 1898s Running test emit-unhandled-empty 1899s emit-unhandled-empty: Emissions per second: 70374854 1899s Running test emit-unhandled-generic 1900s # Executing: glib/performance.test 1900s emit-unhandled-generic: Emissions per second: 13050668 1900s Running test emit-unhandled-generic-empty 1901s emit-unhandled-generic-empty: Emissions per second: 71455296 1901s Running test emit-unhandled-args 1902s emit-unhandled-args: Emissions per second: 6645528 1902s Running test emit-handled 1903s emit-handled: Emissions per second: 5302702 1903s Running test emit-handled-empty 1904s emit-handled-empty: Emissions per second: 5532400 1904s Running test emit-handled-generic 1905s emit-handled-generic: Emissions per second: 5559961 1905s Running test emit-handled-generic-empty 1905s # Executing: glib/performance.test 1906s emit-handled-generic-empty: Emissions per second: 10920399 1906s Running test emit-handled-args 1907s emit-handled-args: Emissions per second: 4651020 1907s Running test notify-unhandled 1908s notify-unhandled: Notify (unhandled) per second: 55051731 1908s Running test notify-by-pspec-unhandled 1909s notify-by-pspec-unhandled: Notify (unhandled) per second: 121399618 1909s Running test notify-handled 1910s # Executing: glib/performance.test 1910s notify-handled: Notify per second: 3321415 1910s Running test notify-by-pspec-handled 1912s notify-by-pspec-handled: Notify per second: 3451702 1912s Running test property-set 1913s property-set: Property set per second: 28280088 1913s Running test property-get 1914s property-get: Property get per second: 25477099 1914s Running test refcount 1915s refcount: Million refs+unref per second: 78.88 1915s Running test refcount-1 1915s # Executing: glib/performance.test 1916s refcount-1: Million refs+unref per second: 242.05 1916s Running test refcount-toggle 1917s refcount-toggle: Million refs+unref per second: 119.39 1917s ok - glib/performance.test 1917s # Running test: glib/bindinggroup.test 1917s TAP version 14 1917s # random seed: R02S4b1a5afc496645be70d7ee62fdbb3b5b 1917s 1..11 1917s # Start of GObject tests 1917s # Start of BindingGroup tests 1917s ok 1 /GObject/BindingGroup/invalid 1917s ok 2 /GObject/BindingGroup/default 1917s ok 3 /GObject/BindingGroup/bidirectional 1917s ok 4 /GObject/BindingGroup/transform 1917s ok 5 /GObject/BindingGroup/transform-closures 1917s ok 6 /GObject/BindingGroup/same-object 1917s ok 7 /GObject/BindingGroup/weak-ref-source 1917s ok 8 /GObject/BindingGroup/weak-ref-target 1917s ok 9 /GObject/BindingGroup/properties 1917s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1917s ok 11 /GObject/BindingGroup/empty-closures 1917s # End of BindingGroup tests 1917s # End of GObject tests 1917s ok - glib/bindinggroup.test 1917s # Running test: glib/overflow-fallback.test 1917s TAP version 14 1917s # random seed: R02Sd98121b2b9f6ae8cc02562fa84d82d4c 1917s 1..6 1917s # Start of glib tests 1917s # Start of checked-math tests 1917s ok 1 /glib/checked-math/guint-add 1917s ok 2 /glib/checked-math/guint-mul 1917s ok 3 /glib/checked-math/guint64-add 1917s ok 4 /glib/checked-math/guint64-mul 1917s ok 5 /glib/checked-math/gsize-add 1917s ok 6 /glib/checked-math/gsize-mul 1917s # End of checked-math tests 1917s # End of glib tests 1917s ok - glib/overflow-fallback.test 1917s # Running test: glib/converter-stream.test 1917s TAP version 14 1917s # random seed: R02S1c9126249c9cb0ee3a0263664c950998 1917s 1..17 1917s # Start of converter tests 1917s ok 1 /converter/basics 1917s # End of converter tests 1917s # Start of converter-input-stream tests 1917s ok 2 /converter-input-stream/expander 1917s ok 3 /converter-input-stream/compressor 1917s # Start of truncation tests 1917s ok 4 /converter-input-stream/truncation/zlib 1917s ok 5 /converter-input-stream/truncation/gzip 1917s ok 6 /converter-input-stream/truncation/raw 1917s # End of truncation tests 1917s # Start of charset tests 1917s ok 7 /converter-input-stream/charset/utf8->latin1 1917s ok 8 /converter-input-stream/charset/latin1->utf8 1917s ok 9 /converter-input-stream/charset/fallbacks 1917s # End of charset tests 1917s # End of converter-input-stream tests 1917s # Start of converter-output-stream tests 1917s # Start of roundtrip tests 1917s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1917s ok 10 /converter-output-stream/roundtrip/zlib-0 1917s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1917s ok 11 /converter-output-stream/roundtrip/zlib-9 1917s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1918s ok 12 /converter-output-stream/roundtrip/gzip-0 1918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1918s ok 13 /converter-output-stream/roundtrip/gzip-9 1918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1918s ok 14 /converter-output-stream/roundtrip/raw-0 1918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1918s ok 15 /converter-output-stream/roundtrip/raw-9 1918s # End of roundtrip tests 1918s # End of converter-output-stream tests 1918s # Start of converter-stream tests 1918s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1918s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6042f5877e40 and GSocketClientAsyncConnectData 0x6042f5c6d320 1918s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1918s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1918s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6042f58885c0 for GSocketClientAsyncConnectData 0x6042f5c6d320 1918s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1918s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1918s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1918s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1918s ok 16 /converter-stream/pollable 1918s ok 17 /converter-stream/leftover 1918s # End of converter-stream tests 1918s ok - glib/converter-stream.test 1918s # Running test: glib/properties-refcount4.test 1918s TAP version 14 1918s # random seed: R02S0b36b1f8188e3fac21a6e6d93df8b99f 1918s 1..1 1918s # Start of gobject tests 1918s # Start of refcount tests 1918s ok 1 /gobject/refcount/properties-4 1918s # End of refcount tests 1918s # End of gobject tests 1918s ok - glib/properties-refcount4.test 1918s # Running test: glib/bytes.test 1918s TAP version 14 1918s # random seed: R02S2cc5465ed9df190b01362c2f7b846f94 1918s 1..21 1918s # Start of bytes tests 1918s ok 1 /bytes/new 1918s ok 2 /bytes/new-take 1918s ok 3 /bytes/new-static 1918s ok 4 /bytes/new-with-free-func 1918s ok 5 /bytes/new-from-bytes 1918s ok 6 /bytes/new-from-bytes-slice 1918s ok 7 /bytes/new-from-bytes-shared-ref 1918s ok 8 /bytes/hash 1918s ok 9 /bytes/equal 1918s ok 10 /bytes/compare 1918s ok 11 /bytes/null 1918s ok 12 /bytes/get-region 1918s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1918s ok 13 /bytes/unref-null 1918s # Start of to-data tests 1918s ok 14 /bytes/to-data/transferred 1918s ok 15 /bytes/to-data/two-refs 1918s ok 16 /bytes/to-data/non-malloc 1918s ok 17 /bytes/to-data/different-free-func 1918s # End of to-data tests 1918s # Start of to-array tests 1918s ok 18 /bytes/to-array/transferred 1918s ok 19 /bytes/to-array/two-refs 1918s ok 20 /bytes/to-array/non-malloc 1918s # Start of transferred tests 1918s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1918s ok 21 /bytes/to-array/transferred/oversize 1918s # End of transferred tests 1918s # End of to-array tests 1918s # End of bytes tests 1918s ok - glib/bytes.test 1918s # Running test: glib/repository-search-paths.test 1918s TAP version 14 1918s # random seed: R02Sb5381482c6396af04e76542cc8e64263 1918s 1..4 1918s # Start of repository tests 1918s # Start of search-paths tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/default/.dirs/runtime 1918s ok 1 /repository/search-paths/default 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_B7J3X2/repository/search-paths/prepend/.dirs/runtime 1918s ok 2 /repository/search-paths/prepend 1918s # End of search-paths tests 1918s # Start of library-paths tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/default/.dirs/runtime 1918s ok 3 /repository/library-paths/default 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_B7J3X2/repository/library-paths/prepend/.dirs/runtime 1918s ok 4 /repository/library-paths/prepend 1918s # End of library-paths tests 1918s # End of repository tests 1918s ok - glib/repository-search-paths.test 1918s # Running test: glib/asyncqueue.test 1918s TAP version 14 1918s # random seed: R02Sc4307b4145dc0f3ccfbeda95a3baa6f0 1918s 1..7 1918s # Start of asyncqueue tests 1918s ok 1 /asyncqueue/basics 1918s ok 2 /asyncqueue/sort 1918s ok 3 /asyncqueue/destroy 1918s ok 4 /asyncqueue/threads 1918s ok 5 /asyncqueue/timed 1918s ok 6 /asyncqueue/remove 1918s ok 7 /asyncqueue/push_front 1918s # End of asyncqueue tests 1918s ok - glib/asyncqueue.test 1918s # Running test: glib/registered-type-info.test 1918s TAP version 14 1918s # random seed: R02S9c4dc43a56c8b68b125f0e2b73e49738 1918s 1..1 1918s # Start of registered-type-info tests 1918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/home 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/cache 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/system-config2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/config 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/system-data2 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/data 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/state 1918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_2EDUX2/registered-type-info/boxed/.dirs/runtime 1918s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1918s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1918s # Expecting CClosure to not be boxed 1918s # Expecting TypeCValue to not be boxed 1918s # Expecting InitiallyUnownedClass to not be boxed 1918s # Expecting BookmarkFile to be boxed 1918s # Expecting Closure to be boxed 1918s # Expecting Object to not be boxed 1918s ok 1 /registered-type-info/boxed 1918s # End of registered-type-info tests 1918s ok - glib/registered-type-info.test 1918s # Running test: glib/utils-c-99.test 1918s TAP version 14 1918s # random seed: R02S9ac4e7778d51cb1e503d441a45ecffdf 1918s 1..40 1918s # Start of utils tests 1918s ok 1 /utils/language-names 1918s ok 2 /utils/locale-variants 1918s ok 3 /utils/version 1918s ok 4 /utils/appname 1918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1918s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1918s ok 5 /utils/prgname-thread-safety 1918s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1918s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1918s ok 6 /utils/tmpdir 1918s ok 7 /utils/basic_bits 1918s ok 8 /utils/bits 1918s ok 9 /utils/swap 1918s ok 10 /utils/find-program 1918s ok 11 /utils/find-program-for-path 1918s ok 12 /utils/debug 1918s ok 13 /utils/codeset 1918s ok 14 /utils/codeset2 1918s ok 15 /utils/console-charset 1918s ok 16 /utils/gettext 1918s ok 17 /utils/username 1918s ok 18 /utils/realname 1918s ok 19 /utils/hostname 1918s ok 20 /utils/xdgdirs 1918s ok 21 /utils/specialdir 1918s # NAME: Ubuntu 1918s ok 22 /utils/os-info 1918s ok 23 /utils/clear-pointer 1918s ok 24 /utils/clear-pointer-cast 1918s ok 25 /utils/take-pointer 1918s ok 26 /utils/clear-source 1918s ok 27 /utils/misc-mem 1918s # /utils/aligned-mem summary: Aligned memory allocator 1918s # Alignment must not be zero 1918s # Alignment must be a power of two 1918s # Alignment must be a multiple of sizeof(void*) 1918s ok 28 /utils/aligned-mem 1918s # /utils/free-sized summary: Check that g_free_sized() works 1918s ok 29 /utils/free-sized 1918s ok 30 /utils/nullify 1918s ok 31 /utils/atexit 1918s ok 32 /utils/check-setuid 1918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1918s ok 33 /utils/int-limits 1918s ok 34 /utils/clear-list 1918s ok 35 /utils/clear-slist 1918s # Start of specialdir tests 1918s ok 36 /utils/specialdir/desktop 1918s # End of specialdir tests 1918s # Start of clear-pointer tests 1918s ok 37 /utils/clear-pointer/side-effects 1918s # End of clear-pointer tests 1918s # Start of aligned-mem tests 1918s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1918s ok 38 /utils/aligned-mem/alignment 1918s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1918s ok 39 /utils/aligned-mem/zeroed 1918s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1918s ok 40 /utils/aligned-mem/free-sized 1918s # Start of subprocess tests 1918s # End of subprocess tests 1918s # End of aligned-mem tests 1918s # End of utils tests 1918s ok - glib/utils-c-99.test 1918s # Running test: glib/signals-refcount3.test 1918s TAP version 14 1918s # random seed: R02S5bdd6cc291231b131e03d66fe5e3290f 1918s 1..1 1918s # Start of gobject tests 1918s # Start of refcount tests 1918s # init 0x6165be0d4420 1918s # 1918s # init 0x6165be0d45c0 1918s # 1920s # Executing: glib/signals-refcount3.test 1923s # dispose 0x6165be0d4420! 1923s # 1923s # dispose 0x6165be0d45c0! 1923s # 1923s ok 1 /gobject/refcount/signals 1923s # slow test /gobject/refcount/signals executed in 5.00 secs 1923s # End of refcount tests 1923s # End of gobject tests 1923s ok - glib/signals-refcount3.test 1923s # Running test: glib/testfilemonitor.test 1923s TAP version 14 1923s # random seed: R02S38194a2ebf97ae345b50b251da40ded8 1923s 1..8 1923s # Start of monitor tests 1923s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1923s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1923s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1923s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s # Start of file tests 1923s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1923s # End of file tests 1923s # End of monitor tests 1923s ok - glib/testfilemonitor.test 1923s # Running test: glib/file.test 1923s TAP version 14 1923s # random seed: R02Se7854f37b9dd54efcc7cf495ceb3b9d2 1923s 1..55 1923s # Start of file tests 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/basic/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/basic/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/basic/.dirs/system-config1:/tmp/test_file_KTWSX2/file/basic/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/basic/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/basic/.dirs/system-data1:/tmp/test_file_KTWSX2/file/basic/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/basic/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/basic/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/basic/.dirs/runtime 1923s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1923s ok 1 /file/basic 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/build-filename/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/build-filename/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/build-filename/.dirs/system-config1:/tmp/test_file_KTWSX2/file/build-filename/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/build-filename/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/build-filename/.dirs/system-data1:/tmp/test_file_KTWSX2/file/build-filename/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/build-filename/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/build-filename/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/build-filename/.dirs/runtime 1923s ok 2 /file/build-filename 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_KTWSX2/file/build-filenamev/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_KTWSX2/file/build-filenamev/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/build-filenamev/.dirs/runtime 1923s ok 3 /file/build-filenamev 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/parent/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/parent/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/parent/.dirs/system-config1:/tmp/test_file_KTWSX2/file/parent/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/parent/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/parent/.dirs/system-data1:/tmp/test_file_KTWSX2/file/parent/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/parent/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/parent/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/parent/.dirs/runtime 1923s ok 4 /file/parent 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/child/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/child/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/child/.dirs/system-config1:/tmp/test_file_KTWSX2/file/child/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/child/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/child/.dirs/system-data1:/tmp/test_file_KTWSX2/file/child/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/child/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/child/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/child/.dirs/runtime 1923s ok 5 /file/child 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/empty-path/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/empty-path/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/empty-path/.dirs/system-config1:/tmp/test_file_KTWSX2/file/empty-path/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/empty-path/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/empty-path/.dirs/system-data1:/tmp/test_file_KTWSX2/file/empty-path/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/empty-path/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/empty-path/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/empty-path/.dirs/runtime 1923s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1923s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1923s ok 6 /file/empty-path 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/type/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/type/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/type/.dirs/system-config1:/tmp/test_file_KTWSX2/file/type/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/type/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/type/.dirs/system-data1:/tmp/test_file_KTWSX2/file/type/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/type/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/type/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/type/.dirs/runtime 1923s ok 7 /file/type 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/parse-name/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/parse-name/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/parse-name/.dirs/system-config1:/tmp/test_file_KTWSX2/file/parse-name/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/parse-name/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/parse-name/.dirs/system-data1:/tmp/test_file_KTWSX2/file/parse-name/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/parse-name/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/parse-name/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/parse-name/.dirs/runtime 1923s ok 8 /file/parse-name 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/replace-load/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/replace-load/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/replace-load/.dirs/system-config1:/tmp/test_file_KTWSX2/file/replace-load/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/replace-load/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/replace-load/.dirs/system-data1:/tmp/test_file_KTWSX2/file/replace-load/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/replace-load/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/replace-load/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/replace-load/.dirs/runtime 1923s ok 9 /file/replace-load 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_KTWSX2/file/replace-cancel/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_KTWSX2/file/replace-cancel/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/replace-cancel/.dirs/runtime 1923s # Bug Reference: https://bugzilla.gnome.org/629301 1923s ok 10 /file/replace-cancel 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_KTWSX2/file/replace-symlink/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_KTWSX2/file/replace-symlink/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/replace-symlink/.dirs/runtime 1923s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1923s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1923s # Using temporary directory /tmp/test_file_KTWSX2/g_file_replace_symlink_GGDTX2 1923s ok 11 /file/replace-symlink 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-new-tmp/.dirs/runtime 1923s ok 12 /file/async-new-tmp 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-new-tmp-dir/.dirs/runtime 1923s ok 13 /file/async-new-tmp-dir 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-delete/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-delete/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-delete/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-delete/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-delete/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-delete/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-delete/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-delete/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-delete/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-delete/.dirs/runtime 1923s ok 14 /file/async-delete 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-make-symlink/.dirs/runtime 1923s ok 15 /file/async-make-symlink 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/copy-preserve-mode/.dirs/runtime 1923s # Current umask: 2 1923s # Vector 0 1923s # Vector 1 1923s # Vector 2 1923s # Vector 3 1923s # Vector 4 1923s # Vector 5 1923s # Vector 6 1923s # Vector 7 1923s # Vector 8 1923s # Vector 9 1923s # Vector 10 1923s ok 16 /file/copy-preserve-mode 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/copy-async-with-closures/.dirs/runtime 1923s ok 17 /file/copy-async-with-closures 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/measure/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/measure/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/measure/.dirs/system-config1:/tmp/test_file_KTWSX2/file/measure/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/measure/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/measure/.dirs/system-data1:/tmp/test_file_KTWSX2/file/measure/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/measure/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/measure/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/measure/.dirs/runtime 1923s ok 18 /file/measure 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/measure-async/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/measure-async/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/measure-async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/measure-async/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/measure-async/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/measure-async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/measure-async/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/measure-async/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/measure-async/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/measure-async/.dirs/runtime 1923s ok 19 /file/measure-async 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/system-config1:/tmp/test_file_KTWSX2/file/load-bytes/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/system-data1:/tmp/test_file_KTWSX2/file/load-bytes/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/load-bytes/.dirs/runtime 1923s ok 20 /file/load-bytes 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/load-bytes-async/.dirs/runtime 1923s ok 21 /file/load-bytes-async 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/load-bytes-4gb/.dirs/runtime 1923s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/load-contents-4gb/.dirs/runtime 1923s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/load-contents-4gb-async/.dirs/runtime 1923s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/.dirs/runtime 1923s ok 25 /file/writev 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/build-attribute-list-for-copy/.dirs/runtime 1923s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1923s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1923s # 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::* 1923s # 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::* 1923s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1923s # Attributes for copy: standard::size,xattr::* 1923s # Attributes for copy: standard::size,unix::mode,xattr::* 1923s ok 26 /file/build-attribute-list-for-copy 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/move_async/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/move_async/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/move_async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/move_async/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/move_async/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/move_async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/move_async/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/move_async/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/move_async/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/move_async/.dirs/runtime 1923s ok 27 /file/move_async 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/move-async-with-closures/.dirs/runtime 1923s ok 28 /file/move-async-with-closures 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/query-zero-length-content-type/.dirs/runtime 1923s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1923s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1923s ok 29 /file/query-zero-length-content-type 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/runtime 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/data/applications 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/config 1923s ok 30 /file/query-default-handler-file 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/runtime 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/data/applications 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/config 1923s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_KTWSX2/file/query-default-handler-file/.dirs/config to /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/config 1923s ok 31 /file/query-default-handler-file-async 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/runtime 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/data/applications 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/config 1923s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_KTWSX2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/config 1923s ok 32 /file/query-default-handler-uri 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/runtime 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/data/applications 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/config 1923s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_KTWSX2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/config 1923s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_KTWSX2/file/query-default-handler-uri-async/.dirs/config 1923s ok 33 /file/query-default-handler-uri-async 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/enumerator-cancellation/.dirs/runtime 1923s ok 34 /file/enumerator-cancellation 1923s # Start of async-create-delete tests 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-create-delete/0/.dirs/runtime 1923s ok 35 /file/async-create-delete/0 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-create-delete/1/.dirs/runtime 1923s ok 36 /file/async-create-delete/1 1923s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/home 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/cache 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/system-config2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/config 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/system-data2 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/data 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/state 1923s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-create-delete/10/.dirs/runtime 1924s ok 37 /file/async-create-delete/10 1924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/home 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/cache 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/system-config2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/config 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/system-data2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/data 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/state 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-create-delete/25/.dirs/runtime 1924s ok 38 /file/async-create-delete/25 1924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/home 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/cache 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/system-config2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/config 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/system-data2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/data 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/state 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/async-create-delete/4096/.dirs/runtime 1924s ok 39 /file/async-create-delete/4096 1924s # End of async-create-delete tests 1924s # Start of replace-symlink tests 1924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/home 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/cache 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/system-config2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/config 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/system-data2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/data 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/state 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/replace-symlink/using-etag/.dirs/runtime 1924s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1924s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1924s # Using temporary directory /tmp/test_file_KTWSX2/g_file_replace_symlink_using_etag_CER4X2 1925s # Executing: glib/file.test 1926s ok 40 /file/replace-symlink/using-etag 1926s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1926s # End of replace-symlink tests 1926s # Start of replace tests 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_KTWSX2/file/replace/write-only/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_KTWSX2/file/replace/write-only/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/replace/write-only/.dirs/runtime 1926s # /file/replace/write-only summary: Test various situations for g_file_replace() 1926s # Current umask: 2 1926s # Test 0, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_TDO4X2 1926s # Test 1, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_Z6N4X2 1926s # Test 2, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_MHB5X2 1926s # Test 3, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_1354X2 1926s # Test 4, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_FS54X2 1926s # Test 5, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_SM54X2 1926s # Test 6, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_9J24X2 1926s # Test 7, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_64Z4X2 1926s # Test 8, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_D0Z4X2 1926s # Test 9, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_HXZ4X2 1926s # Test 10, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_E004X2 1926s # Test 11, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_YH73X2 1926s # Test 12, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_9563X2 1926s # Test 13, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_YZ63X2 1926s # Test 14, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_8J43X2 1926s # Test 15, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_KA53X2 1926s # Test 16, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_EM23X2 1926s # Test 17, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_FB03X2 1926s # Test 18, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_RAZ3X2 1926s # Test 19, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_F6L4X2 1926s # Test 20, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_NTG4X2 1926s # Test 21, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_AZH4X2 1926s # Test 22, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_K9E4X2 1926s # Test 23, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_R2E4X2 1926s # Test 24, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_CUB4X2 1926s # Test 25, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_Z7H3X2 1926s # Test 26, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_AVH3X2 1926s # Test 27, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_MOH3X2 1926s # Test 28, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_CLF3X2 1926s # Test 29, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_6SG3X2 1926s # Test 30, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_NJG3X2 1926s # Test 31, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_97F3X2 1926s # Test 32, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_9LD3X2 1926s # Test 33, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_9XA3X2 1926s # Test 34, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_ZNA3X2 1926s # Test 35, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_GCA3X2 1926s # Test 36, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_99U3X2 1926s # Test 37, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_40V3X2 1926s # Test 38, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_YST3X2 1926s # Test 39, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_VHO3X2 1926s # Test 40, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_KWL3X2 1926s # Test 41, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_R9R2X2 1926s # Test 42, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_Q5T2X2 1926s # Test 43, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_1ZM2X2 1926s # Test 44, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_RIN2X2 1926s # Test 45, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_I4J2X2 1926s # Test 46, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_RXK2X2 1926s # Test 47, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_YPK2X2 1926s # Test 48, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_OD22X2 1926s # We do not have CAP_DAC_OVERRIDE or equivalent 1926s ok 41 /file/replace/write-only 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_KTWSX2/file/replace/read-write/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_KTWSX2/file/replace/read-write/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/replace/read-write/.dirs/runtime 1926s # /file/replace/read-write summary: Test various situations for g_file_replace() 1926s # Current umask: 2 1926s # Test 0, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_5R12X2 1926s # Test 1, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_PR42X2 1926s # Test 2, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_APY2X2 1926s # Test 3, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_7AW2X2 1926s # Test 4, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_T0V2X2 1926s # Test 5, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_VPV2X2 1926s # Test 6, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_RH41X2 1926s # Test 7, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_VC51X2 1926s # Test 8, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_C441X2 1926s # Test 9, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_6W41X2 1926s # Test 10, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_2011X2 1926s # Test 11, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_Z1Y1X2 1926s # Test 12, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_8QY1X2 1926s # Test 13, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_0GY1X2 1926s # Test 14, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_S2U1X2 1926s # Test 15, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_TOF2X2 1926s # Test 16, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_RCD2X2 1926s # Test 17, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_W7D2X2 1926s # Test 18, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_BJ81X2 1926s # Test 19, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_7NG1X2 1926s # Test 20, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_BJB1X2 1926s # Test 21, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_HV80X2 1926s # Test 22, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_0H60X2 1926s # Test 23, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_YA60X2 1926s # Test 24, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_VHS1X2 1926s # Test 25, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_A5P1X2 1926s # Test 26, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_RPP1X2 1926s # Test 27, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_KKP1X2 1926s # Test 28, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_IXL1X2 1926s # Test 29, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_WIJ1X2 1926s # Test 30, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_3BJ1X2 1926s # Test 31, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_D3I1X2 1926s # Test 32, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_EJK0X2 1926s # Test 33, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_C8Y0X2 1926s # Test 34, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_M3Y0X2 1926s # Test 35, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_VMY0X2 1926s # Test 36, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_QYW0X2 1926s # Test 37, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_IB2ZX2 1926s # Test 38, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_JT0ZX2 1926s # Test 39, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_BNQZX2 1926s # Test 40, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_33B0X2 1926s # Test 41, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_XO9ZX2 1926s # Test 42, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_FU6ZX2 1926s # Test 43, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_OU7ZX2 1926s # Test 44, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_NF2ZX2 1926s # Test 45, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_LC5ZX2 1926s # Test 46, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_J2AZX2 1926s # Test 47, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_BUAZX2 1926s # Test 48, using temporary directory /tmp/test_file_KTWSX2/g_file_replace_847YX2 1926s # We do not have CAP_DAC_OVERRIDE or equivalent 1926s ok 42 /file/replace/read-write 1926s # End of replace tests 1926s # Start of copy tests 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/system-config1:/tmp/test_file_KTWSX2/file/copy/progress/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/system-data1:/tmp/test_file_KTWSX2/file/copy/progress/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/copy/progress/.dirs/runtime 1926s ok 43 /file/copy/progress 1926s # End of copy tests 1926s # Start of writev tests 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/no-bytes-written/.dirs/runtime 1926s ok 44 /file/writev/no-bytes-written 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/no-vectors/.dirs/runtime 1926s ok 45 /file/writev/no-vectors 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/empty-vectors/.dirs/runtime 1926s ok 46 /file/writev/empty-vectors 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/too-big-vectors/.dirs/runtime 1926s ok 47 /file/writev/too-big-vectors 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/async/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/async/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/async/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/async/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/async/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/async/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/async/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/async/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/async/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/async/.dirs/runtime 1926s ok 48 /file/writev/async 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/async_all/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/async_all/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/async_all/.dirs/runtime 1926s ok 49 /file/writev/async_all 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/async_all-empty-vectors/.dirs/runtime 1926s ok 50 /file/writev/async_all-empty-vectors 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/async_all-no-vectors/.dirs/runtime 1926s ok 51 /file/writev/async_all-no-vectors 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/async_all-to-big-vectors/.dirs/runtime 1926s ok 52 /file/writev/async_all-to-big-vectors 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/writev/async_all-cancellation/.dirs/runtime 1926s ok 53 /file/writev/async_all-cancellation 1926s # End of writev tests 1926s # Start of from-uri tests 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/from-uri/ignores-query-string/.dirs/runtime 1926s ok 54 /file/from-uri/ignores-query-string 1926s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/home 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/cache 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/system-config2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/config 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/system-data2 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/data 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/state 1926s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_KTWSX2/file/from-uri/ignores-fragment/.dirs/runtime 1926s ok 55 /file/from-uri/ignores-fragment 1926s # End of from-uri tests 1926s # End of file tests 1926s ok - glib/file.test 1926s # Running test: glib/types.test 1926s TAP version 14 1926s # random seed: R02S49223031d69a86281a87a4bfe56d0bd2 1926s 1..1 1926s # Start of types tests 1926s ok 1 /types/basic_types 1926s # End of types tests 1926s ok - glib/types.test 1926s # Running test: glib/autoptr.test 1926s TAP version 14 1926s # random seed: R02S324b3e0bcd051f0543a07b0751de0264 1926s 1..6 1926s # Start of autoptr tests 1926s ok 1 /autoptr/autoptr 1926s ok 2 /autoptr/autoptr_steal 1926s ok 3 /autoptr/autolist 1926s ok 4 /autoptr/autoslist 1926s ok 5 /autoptr/autoqueue 1926s ok 6 /autoptr/autoclass 1926s # End of autoptr tests 1926s ok - glib/autoptr.test 1926s # Running test: glib/thread-pool-slow.test 1926s TAP version 14 1926s # random seed: R02Sf5e4cd4edca3c0e6da79a1f62f2f4e0d 1926s 1..7 1926s # Start of threadpool tests 1926s ok 1 /threadpool/functions 1926s ok 2 /threadpool/stop-unused 1926s # slow test /threadpool/stop-unused executed in 0.51 secs 1927s ok 3 /threadpool/pools 1927s # [unsorted] ===> pushed new thread with id:53, number of threads:1, unprocessed:1 1927s # [unsorted] ===> pushed new thread with id:93, number of threads:2, unprocessed:2 1927s # [unsorted] ===> pushed new thread with id:77, number of threads:3, unprocessed:3 1927s # [unsorted] ===> pushed new thread with id:70, number of threads:4, unprocessed:4 1927s # [unsorted] ===> pushed new thread with id:59, number of threads:5, unprocessed:4 1927s # [unsorted] ===> pushed new thread with id:92, number of threads:6, unprocessed:5 1927s # [unsorted] ===> pushed new thread with id:64, number of threads:7, unprocessed:6 1927s # [unsorted] ===> pushed new thread with id:69, number of threads:8, unprocessed:7 1927s # [unsorted] ===> pushed new thread with id:28, number of threads:9, unprocessed:8 1927s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:9 1927s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:10 1927s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:10 1927s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:11 1927s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:11 1927s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:12 1927s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:12 1927s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:12 1927s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:13 1927s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:13 1927s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:13 1927s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:14 1927s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:14 1927s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:15 1927s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:16 1927s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:17 1927s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:18 1927s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:19 1927s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:20 1927s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:20 1927s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:21 1927s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:22 1927s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:23 1927s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:23 1927s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:24 1927s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:25 1927s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:26 1927s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:27 1927s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:28 1927s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:29 1927s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:30 1927s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:31 1927s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:32 1927s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:33 1927s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:34 1927s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:35 1927s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:36 1927s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:37 1927s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:38 1927s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:39 1927s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:40 1927s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:41 1927s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:42 1927s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:43 1927s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:44 1927s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:45 1927s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:46 1927s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:47 1927s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:48 1927s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:49 1927s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:50 1927s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:51 1927s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:52 1927s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:53 1927s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:54 1927s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:55 1927s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:56 1927s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:57 1927s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:58 1927s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:59 1927s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:60 1927s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:61 1927s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:62 1927s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:63 1927s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:64 1927s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:65 1927s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:66 1927s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:67 1927s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:68 1927s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:69 1927s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:70 1927s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:71 1927s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:72 1927s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:73 1927s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:74 1927s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:75 1927s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:76 1927s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:77 1927s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:78 1927s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:79 1927s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:80 1927s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:81 1927s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:82 1927s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:83 1927s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:84 1927s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:85 1927s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:86 1927s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:87 1927s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:88 1927s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:89 1927s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:90 1927s ok 4 /threadpool/no-sort 1927s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:1 1927s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:2 1927s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:3 1927s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:4 1927s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:5 1927s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:6 1927s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:7 1927s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:8 1927s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:9 1927s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:10 1927s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:11 1927s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:12 1927s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:13 1927s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:14 1927s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:15 1927s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:16 1927s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:17 1927s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:18 1927s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:19 1927s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:20 1927s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:21 1927s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:22 1927s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:23 1927s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:24 1927s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:25 1927s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:26 1927s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:27 1927s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:28 1927s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:29 1927s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:30 1927s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:31 1927s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:32 1927s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:33 1927s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:34 1927s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:35 1927s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:36 1927s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:37 1927s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:38 1927s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:39 1927s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:40 1927s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:41 1927s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:42 1927s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:43 1927s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:44 1927s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:45 1927s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:46 1927s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:47 1927s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:48 1927s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:49 1927s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:50 1927s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:51 1927s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:52 1927s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:53 1927s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:54 1927s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:55 1927s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:56 1927s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:57 1927s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:58 1927s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:59 1927s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:60 1927s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:61 1927s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:62 1927s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:63 1927s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:64 1927s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:65 1927s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:66 1927s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:67 1927s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:68 1927s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:69 1927s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:70 1927s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:71 1927s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:72 1927s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:73 1927s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:74 1927s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:75 1927s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:76 1927s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:77 1927s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:78 1927s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:79 1927s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:80 1927s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:81 1927s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:82 1927s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:83 1927s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:84 1927s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:85 1927s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:86 1927s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:87 1927s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:88 1927s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:89 1927s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:90 1927s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:91 1927s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:92 1927s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:93 1927s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:94 1927s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:95 1927s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:96 1927s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:97 1927s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:98 1927s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:99 1927s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:100 1927s # Starting thread pool processing 1927s ok 5 /threadpool/sort 1927s ok 6 /threadpool/stop-unused-multiple 1927s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1927s # Pool idle thread count: 0, unprocessed jobs: 47 1928s # Pool idle thread count: 0, unprocessed jobs: 0 1928s # Pool idle thread count: 0, unprocessed jobs: 0 1928s # Pool idle thread count: 10, unprocessed jobs: 0 1928s # Pool idle thread count: 10, unprocessed jobs: 0 1929s # Pool idle thread count: 10, unprocessed jobs: 0 1929s # Pool idle thread count: 10, unprocessed jobs: 0 1929s # Pool idle thread count: 10, unprocessed jobs: 0 1929s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Pool idle thread count: 10, unprocessed jobs: 0 1930s # Executing: glib/thread-pool-slow.test 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1931s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1932s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1933s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1934s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Pool idle thread count: 10, unprocessed jobs: 0 1935s # Executing: glib/thread-pool-slow.test 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 0 1936s # Pool idle thread count: 10, unprocessed jobs: 2 1936s # Pool idle thread count: 9, unprocessed jobs: 1 1936s # Pool idle thread count: 8, unprocessed jobs: 0 1936s # Pool idle thread count: 8, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1937s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 10, unprocessed jobs: 0 1938s # Pool idle thread count: 2, unprocessed jobs: 0 1938s # Pool idle thread count: 2, unprocessed jobs: 0 1939s # Pool idle thread count: 2, unprocessed jobs: 0 1939s # Pool idle thread count: 2, unprocessed jobs: 0 1939s # Pool idle thread count: 2, unprocessed jobs: 0 1939s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Pool idle thread count: 2, unprocessed jobs: 0 1940s # Executing: glib/thread-pool-slow.test 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1941s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1942s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1943s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1944s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Pool idle thread count: 2, unprocessed jobs: 0 1945s # Executing: glib/thread-pool-slow.test 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1946s # Pool idle thread count: 2, unprocessed jobs: 0 1947s ok 7 /threadpool/idle-time 1947s # slow test /threadpool/idle-time executed in 19.53 secs 1947s # End of threadpool tests 1947s ok - glib/thread-pool-slow.test 1947s # Running test: glib/gdbus-test-codegen.test 1947s TAP version 14 1947s # random seed: R02S14581a836d647909d6aad125964ae356 1947s 1..8 1947s # Start of gdbus tests 1947s # Start of codegen tests 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/annotations/.dirs/runtime 1947s ok 1 /gdbus/codegen/annotations 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/interface_stability/.dirs/runtime 1947s ok 2 /gdbus/codegen/interface_stability 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/object-manager/.dirs/runtime 1947s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1947s ok 3 /gdbus/codegen/object-manager 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/property-naming/.dirs/runtime 1947s ok 4 /gdbus/codegen/property-naming 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/autocleanups/.dirs/runtime 1947s ok 5 /gdbus/codegen/autocleanups 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/deprecations/.dirs/runtime 1947s ok 6 /gdbus/codegen/deprecations 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1947s ok 7 /gdbus/codegen/standalone-interface-info 1947s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/home 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/cache 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/config 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/data 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/state 1947s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_HRG6X2/gdbus/codegen/unix-fd-list/.dirs/runtime 1947s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1947s ok 8 /gdbus/codegen/unix-fd-list 1947s # End of codegen tests 1947s # End of gdbus tests 1947s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1947s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1947s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1947s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1947s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1947s ok - glib/gdbus-test-codegen.test 1947s # Running test: glib/io-channel-basic.test 1947s TAP version 14 1947s # random seed: R02S8d6e54596490329a64a7ec6beda5d6c6 1947s 1..1 1947s # Start of gio tests 1947s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1947s # random seed: R02S203248f6457579ed5576b66101af855e 1947s # GLib-DEBUG: io-channel-basic: child writing 8+3059 bytes to 6 1947s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1947s # GLib-DEBUG: io-channel-basic: ...from 5: 3059 bytes 1947s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1947s # GLib-DEBUG: io-channel-basic: child writing 8+527 bytes to 6 1947s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1947s # GLib-DEBUG: io-channel-basic: ...from 5: 527 bytes 1947s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1948s # GLib-DEBUG: io-channel-basic: child writing 8+4280 bytes to 6 1948s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1948s # GLib-DEBUG: io-channel-basic: ...from 5: 4280 bytes 1948s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1948s # GLib-DEBUG: io-channel-basic: child writing 8+4791 bytes to 6 1948s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1948s # GLib-DEBUG: io-channel-basic: ...from 5: 4791 bytes 1948s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1948s # GLib-DEBUG: io-channel-basic: child writing 8+396 bytes to 6 1948s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1948s # GLib-DEBUG: io-channel-basic: ...from 5: 396 bytes 1948s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1948s # GLib-DEBUG: io-channel-basic: child writing 8+1067 bytes to 6 1948s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1948s # GLib-DEBUG: io-channel-basic: ...from 5: 1067 bytes 1948s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1949s # GLib-DEBUG: io-channel-basic: child writing 8+1928 bytes to 6 1949s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1949s # GLib-DEBUG: io-channel-basic: ...from 5: 1928 bytes 1949s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1949s # GLib-DEBUG: io-channel-basic: child writing 8+3894 bytes to 6 1949s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1949s # GLib-DEBUG: io-channel-basic: ...from 5: 3894 bytes 1949s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1949s # GLib-DEBUG: io-channel-basic: child writing 8+2051 bytes to 6 1949s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1949s # GLib-DEBUG: io-channel-basic: ...from 5: 2051 bytes 1949s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1949s # GLib-DEBUG: io-channel-basic: child writing 8+2834 bytes to 6 1949s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1949s # GLib-DEBUG: io-channel-basic: ...from 5: 2834 bytes 1949s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1950s # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 6 1950s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1950s # GLib-DEBUG: io-channel-basic: ...from 5: 1938 bytes 1950s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1950s # GLib-DEBUG: io-channel-basic: child writing 8+1542 bytes to 6 1950s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1950s # GLib-DEBUG: io-channel-basic: ...from 5: 1542 bytes 1950s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1950s # GLib-DEBUG: io-channel-basic: child writing 8+3917 bytes to 6 1950s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1950s # GLib-DEBUG: io-channel-basic: ...from 5: 3917 bytes 1950s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1950s # Executing: glib/io-channel-basic.test 1950s # GLib-DEBUG: io-channel-basic: child writing 8+2679 bytes to 6 1950s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1950s # GLib-DEBUG: io-channel-basic: ...from 5: 2679 bytes 1950s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1951s # GLib-DEBUG: io-channel-basic: child writing 8+1730 bytes to 6 1951s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1951s # GLib-DEBUG: io-channel-basic: ...from 5: 1730 bytes 1951s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1951s # GLib-DEBUG: io-channel-basic: child writing 8+4800 bytes to 6 1951s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1951s # GLib-DEBUG: io-channel-basic: ...from 5: 4800 bytes 1951s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1951s # GLib-DEBUG: io-channel-basic: child writing 8+554 bytes to 6 1951s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1951s # GLib-DEBUG: io-channel-basic: ...from 5: 554 bytes 1951s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1951s # GLib-DEBUG: io-channel-basic: child writing 8+4826 bytes to 6 1951s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1951s # GLib-DEBUG: io-channel-basic: ...from 5: 4826 bytes 1951s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+2680 bytes to 6 1952s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 5: 2680 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+800 bytes to 6 1952s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 5: 800 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+587 bytes to 6 1952s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1952s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1952s # GLib-DEBUG: io-channel-basic: ...from 5: 587 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1952s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1952s # random seed: R02Sf9ea1aa9dc929bf2dc97ec96f644a5ce 1952s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1952s # random seed: R02S6e881dd855ff7b92580a1dfb20b27127 1952s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1952s # random seed: R02Sce6a39d865978d881bec5d62056ffebe 1952s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1952s # random seed: R02S1ea1f9450c72053861cb726a367b80c9 1952s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1952s # random seed: R02Sa602f890d011b25392d466b05b680a63 1952s # GLib-DEBUG: io-channel-basic: child writing 8+1581 bytes to 13 1952s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 12: 1581 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+4472 bytes to 17 1952s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 16: 4472 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+431 bytes to 9 1952s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 8: 431 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+1944 bytes to 11 1952s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 10: 1944 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1952s # GLib-DEBUG: io-channel-basic: child writing 8+2959 bytes to 15 1952s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1952s # GLib-DEBUG: io-channel-basic: ...from 14: 2959 bytes 1952s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+4629 bytes to 17 1953s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 16: 4629 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+2971 bytes to 15 1953s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 14: 2971 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+191 bytes to 13 1953s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 12: 191 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+4592 bytes to 11 1953s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 10: 4592 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+2668 bytes to 9 1953s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 8: 2668 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+4929 bytes to 17 1953s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 16: 4929 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+3175 bytes to 13 1953s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 12: 3175 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+2647 bytes to 15 1953s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 14: 2647 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+3715 bytes to 11 1953s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 10: 3715 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+1835 bytes to 9 1953s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 8: 1835 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+4285 bytes to 17 1953s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 16: 4285 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+1995 bytes to 13 1953s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 12: 1995 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+405 bytes to 11 1953s # GLib-DEBUG: io-channel-basic: child writing 8+2752 bytes to 15 1953s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 10: 405 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1953s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 14: 2752 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+532 bytes to 9 1953s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 8: 532 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1953s # GLib-DEBUG: io-channel-basic: child writing 8+1425 bytes to 13 1953s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1953s # GLib-DEBUG: io-channel-basic: ...from 12: 1425 bytes 1953s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+3096 bytes to 17 1954s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 16: 3096 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2122 bytes to 11 1954s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 10: 2122 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+3942 bytes to 9 1954s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 8: 3942 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 15 1954s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 14: 3606 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+1466 bytes to 13 1954s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 12: 1466 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2495 bytes to 11 1954s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 10: 2495 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2177 bytes to 17 1954s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 16: 2177 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+831 bytes to 15 1954s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 14: 831 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2093 bytes to 9 1954s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 8: 2093 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+3424 bytes to 13 1954s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 12: 3424 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+4499 bytes to 17 1954s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 16: 4499 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2133 bytes to 15 1954s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 14: 2133 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+578 bytes to 11 1954s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 10: 578 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+1383 bytes to 9 1954s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 8: 1383 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2980 bytes to 13 1954s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 12: 2980 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+4725 bytes to 17 1954s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 16: 4725 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2740 bytes to 15 1954s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 14: 2740 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+240 bytes to 9 1954s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 8: 240 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1954s # GLib-DEBUG: io-channel-basic: child writing 8+2354 bytes to 11 1954s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1954s # GLib-DEBUG: io-channel-basic: ...from 10: 2354 bytes 1954s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+2561 bytes to 13 1955s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 12: 2561 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+471 bytes to 15 1955s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 14: 471 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4811 bytes to 17 1955s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 16: 4811 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+1560 bytes to 11 1955s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 10: 1560 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+2218 bytes to 9 1955s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 8: 2218 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+1963 bytes to 13 1955s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 12: 1963 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+729 bytes to 17 1955s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 16: 729 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4557 bytes to 15 1955s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 14: 4557 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+3754 bytes to 11 1955s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 10: 3754 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4800 bytes to 9 1955s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 8: 4800 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+2205 bytes to 13 1955s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 12: 2205 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+3355 bytes to 17 1955s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 16: 3355 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+3508 bytes to 15 1955s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 14: 3508 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4833 bytes to 11 1955s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 10: 4833 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+3578 bytes to 9 1955s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 8: 3578 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1955s # Executing: glib/io-channel-basic.test 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4476 bytes to 17 1955s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 16: 4476 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4875 bytes to 13 1955s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 12: 4875 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+4148 bytes to 15 1955s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 14: 4148 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+876 bytes to 11 1955s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 10: 876 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1955s # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 9 1955s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1955s # GLib-DEBUG: io-channel-basic: ...from 8: 3606 bytes 1955s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+277 bytes to 13 1956s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 12: 277 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+3460 bytes to 15 1956s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 14: 3460 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+2220 bytes to 17 1956s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 16: 2220 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+4612 bytes to 11 1956s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 10: 4612 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+126 bytes to 9 1956s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 8: 126 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+3003 bytes to 13 1956s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 12: 3003 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+4937 bytes to 15 1956s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 14: 4937 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+1247 bytes to 17 1956s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 16: 1247 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+2438 bytes to 11 1956s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 10: 2438 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+4087 bytes to 9 1956s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 8: 4087 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+1365 bytes to 13 1956s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 12: 1365 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+1805 bytes to 15 1956s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 14: 1805 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+1324 bytes to 17 1956s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 16: 1324 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+962 bytes to 11 1956s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 10: 962 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+3349 bytes to 9 1956s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 8: 3349 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+2745 bytes to 13 1956s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 12: 2745 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+4328 bytes to 17 1956s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 16: 4328 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+4096 bytes to 15 1956s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 14: 4096 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+2176 bytes to 11 1956s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 10: 2176 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1956s # GLib-DEBUG: io-channel-basic: child writing 8+3730 bytes to 9 1956s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1956s # GLib-DEBUG: io-channel-basic: ...from 8: 3730 bytes 1956s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+1923 bytes to 17 1957s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 16: 1923 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+163 bytes to 13 1957s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 12: 163 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+3261 bytes to 15 1957s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 14: 3261 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+4149 bytes to 9 1957s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 8: 4149 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+157 bytes to 11 1957s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 10: 157 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+2066 bytes to 17 1957s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 16: 2066 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+618 bytes to 15 1957s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 14: 618 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+3374 bytes to 13 1957s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 12: 3374 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+2650 bytes to 9 1957s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 8: 2650 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+3156 bytes to 11 1957s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 10: 3156 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+195 bytes to 17 1957s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 16: 195 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+2439 bytes to 15 1957s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 14: 2439 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+1039 bytes to 13 1957s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 12: 1039 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+3047 bytes to 9 1957s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 8: 3047 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+2039 bytes to 11 1957s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 10: 2039 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+157 bytes to 17 1957s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 16: 157 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+1808 bytes to 15 1957s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 14: 1808 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+4497 bytes to 13 1957s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1957s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1957s # GLib-DEBUG: io-channel-basic: ...from 12: 4497 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+315 bytes to 9 1957s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 8: 315 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1957s # GLib-DEBUG: io-channel-basic: child writing 8+4401 bytes to 11 1957s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1957s # GLib-DEBUG: io-channel-basic: ...from 10: 4401 bytes 1957s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+3532 bytes to 17 1958s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1958s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1958s # GLib-DEBUG: io-channel-basic: ...from 16: 3532 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+191 bytes to 15 1958s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 14: 191 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+3471 bytes to 9 1958s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 8: 3471 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+1037 bytes to 11 1958s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 10: 1037 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+3118 bytes to 15 1958s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 14: 3118 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+3398 bytes to 9 1958s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 8: 3398 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+3543 bytes to 11 1958s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 10: 3543 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+2508 bytes to 15 1958s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 14: 2508 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+1944 bytes to 9 1958s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 8: 1944 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+1107 bytes to 11 1958s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1958s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1958s # GLib-DEBUG: io-channel-basic: ...from 10: 1107 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+4054 bytes to 15 1958s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1958s # GLib-DEBUG: io-channel-basic: ...from 14: 4054 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1958s # GLib-DEBUG: io-channel-basic: child writing 8+1621 bytes to 9 1958s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1958s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1958s # GLib-DEBUG: io-channel-basic: ...from 8: 1621 bytes 1958s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1959s # GLib-DEBUG: io-channel-basic: child writing 8+2667 bytes to 15 1959s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1959s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1959s # GLib-DEBUG: io-channel-basic: ...from 14: 2667 bytes 1959s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1959s ok 1 /gio/io-basics 1959s # slow test /gio/io-basics executed in 12.00 secs 1959s # End of gio tests 1959s ok - glib/io-channel-basic.test 1959s # Running test: glib/fileutils.test 1959s TAP version 14 1959s # random seed: R02Sb0a14d90a80c1a735680e6e33981547d 1959s 1..27 1959s # Start of fileutils tests 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/paths/.dirs/runtime 1959s ok 1 /fileutils/paths 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/build-path/.dirs/runtime 1959s ok 2 /fileutils/build-path 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/build-pathv/.dirs/runtime 1959s ok 3 /fileutils/build-pathv 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/build-filename/.dirs/runtime 1959s ok 4 /fileutils/build-filename 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/build-filenamev/.dirs/runtime 1959s ok 5 /fileutils/build-filenamev 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents/.dirs/runtime 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s ok 6 /fileutils/mkdir-with-parents 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s ok 7 /fileutils/mkdir-with-parents-permission 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/format-size-for-display/.dirs/runtime 1959s ok 8 /fileutils/format-size-for-display 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/errors/.dirs/runtime 1959s ok 9 /fileutils/errors 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/basename/.dirs/runtime 1959s ok 10 /fileutils/basename 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/get-basename/.dirs/runtime 1959s ok 11 /fileutils/get-basename 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/dirname/.dirs/runtime 1959s ok 12 /fileutils/dirname 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/dir-make-tmp/.dirs/runtime 1959s ok 13 /fileutils/dir-make-tmp 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/file-open-tmp/.dirs/runtime 1959s ok 14 /fileutils/file-open-tmp 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/file-test/.dirs/runtime 1959s ok 15 /fileutils/file-test 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/mkstemp/.dirs/runtime 1959s ok 16 /fileutils/mkstemp 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/mkdtemp/.dirs/runtime 1959s ok 17 /fileutils/mkdtemp 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/get-contents/.dirs/runtime 1959s ok 18 /fileutils/get-contents 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/get-contents-large-file/.dirs/runtime 1959s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/set-contents/.dirs/runtime 1959s ok 20 /fileutils/set-contents 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/.dirs/runtime 1959s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1959s # Flags 0 and test 0 1959s # Flags 0 and test 1 1959s # Flags 0 and test 2 1959s # Flags 0 and test 3 1959s # Flags 0 and test 4 1959s # Flags 0 and test 5 1959s # Flags 1 and test 0 1959s # Flags 1 and test 1 1959s # Flags 1 and test 2 1959s # Flags 1 and test 3 1959s # Flags 1 and test 4 1959s # Flags 1 and test 5 1959s # Flags 2 and test 0 1959s # Flags 2 and test 1 1959s # Flags 2 and test 2 1959s # Flags 2 and test 3 1959s # Flags 2 and test 4 1959s # Flags 2 and test 5 1959s # Flags 3 and test 0 1959s # Flags 3 and test 1 1959s # Flags 3 and test 2 1959s # Flags 3 and test 3 1959s # Flags 3 and test 4 1959s # Flags 3 and test 5 1959s # Flags 4 and test 0 1959s # Flags 4 and test 1 1959s # Flags 4 and test 2 1959s # Flags 4 and test 3 1959s # Flags 4 and test 4 1959s # Flags 4 and test 5 1959s # Flags 5 and test 0 1959s # Flags 5 and test 1 1959s # Flags 5 and test 2 1959s # Flags 5 and test 3 1959s # Flags 5 and test 4 1959s # Flags 5 and test 5 1959s # Flags 6 and test 0 1959s # Flags 6 and test 1 1959s # Flags 6 and test 2 1959s # Flags 6 and test 3 1959s # Flags 6 and test 4 1959s # Flags 6 and test 5 1959s ok 21 /fileutils/set-contents-full 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/read-link/.dirs/runtime 1959s ok 22 /fileutils/read-link 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/stdio-wrappers/.dirs/runtime 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s ok 23 /fileutils/stdio-wrappers 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/fopen-modes/.dirs/runtime 1959s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1959s # Testing fopen() mode 'w' 1959s # Testing fopen() mode 'r' 1959s # Testing fopen() mode 'a' 1959s # Testing fopen() mode 'w+' 1959s # Testing fopen() mode 'r+' 1959s # Testing fopen() mode 'a+' 1959s # Testing fopen() mode 'wb' 1959s # Testing fopen() mode 'rb' 1959s # Testing fopen() mode 'ab' 1959s # Testing fopen() mode 'w+b' 1959s # Testing fopen() mode 'r+b' 1959s # Testing fopen() mode 'a+b' 1959s # Testing fopen() mode 'wb+' 1959s # Testing fopen() mode 'rb+' 1959s # Testing fopen() mode 'ab+' 1959s ok 24 /fileutils/fopen-modes 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/clear-fd/.dirs/runtime 1959s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1959s # Will be closed by autocleanup: 3, -42 1959s # Testing error handling 1959s ok 25 /fileutils/clear-fd 1959s # Start of set-contents-full tests 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1959s ok 26 /fileutils/set-contents-full/read-only-file 1959s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/home 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/config 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/data 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/state 1959s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT03X2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1959s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1959s # Flags 0 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # Flags 1 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # Flags 2 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # Flags 3 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # Flags 4 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # Flags 5 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s # Flags 6 1959s # We do not have CAP_DAC_OVERRIDE or equivalent 1959s ok 27 /fileutils/set-contents-full/read-only-directory 1959s # End of set-contents-full tests 1959s # Start of clear-fd tests 1959s # Start of subprocess tests 1959s # End of subprocess tests 1959s # End of clear-fd tests 1959s # End of fileutils tests 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-6C50X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-4AE1X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-YBC1X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-ZTB1X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-LA70X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-OTA1X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2/glib-file-set-contents-full-rodir-5M81X2: Directory not empty 1959s Unable to clean up temporary directory /tmp/test_fileutils_RT03X2: Directory not empty 1959s ok - glib/fileutils.test 1959s # Running test: glib/642026.test 1959s TAP version 14 1959s # random seed: R02S7c6e494df4933c058f9046146eed73f5 1959s 1..1 1959s # Start of glib tests 1959s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1959s ok 1 /glib/642026 1959s # End of glib tests 1959s ok - glib/642026.test 1959s # Running test: glib/gobject-query.py.test 1959s TAP version 13 1959s ok 1 __main__.TestGobjectQuery.test_froots 1959s # gobject-query: /usr/bin/gobject-query 1959s # Running: ['/usr/bin/gobject-query', 'froots'] 1959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1959s # Output: ├void 1959s # ├GInterface 1959s # │ â””GTypePlugin 1959s # ├gchar 1959s # ├guchar 1959s # ├gboolean 1959s # ├gint 1959s # ├guint 1959s # ├glong 1959s # ├gulong 1959s # ├gint64 1959s # ├guint64 1959s # ├GEnum 1959s # ├GFlags 1959s # ├gfloat 1959s # ├gdouble 1959s # ├gchararray 1959s # ├gpointer 1959s # │ â””GType 1959s # ├GBoxed 1959s # │ â””GValueArray 1959s # ├GParam 1959s # │ ├GParamChar 1959s # │ ├GParamUChar 1959s # │ ├GParamBoolean 1959s # │ ├GParamInt 1959s # │ ├GParamUInt 1959s # │ ├GParamLong 1959s # │ ├GParamULong 1959s # │ ├GParamInt64 1959s # │ ├GParamUInt64 1959s # │ ├GParamUnichar 1959s # │ ├GParamEnum 1959s # │ ├GParamFlags 1959s # │ ├GParamFloat 1959s # │ ├GParamDouble 1959s # │ ├GParamString 1959s # │ ├GParamParam 1959s # │ ├GParamBoxed 1959s # │ ├GParamPointer 1959s # │ ├GParamValueArray 1959s # │ ├GParamObject 1959s # │ ├GParamOverride 1959s # │ ├GParamGType 1959s # │ â””GParamVariant 1959s # ├GObject 1959s # â””GVariant 1959s ok 2 __main__.TestGobjectQuery.test_help 1959s # gobject-query: /usr/bin/gobject-query 1959s # Running: ['/usr/bin/gobject-query', '--help'] 1959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1959s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1959s # -r specify root type 1959s # -n don't descend type tree 1959s # -h show help 1959s # -b specify indent string 1959s # -i specify incremental indent string 1959s # -s specify line spacing 1959s # qualifiers: 1959s # froots iterate over fundamental roots 1959s # tree print type tree 1959s ok 3 __main__.TestGobjectQuery.test_tree 1959s # gobject-query: /usr/bin/gobject-query 1959s # Running: ['/usr/bin/gobject-query', 'tree'] 1959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1959s # Output: GObject 1959s ok 4 __main__.TestGobjectQuery.test_version 1959s # gobject-query: /usr/bin/gobject-query 1959s # Running: ['/usr/bin/gobject-query', '--version'] 1959s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1959s # Output: 2.82.2 1959s 1..4 1959s ok - glib/gobject-query.py.test 1959s # Running test: glib/socket.test 1959s TAP version 14 1959s # random seed: R02S59740be88ed7da03e72cadf0a038490f 1959s 1..28 1959s # Start of socket tests 1960s ok 1 /socket/ipv4_sync 1960s # slow test /socket/ipv4_sync executed in 1.00 secs 1960s # Executing: glib/socket.test 1961s ok 2 /socket/ipv4_async 1961s # slow test /socket/ipv4_async executed in 1.00 secs 1961s ok 3 /socket/ipv6_sync 1961s ok 4 /socket/ipv6_async 1961s ok 5 /socket/ipv6_v4mapped 1962s ok 6 /socket/close_graceful 1962s # slow test /socket/close_graceful executed in 1.00 secs 1962s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1962s ok 8 /socket/fd_reuse 1962s ok 9 /socket/address 1962s ok 10 /socket/unix-from-fd 1962s ok 11 /socket/unix-connection 1962s ok 12 /socket/unix-connection-ancillary-data 1962s ok 13 /socket/source-postmortem 1962s ok 14 /socket/read_write 1962s ok 15 /socket/read_writev 1962s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1962s ok 16 /socket/receive_bytes 1962s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1962s ok 17 /socket/receive_bytes_from 1962s # Start of ipv4_sync tests 1962s ok 18 /socket/ipv4_sync/datagram 1962s # Start of datagram tests 1963s ok 19 /socket/ipv4_sync/datagram/timeouts 1963s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1963s # End of datagram tests 1963s # End of ipv4_sync tests 1963s # Start of ipv6_sync tests 1963s ok 20 /socket/ipv6_sync/datagram 1963s # Start of datagram tests 1964s ok 21 /socket/ipv6_sync/datagram/timeouts 1964s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1964s # End of datagram tests 1964s # End of ipv6_sync tests 1964s # Start of reuse tests 1964s ok 22 /socket/reuse/tcp 1964s ok 23 /socket/reuse/udp 1964s # End of reuse tests 1964s # Start of get_available tests 1964s ok 24 /socket/get_available/datagram 1964s ok 25 /socket/get_available/stream 1964s # End of get_available tests 1964s # Start of credentials tests 1964s # Supported on this OS: GCredentials:linux-ucred:pid=0 1964s ok 26 /socket/credentials/tcp_client 1964s # Supported on this OS: GCredentials:linux-ucred:pid=0 1964s ok 27 /socket/credentials/tcp_server 1964s # Supported on this OS: GCredentials:linux-ucred:pid=11782,uid=1000,gid=1000 1964s ok 28 /socket/credentials/unix_socketpair 1964s # End of credentials tests 1964s # End of socket tests 1964s ok - glib/socket.test 1964s # Running test: glib/credentials.test 1964s TAP version 14 1964s # random seed: R02S564b80d40ab47d8b208c28ef15250ef0 1964s 1..1 1964s # Start of credentials tests 1964s # GCredentials:linux-ucred:pid=11804,uid=1000,gid=1000 1964s # GCredentials:linux-ucred:pid=11804,uid=0,gid=1000 1964s ok 1 /credentials/basic 1964s # End of credentials tests 1964s ok - glib/credentials.test 1964s # Running test: glib/gsubprocess.test 1964s TAP version 14 1964s # random seed: R02S43eb850de052788747217b877bb8bf02 1964s 1..83 1964s # Start of gsubprocess tests 1964s ok 1 /gsubprocess/noop 1964s ok 2 /gsubprocess/noop-all-to-null 1964s ok 3 /gsubprocess/noop-no-wait 1964s ok 4 /gsubprocess/noop-stdin-inherit 1964s ok 5 /gsubprocess/search-path 1964s ok 6 /gsubprocess/search-path-from-envp 1965s # Executing: glib/gsubprocess.test 1967s ok 7 /gsubprocess/signal 1967s # slow test /gsubprocess/signal executed in 2.99 secs 1967s ok 8 /gsubprocess/exit1 1967s ok 9 /gsubprocess/echo1 1967s ok 10 /gsubprocess/echo-merged 1967s ok 11 /gsubprocess/cat-utf8 1968s ok 12 /gsubprocess/cat-eof 1968s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1970s # Executing: glib/gsubprocess.test 1971s ok 13 /gsubprocess/multi1 1971s # slow test /gsubprocess/multi1 executed in 3.01 secs 1971s ok 14 /gsubprocess/communicate 1974s ok 15 /gsubprocess/terminate 1974s # slow test /gsubprocess/terminate executed in 2.97 secs 1974s ok 16 /gsubprocess/env 1974s ok 17 /gsubprocess/cwd 1974s ok 18 /gsubprocess/launcher-close 1974s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1974s ok 19 /gsubprocess/stdout-file 1974s ok 20 /gsubprocess/stdout-fd 1974s ok 21 /gsubprocess/child-setup 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s ok 22 /gsubprocess/launcher-environment 1974s # Start of exit1 tests 1974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1974s ok 23 /gsubprocess/exit1/cancel 1974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1974s ok 24 /gsubprocess/exit1/cancel_in_cb 1974s # End of exit1 tests 1974s # Start of communicate tests 1974s ok 25 /gsubprocess/communicate/cancelled 1974s ok 26 /gsubprocess/communicate/async 1974s ok 27 /gsubprocess/communicate/utf8 1974s # hello world 1974s ok 28 /gsubprocess/communicate/no-pipes 1974s ok 29 /gsubprocess/communicate/separate-stderr 1974s ok 30 /gsubprocess/communicate/stdout-only 1974s # hello world 1974s ok 31 /gsubprocess/communicate/stderr-only 1974s ok 32 /gsubprocess/communicate/stdout-silence 1974s ok 33 /gsubprocess/communicate/nothing 1974s # Start of async tests 1974s ok 34 /gsubprocess/communicate/async/cancelled 1974s # hello world 1974s ok 35 /gsubprocess/communicate/async/no-pipes 1974s ok 36 /gsubprocess/communicate/async/separate-stderr 1974s ok 37 /gsubprocess/communicate/async/stdout-only 1974s # hello world 1974s ok 38 /gsubprocess/communicate/async/stderr-only 1974s ok 39 /gsubprocess/communicate/async/stdout-silence 1974s # Start of cancelled tests 1974s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1974s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1974s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1974s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1974s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1974s # End of cancelled tests 1974s # End of async tests 1974s # Start of utf8 tests 1974s ok 45 /gsubprocess/communicate/utf8/cancelled 1974s ok 46 /gsubprocess/communicate/utf8/async 1974s # hello world 1974s ok 47 /gsubprocess/communicate/utf8/no-pipes 1974s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1974s ok 49 /gsubprocess/communicate/utf8/stdout-only 1974s # hello world 1974s ok 50 /gsubprocess/communicate/utf8/stderr-only 1974s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1974s ok 52 /gsubprocess/communicate/utf8/invalid 1974s # Start of async tests 1974s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1974s # hello world 1974s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1974s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1974s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1974s # hello world 1974s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1974s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1974s ok 59 /gsubprocess/communicate/utf8/async/invalid 1974s # Start of cancelled tests 1974s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1974s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1974s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1974s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1974s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1974s # End of cancelled tests 1974s # End of async tests 1974s # Start of cancelled tests 1974s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1974s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1974s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1974s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1974s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1974s # End of cancelled tests 1974s # End of utf8 tests 1974s # Start of cancelled tests 1974s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1974s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1974s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1974s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1974s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1974s # End of cancelled tests 1974s # End of communicate tests 1974s # Start of env tests 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1974s ok 75 /gsubprocess/env/inherit 1974s # End of env tests 1974s # Start of pass-fd tests 1974s ok 76 /gsubprocess/pass-fd/basic 1974s ok 77 /gsubprocess/pass-fd/empty-child-setup 1974s ok 78 /gsubprocess/pass-fd/inherit-fds 1974s # End of pass-fd tests 1974s # Start of fd-conflation tests 1974s ok 79 /gsubprocess/fd-conflation/basic 1974s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1974s ok 81 /gsubprocess/fd-conflation/inherit-fds 1974s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1974s # End of fd-conflation tests 1974s # Start of exit-status tests 1974s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1974s ok 83 /gsubprocess/exit-status/trapped 1974s # End of exit-status tests 1974s # End of gsubprocess tests 1974s ok - glib/gsubprocess.test 1974s # Running test: glib/properties-refcount3.test 1974s TAP version 14 1974s # random seed: R02Sa0b40f70def81e09ede2c969a92a483f 1974s 1..1 1974s # Start of gobject tests 1974s # Start of refcount tests 1975s # Executing: glib/properties-refcount3.test 1980s # Executing: glib/properties-refcount3.test 1985s # Executing: glib/properties-refcount3.test 1990s # Executing: glib/properties-refcount3.test 1995s # Executing: glib/properties-refcount3.test 2000s # Executing: glib/properties-refcount3.test 2004s # 2004s # stopping 2004s # 2004s # stopped 2004s # 2004s # 20553113 26190 2004s # 2004s ok 1 /gobject/refcount/properties-3 2004s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 2004s # End of refcount tests 2004s # End of gobject tests 2004s ok - glib/properties-refcount3.test 2004s # Running test: glib/struct-info.test 2004s TAP version 14 2004s # random seed: R02Sbfe217cd5e3a1322423272250a0b8933 2004s 1..4 2004s # Start of struct-info tests 2004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/home 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/cache 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/system-config2 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/config 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/system-data2 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/data 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/state 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S4SNX2/struct-info/field-iterators/.dirs/runtime 2004s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2004s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 2004s ok 1 /struct-info/field-iterators 2004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/home 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/cache 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/system-config2 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/config 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/system-data2 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/data 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/state 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S4SNX2/struct-info/sizeof-gvalue/.dirs/runtime 2004s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2004s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 2004s ok 2 /struct-info/sizeof-gvalue 2004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 2004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S4SNX2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 2004s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2004s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 2005s ok 3 /struct-info/is-pointer-for-struct-method-arg 2005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/home 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/cache 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/system-config2 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/config 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/system-data2 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/data 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/state 2005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_S4SNX2/struct-info/boxed/.dirs/runtime 2005s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2005s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 2005s ok 4 /struct-info/boxed 2005s # End of struct-info tests 2005s ok - glib/struct-info.test 2005s # Running test: glib/timeout.test 2005s TAP version 14 2005s # random seed: R02Se688719d6de731bc72c72dc7b990d038 2005s 1..5 2005s # Start of timeout tests 2005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2005s # Executing: glib/timeout.test 2007s ok 1 /timeout/seconds 2007s # slow test /timeout/seconds executed in 2.10 secs 2009s ok 2 /timeout/seconds-once 2009s # slow test /timeout/seconds-once executed in 2.10 secs 2009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2010s # Executing: glib/timeout.test 2011s ok 3 /timeout/weeks-overflow 2011s # slow test /timeout/weeks-overflow executed in 2.10 secs 2011s ok 4 /timeout/far-future-ready-time 2015s # Executing: glib/timeout.test 2020s # Executing: glib/timeout.test 2021s ok 5 /timeout/rounding 2021s # slow test /timeout/rounding executed in 10.61 secs 2021s # End of timeout tests 2021s ok - glib/timeout.test 2021s # Running test: glib/mutex.test 2021s TAP version 14 2021s # random seed: R02Sec58ed8cfaf3231cb208403e1847dcb4 2021s 1..17 2021s # Start of thread tests 2021s ok 1 /thread/mutex1 2021s ok 2 /thread/mutex2 2021s ok 3 /thread/mutex3 2021s ok 4 /thread/mutex4 2025s # Executing: glib/mutex.test 2028s ok 5 /thread/mutex5 2028s # slow test /thread/mutex5 executed in 6.36 secs 2028s # Start of mutex tests 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2028s ok 6 /thread/mutex/errno 2028s # Start of perf tests 2028s # max perf: inf mips 2028s ok 7 /thread/mutex/perf/uncontended 2028s # Start of contended tests 2028s # max perf: inf mips 2028s ok 8 /thread/mutex/perf/contended/1 2028s # max perf: inf mips 2028s ok 9 /thread/mutex/perf/contended/2 2028s # max perf: 4.000000 mips 2028s ok 10 /thread/mutex/perf/contended/3 2028s # max perf: 2.500000 mips 2028s ok 11 /thread/mutex/perf/contended/4 2028s # max perf: 3.000000 mips 2028s ok 12 /thread/mutex/perf/contended/5 2028s # max perf: 3.500000 mips 2028s ok 13 /thread/mutex/perf/contended/6 2028s # max perf: 4.000000 mips 2028s ok 14 /thread/mutex/perf/contended/7 2028s # max perf: 4.500000 mips 2028s ok 15 /thread/mutex/perf/contended/8 2028s # max perf: 5.000000 mips 2028s ok 16 /thread/mutex/perf/contended/9 2028s # max perf: 5.500000 mips 2028s ok 17 /thread/mutex/perf/contended/10 2028s # End of contended tests 2028s # End of perf tests 2028s # End of mutex tests 2028s # End of thread tests 2028s ok - glib/mutex.test 2028s # Running test: glib/cxx-11.test 2028s TAP version 14 2028s # random seed: R02Sff815be596337a81782faa11ac0d0c75 2028s 1..2 2028s # Start of gtask tests 2028s # 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. 2028s ok 1 /gtask/name 2028s # Start of name tests 2028s # 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. 2028s ok 2 /gtask/name/macro-wrapper 2028s # End of name tests 2028s # End of gtask tests 2028s ok - glib/cxx-11.test 2028s # Running test: glib/qdata.test 2028s TAP version 14 2028s # random seed: R02S9e7bda0a498833d65895099a43843ab4 2028s 1..2 2028s # Start of qdata tests 2028s ok 1 /qdata/threaded 2028s ok 2 /qdata/dup 2028s # End of qdata tests 2028s ok - glib/qdata.test 2028s # Running test: glib/signals-refcount2.test 2028s TAP version 14 2028s # random seed: R02S037bc5d0c5404e9c08dd15ebcc0a78c7 2028s 1..1 2028s # Start of gobject tests 2028s # Start of refcount tests 2028s # init 0x60ce44d99420 2028s # 2028s # init 0x60ce44d995c0 2028s # 2030s # Executing: glib/signals-refcount2.test 2033s # dispose 0x60ce44d99420! 2033s # 2033s # dispose 0x60ce44d995c0! 2033s # 2033s ok 1 /gobject/refcount/signals 2033s # slow test /gobject/refcount/signals executed in 5.00 secs 2033s # End of refcount tests 2033s # End of gobject tests 2033s ok - glib/signals-refcount2.test 2033s # Running test: glib/objects-refcount2.test 2033s TAP version 14 2033s # random seed: R02S9e136b5f22ce4005df5ff300b3d12090 2033s 1..1 2033s # Start of gobject tests 2033s # Start of refcount tests 2033s # init 0x64945c518740 2033s # 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2033s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2034s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # Executing: glib/objects-refcount2.test 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2035s # . 2036s # . 2036s # . 2036s # . 2036s # . 2036s # . 2036s # . 2036s # . 2036s # . 2036s # dispose 0x64945c518740! 2036s # 2036s ok 1 /gobject/refcount/object-advanced 2036s # slow test /gobject/refcount/object-advanced executed in 2.27 secs 2036s # End of refcount tests 2036s # End of gobject tests 2036s ok - glib/objects-refcount2.test 2036s # Running test: glib/portal-support-snap-classic.test 2036s TAP version 14 2036s # random seed: R02S4be790c671ec4d98432ba7f7d57681f5 2036s 1..3 2036s # Start of portal-support tests 2036s # Start of snap-classic tests 2036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/home 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/cache 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/config 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/data 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/state 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl/.dirs/runtime 2036s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/no-snapctl: No such file or directory 2036s ok 1 /portal-support/snap-classic/no-snapctl 2036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/home 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/cache 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/system-config2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/config 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/system-data2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/data 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/state 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/runtime 2036s # Created snap.yaml in /tmp/test_portal-support-snap-classic_UV2MX2/meta/snap.yaml 2036s # Created snapctl in /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none/.dirs/runtime/snapctl 2036s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/none: No such file or directory 2036s ok 2 /portal-support/snap-classic/none 2036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/home 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/cache 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/system-config2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/config 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/system-data2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/data 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/state 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/runtime 2036s # Created snap.yaml in /tmp/test_portal-support-snap-classic_UV2MX2/meta/snap.yaml 2036s # Created snapctl in /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all/.dirs/runtime/snapctl 2036s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UV2MX2/portal-support/snap-classic/all: No such file or directory 2036s ok 3 /portal-support/snap-classic/all 2036s # End of snap-classic tests 2036s # End of portal-support tests 2036s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_UV2MX2: No such file or directory 2036s ok - glib/portal-support-snap-classic.test 2036s # Running test: glib/markup-collect.test 2036s TAP version 14 2036s # random seed: R02S27065b024b6173cca25a9505f199a432 2036s 1..21 2036s # Start of markup tests 2036s # Start of collect tests 2036s ok 1 /markup/collect/0 2036s ok 2 /markup/collect/1 2036s ok 3 /markup/collect/2 2036s ok 4 /markup/collect/3 2036s ok 5 /markup/collect/4 2036s ok 6 /markup/collect/5 2036s ok 7 /markup/collect/6 2036s ok 8 /markup/collect/7 2036s ok 9 /markup/collect/8 2036s ok 10 /markup/collect/9 2036s ok 11 /markup/collect/10 2036s ok 12 /markup/collect/11 2036s ok 13 /markup/collect/12 2036s ok 14 /markup/collect/13 2036s ok 15 /markup/collect/14 2036s ok 16 /markup/collect/15 2036s ok 17 /markup/collect/16 2036s ok 18 /markup/collect/17 2036s ok 19 /markup/collect/18 2036s ok 20 /markup/collect/19 2036s ok 21 /markup/collect/cleanup 2036s # End of collect tests 2036s # End of markup tests 2036s ok - glib/markup-collect.test 2036s # Running test: glib/gdbus-non-socket.test 2036s TAP version 14 2036s # random seed: R02S2a4446503779957364c09637a257490a 2036s 1..1 2036s # Start of gdbus tests 2036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/home 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/cache 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/system-config2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/config 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/system-data2 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/data 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/state 2036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_AW97X2/gdbus/non-socket/.dirs/runtime 2036s ok 1 /gdbus/non-socket 2036s # End of gdbus tests 2036s ok - glib/gdbus-non-socket.test 2036s # Running test: glib/base64.test 2036s TAP version 14 2036s # random seed: R02S6c059bded692f69b40e3e7b631de6b40 2036s 1..28 2036s # Start of base64 tests 2036s ok 1 /base64/encode 2036s ok 2 /base64/decode 2036s ok 3 /base64/decode-inplace 2036s ok 4 /base64/encode-decode 2036s # Start of full tests 2036s ok 5 /base64/full/1 2036s ok 6 /base64/full/2 2036s ok 7 /base64/full/3 2036s ok 8 /base64/full/4 2036s # End of full tests 2036s # Start of encode tests 2036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 2036s ok 9 /base64/encode/empty 2036s # Start of incremental tests 2036s # Start of small-block tests 2036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2036s ok 10 /base64/encode/incremental/small-block/1 2036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2036s ok 11 /base64/encode/incremental/small-block/2 2036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2036s ok 12 /base64/encode/incremental/small-block/3 2036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2036s ok 13 /base64/encode/incremental/small-block/4 2036s # End of small-block tests 2036s # End of incremental tests 2036s # End of encode tests 2036s # Start of incremental tests 2036s # Start of nobreak tests 2036s ok 14 /base64/incremental/nobreak/1 2036s ok 15 /base64/incremental/nobreak/2 2036s ok 16 /base64/incremental/nobreak/3 2036s ok 17 /base64/incremental/nobreak/4-a 2036s ok 18 /base64/incremental/nobreak/4-b 2036s ok 19 /base64/incremental/nobreak/4-c 2036s # End of nobreak tests 2036s # Start of break tests 2036s ok 20 /base64/incremental/break/1 2036s ok 21 /base64/incremental/break/2 2036s ok 22 /base64/incremental/break/3 2036s # End of break tests 2036s # Start of smallblock tests 2036s ok 23 /base64/incremental/smallblock/1 2036s ok 24 /base64/incremental/smallblock/2 2036s ok 25 /base64/incremental/smallblock/3 2036s ok 26 /base64/incremental/smallblock/4 2036s # End of smallblock tests 2036s # End of incremental tests 2036s # Start of decode tests 2036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 2036s ok 27 /base64/decode/empty 2036s # End of decode tests 2036s # Start of encode-decode tests 2036s # Vector 0: 2036s # Vector 1: f 2036s # Vector 2: fo 2036s # Vector 3: foo 2036s # Vector 4: foob 2036s # Vector 5: fooba 2036s # Vector 6: foobar 2036s ok 28 /base64/encode-decode/rfc4648 2036s # End of encode-decode tests 2036s # End of base64 tests 2036s ok - glib/base64.test 2036s # Running test: glib/defaultvalue.test 2036s TAP version 14 2036s # random seed: R02S701299108d7912cdfaa7b9f5e5f27c82 2036s 1..84 2036s # Start of Default Values tests 2036s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 2036s ok 2 /Default Values/GAppLaunchContext 2036s ok 3 /Default Values/GApplicationCommandLine 2036s # skipping GApplication:is-remote 2036s ok 4 /Default Values/GApplication 2036s ok 5 /Default Values/GBinding # SKIP mandatory construct params 2036s ok 6 /Default Values/GBindingGroup 2036s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 2036s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 2036s ok 9 /Default Values/GBytesIcon 2036s ok 10 /Default Values/GCancellable 2036s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 2036s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 2036s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 2036s ok 14 /Default Values/GCredentials 2036s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 2036s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 2036s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 2036s ok 18 /Default Values/GDBusAuthObserver 2036s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 2036s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 2036s ok 21 /Default Values/GDBusMessage 2036s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 2036s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 2036s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 2036s ok 25 /Default Values/GDBusObjectProxy 2036s ok 26 /Default Values/GDBusObjectSkeleton 2036s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 2036s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 2036s ok 29 /Default Values/GEmblem 2036s ok 30 /Default Values/GEmblemedIcon 2036s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 2036s ok 32 /Default Values/GFileInfo 2036s ok 33 /Default Values/GFileInputStream 2036s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 2036s ok 35 /Default Values/GFileOutputStream 2036s ok 36 /Default Values/GFilenameCompleter 2036s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 2036s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 2036s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 2036s ok 40 /Default Values/GInitiallyUnowned 2036s ok 41 /Default Values/GIOModule 2036s ok 42 /Default Values/GListStore 2036s ok 43 /Default Values/GMemoryInputStream 2036s ok 44 /Default Values/GMemoryOutputStream 2036s ok 45 /Default Values/GMenu 2036s ok 46 /Default Values/GMenuItem 2036s ok 47 /Default Values/GMountOperation 2036s ok 48 /Default Values/GNativeSocketAddress 2036s ok 49 /Default Values/GNetworkAddress 2036s ok 50 /Default Values/GNetworkService 2036s ok 51 /Default Values/GNotification 2036s ok 52 /Default Values/GObject 2036s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 2036s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2036s # skipping GProxyAddressEnumerator:proxy-resolver 2036s ok 54 /Default Values/GProxyAddressEnumerator 2036s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 2036s ok 56 /Default Values/GSettings # SKIP mandatory construct params 2036s ok 57 /Default Values/GSignalGroup 2036s ok 58 /Default Values/GSimpleAction 2036s ok 59 /Default Values/GSimpleActionGroup 2036s ok 60 /Default Values/GSimpleAsyncResult 2036s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 2036s ok 62 /Default Values/GSimplePermission 2036s ok 63 /Default Values/GSimpleProxyResolver 2036s # skipping GSocketClient:proxy-resolver 2036s ok 64 /Default Values/GSocketClient 2036s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 2036s ok 66 /Default Values/GSocket # SKIP initialization failed 2036s ok 67 /Default Values/GSocketListener 2036s ok 68 /Default Values/GSocketService 2036s ok 69 /Default Values/GSubprocess # SKIP initialization failed 2036s ok 70 /Default Values/GSubprocessLauncher 2036s # GLib-GIO-DEBUG: GTask 0x5b5f2e0bdfb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 2036s ok 71 /Default Values/GTask 2036s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 2036s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 2036s ok 74 /Default Values/GTestDBus 2036s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 2036s ok 76 /Default Values/GThreadedSocketService 2036s ok 77 /Default Values/GTlsInteraction 2036s ok 78 /Default Values/GTlsPassword 2036s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 2036s ok 80 /Default Values/GUnixFDList 2036s ok 81 /Default Values/GVfs 2036s ok 82 /Default Values/GVolumeMonitor 2036s ok 83 /Default Values/GZlibCompressor 2036s ok 84 /Default Values/GZlibDecompressor 2036s # End of Default Values tests 2036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2036s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2036s ok - glib/defaultvalue.test 2036s # Running test: glib/scannerapi.test 2036s TAP version 14 2036s # random seed: R02S36d45d8da6829f94c35ee7fb281d2992 2036s 1..4 2036s # Start of scanner tests 2036s ok 1 /scanner/warn 2036s ok 2 /scanner/error 2036s ok 3 /scanner/symbols 2036s ok 4 /scanner/tokens 2036s # End of scanner tests 2036s ok - glib/scannerapi.test 2036s # Running test: glib/regex.test 2036s TAP version 14 2036s # random seed: R02S210c0e11ddd4edd5cc015850d8761da5 2036s 1..848 2036s # Start of regex tests 2036s ok 1 /regex/properties 2036s ok 2 /regex/class 2036s ok 3 /regex/lookahead 2036s ok 4 /regex/lookbehind 2036s ok 5 /regex/subpattern 2036s ok 6 /regex/condition 2036s ok 7 /regex/recursion 2036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 2036s ok 8 /regex/multiline 2036s ok 9 /regex/explicit-crlf 2036s ok 10 /regex/max-lookbehind 2036s ok 11 /regex/compile-errors 2036s ok 12 /regex/jit-unsupported-matching 2036s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 2036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 2036s ok 13 /regex/unmatched-named-subpattern 2036s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 2036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 2036s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 2036s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 2036s ok 14 /regex/compiled-regex-after-jit-failure 2036s # Start of new tests 2036s ok 15 /regex/new/1 2036s ok 16 /regex/new/2 2036s ok 17 /regex/new/3 2036s ok 18 /regex/new/4 2036s ok 19 /regex/new/5 2036s ok 20 /regex/new/6 2036s ok 21 /regex/new/7 2036s ok 22 /regex/new/8 2036s ok 23 /regex/new/9 2036s ok 24 /regex/new/10 2036s ok 25 /regex/new/11 2036s ok 26 /regex/new/12 2036s ok 27 /regex/new/13 2036s ok 28 /regex/new/14 2036s ok 29 /regex/new/15 2036s ok 30 /regex/new/16 2036s ok 31 /regex/new/17 2036s ok 32 /regex/new/18 2036s ok 33 /regex/new/19 2036s ok 34 /regex/new/71 2036s ok 35 /regex/new/80 2036s ok 36 /regex/new/82 2036s # End of new tests 2036s # Start of new-check-flags tests 2036s ok 37 /regex/new-check-flags/20 2036s ok 38 /regex/new-check-flags/21 2036s ok 39 /regex/new-check-flags/22 2036s ok 40 /regex/new-check-flags/23 2036s ok 41 /regex/new-check-flags/24 2036s ok 42 /regex/new-check-flags/25 2036s ok 43 /regex/new-check-flags/26 2036s ok 44 /regex/new-check-flags/27 2036s ok 45 /regex/new-check-flags/28 2036s ok 46 /regex/new-check-flags/29 2036s ok 47 /regex/new-check-flags/30 2036s ok 48 /regex/new-check-flags/31 2036s ok 49 /regex/new-check-flags/32 2036s ok 50 /regex/new-check-flags/33 2036s ok 51 /regex/new-check-flags/34 2036s ok 52 /regex/new-check-flags/35 2036s ok 53 /regex/new-check-flags/36 2036s # End of new-check-flags tests 2036s # Start of new-fail tests 2036s ok 54 /regex/new-fail/37 2036s ok 55 /regex/new-fail/38 2036s ok 56 /regex/new-fail/39 2036s ok 57 /regex/new-fail/40 2036s ok 58 /regex/new-fail/41 2036s ok 59 /regex/new-fail/42 2036s ok 60 /regex/new-fail/43 2036s ok 61 /regex/new-fail/44 2036s ok 62 /regex/new-fail/45 2036s ok 63 /regex/new-fail/46 2036s ok 64 /regex/new-fail/47 2036s ok 65 /regex/new-fail/48 2036s ok 66 /regex/new-fail/49 2036s ok 67 /regex/new-fail/50 2036s ok 68 /regex/new-fail/51 2036s ok 69 /regex/new-fail/52 2036s ok 70 /regex/new-fail/53 2036s ok 71 /regex/new-fail/54 2036s ok 72 /regex/new-fail/55 2036s ok 73 /regex/new-fail/56 2036s ok 74 /regex/new-fail/57 2036s ok 75 /regex/new-fail/58 2036s ok 76 /regex/new-fail/59 2036s ok 77 /regex/new-fail/60 2036s ok 78 /regex/new-fail/61 2036s ok 79 /regex/new-fail/62 2036s ok 80 /regex/new-fail/63 2036s ok 81 /regex/new-fail/64 2036s ok 82 /regex/new-fail/65 2036s ok 83 /regex/new-fail/66 2036s ok 84 /regex/new-fail/67 2036s ok 85 /regex/new-fail/68 2036s ok 86 /regex/new-fail/69 2036s ok 87 /regex/new-fail/70 2036s ok 88 /regex/new-fail/72 2036s ok 89 /regex/new-fail/73 2036s ok 90 /regex/new-fail/74 2036s ok 91 /regex/new-fail/75 2036s ok 92 /regex/new-fail/76 2036s ok 93 /regex/new-fail/77 2036s ok 94 /regex/new-fail/78 2036s ok 95 /regex/new-fail/79 2036s ok 96 /regex/new-fail/81 2036s ok 97 /regex/new-fail/83 2036s ok 98 /regex/new-fail/84 2036s ok 99 /regex/new-fail/85 2036s ok 100 /regex/new-fail/86 2036s ok 101 /regex/new-fail/87 2036s ok 102 /regex/new-fail/88 2036s ok 103 /regex/new-fail/89 2036s ok 104 /regex/new-fail/90 2036s ok 105 /regex/new-fail/91 2036s # End of new-fail tests 2036s # Start of match-simple tests 2036s ok 106 /regex/match-simple/92 2036s ok 107 /regex/match-simple/93 2036s ok 108 /regex/match-simple/94 2036s ok 109 /regex/match-simple/95 2036s ok 110 /regex/match-simple/96 2036s ok 111 /regex/match-simple/97 2036s ok 112 /regex/match-simple/98 2036s ok 113 /regex/match-simple/99 2036s ok 114 /regex/match-simple/100 2036s ok 115 /regex/match-simple/101 2036s ok 116 /regex/match-simple/102 2036s ok 117 /regex/match-simple/103 2036s ok 118 /regex/match-simple/104 2036s ok 119 /regex/match-simple/105 2036s ok 120 /regex/match-simple/106 2036s ok 121 /regex/match-simple/107 2036s ok 122 /regex/match-simple/108 2036s ok 123 /regex/match-simple/109 2036s ok 124 /regex/match-simple/110 2036s ok 125 /regex/match-simple/111 2036s ok 126 /regex/match-simple/112 2036s ok 127 /regex/match-simple/113 2036s ok 128 /regex/match-simple/114 2036s ok 129 /regex/match-simple/115 2036s ok 130 /regex/match-simple/116 2036s ok 131 /regex/match-simple/117 2036s ok 132 /regex/match-simple/118 2036s ok 133 /regex/match-simple/119 2036s ok 134 /regex/match-simple/120 2036s ok 135 /regex/match-simple/121 2036s ok 136 /regex/match-simple/122 2036s ok 137 /regex/match-simple/123 2036s ok 138 /regex/match-simple/124 2036s ok 139 /regex/match-simple/125 2036s ok 140 /regex/match-simple/126 2036s ok 141 /regex/match-simple/127 2036s ok 142 /regex/match-simple/128 2036s ok 143 /regex/match-simple/129 2036s ok 144 /regex/match-simple/130 2036s ok 145 /regex/match-simple/131 2036s ok 146 /regex/match-simple/132 2036s ok 147 /regex/match-simple/133 2036s ok 148 /regex/match-simple/134 2036s ok 149 /regex/match-simple/135 2036s ok 150 /regex/match-simple/136 2036s ok 151 /regex/match-simple/137 2036s ok 152 /regex/match-simple/138 2036s ok 153 /regex/match-simple/139 2036s ok 154 /regex/match-simple/140 2036s ok 155 /regex/match-simple/141 2036s ok 156 /regex/match-simple/142 2036s ok 157 /regex/match-simple/143 2036s ok 158 /regex/match-simple/144 2036s ok 159 /regex/match-simple/145 2036s ok 160 /regex/match-simple/146 2036s ok 161 /regex/match-simple/147 2036s ok 162 /regex/match-simple/148 2036s ok 163 /regex/match-simple/149 2036s ok 164 /regex/match-simple/150 2036s ok 165 /regex/match-simple/151 2036s ok 166 /regex/match-simple/152 2036s ok 167 /regex/match-simple/153 2036s ok 168 /regex/match-simple/154 2036s ok 169 /regex/match-simple/155 2036s ok 170 /regex/match-simple/156 2036s ok 171 /regex/match-simple/157 2036s ok 172 /regex/match-simple/158 2036s ok 173 /regex/match-simple/159 2036s ok 174 /regex/match-simple/160 2036s ok 175 /regex/match-simple/161 2036s ok 176 /regex/match-simple/162 2036s ok 177 /regex/match-simple/163 2036s ok 178 /regex/match-simple/164 2036s # End of match-simple tests 2036s # Start of match-simple-optimized tests 2036s ok 179 /regex/match-simple-optimized/92 2036s ok 180 /regex/match-simple-optimized/93 2036s ok 181 /regex/match-simple-optimized/94 2036s ok 182 /regex/match-simple-optimized/95 2036s ok 183 /regex/match-simple-optimized/96 2036s ok 184 /regex/match-simple-optimized/97 2036s ok 185 /regex/match-simple-optimized/98 2036s ok 186 /regex/match-simple-optimized/99 2036s ok 187 /regex/match-simple-optimized/100 2036s ok 188 /regex/match-simple-optimized/101 2036s ok 189 /regex/match-simple-optimized/102 2036s ok 190 /regex/match-simple-optimized/103 2036s ok 191 /regex/match-simple-optimized/104 2036s ok 192 /regex/match-simple-optimized/105 2036s ok 193 /regex/match-simple-optimized/106 2036s ok 194 /regex/match-simple-optimized/107 2036s ok 195 /regex/match-simple-optimized/108 2036s ok 196 /regex/match-simple-optimized/109 2036s ok 197 /regex/match-simple-optimized/110 2036s ok 198 /regex/match-simple-optimized/111 2036s ok 199 /regex/match-simple-optimized/112 2036s ok 200 /regex/match-simple-optimized/113 2036s ok 201 /regex/match-simple-optimized/114 2036s ok 202 /regex/match-simple-optimized/115 2036s ok 203 /regex/match-simple-optimized/116 2036s ok 204 /regex/match-simple-optimized/117 2036s ok 205 /regex/match-simple-optimized/118 2036s ok 206 /regex/match-simple-optimized/119 2036s ok 207 /regex/match-simple-optimized/120 2036s ok 208 /regex/match-simple-optimized/121 2036s ok 209 /regex/match-simple-optimized/122 2036s ok 210 /regex/match-simple-optimized/123 2036s ok 211 /regex/match-simple-optimized/124 2036s ok 212 /regex/match-simple-optimized/125 2036s ok 213 /regex/match-simple-optimized/126 2036s ok 214 /regex/match-simple-optimized/127 2036s ok 215 /regex/match-simple-optimized/128 2036s ok 216 /regex/match-simple-optimized/129 2036s ok 217 /regex/match-simple-optimized/130 2036s ok 218 /regex/match-simple-optimized/131 2036s ok 219 /regex/match-simple-optimized/132 2036s ok 220 /regex/match-simple-optimized/133 2036s ok 221 /regex/match-simple-optimized/134 2036s ok 222 /regex/match-simple-optimized/135 2036s ok 223 /regex/match-simple-optimized/136 2036s ok 224 /regex/match-simple-optimized/137 2036s ok 225 /regex/match-simple-optimized/138 2036s ok 226 /regex/match-simple-optimized/139 2036s ok 227 /regex/match-simple-optimized/140 2036s ok 228 /regex/match-simple-optimized/141 2036s ok 229 /regex/match-simple-optimized/142 2036s ok 230 /regex/match-simple-optimized/143 2036s ok 231 /regex/match-simple-optimized/144 2036s ok 232 /regex/match-simple-optimized/145 2036s ok 233 /regex/match-simple-optimized/146 2036s ok 234 /regex/match-simple-optimized/147 2036s ok 235 /regex/match-simple-optimized/148 2036s ok 236 /regex/match-simple-optimized/149 2036s ok 237 /regex/match-simple-optimized/150 2036s ok 238 /regex/match-simple-optimized/151 2036s ok 239 /regex/match-simple-optimized/152 2036s ok 240 /regex/match-simple-optimized/153 2036s ok 241 /regex/match-simple-optimized/154 2036s ok 242 /regex/match-simple-optimized/155 2036s ok 243 /regex/match-simple-optimized/156 2036s ok 244 /regex/match-simple-optimized/157 2036s ok 245 /regex/match-simple-optimized/158 2036s ok 246 /regex/match-simple-optimized/159 2036s ok 247 /regex/match-simple-optimized/160 2036s ok 248 /regex/match-simple-optimized/161 2036s ok 249 /regex/match-simple-optimized/162 2036s ok 250 /regex/match-simple-optimized/163 2036s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 2036s ok 251 /regex/match-simple-optimized/164 2036s # End of match-simple-optimized tests 2036s # Start of match tests 2036s ok 252 /regex/match/165 2036s ok 253 /regex/match/166 2036s ok 254 /regex/match/167 2036s ok 255 /regex/match/168 2036s ok 256 /regex/match/169 2036s ok 257 /regex/match/170 2036s ok 258 /regex/match/171 2036s ok 259 /regex/match/172 2036s ok 260 /regex/match/173 2036s ok 261 /regex/match/174 2036s ok 262 /regex/match/175 2036s ok 263 /regex/match/176 2036s ok 264 /regex/match/177 2036s ok 265 /regex/match/178 2036s ok 266 /regex/match/179 2036s ok 267 /regex/match/180 2036s ok 268 /regex/match/181 2036s ok 269 /regex/match/182 2036s ok 270 /regex/match/183 2036s ok 271 /regex/match/184 2036s ok 272 /regex/match/185 2036s ok 273 /regex/match/186 2036s ok 274 /regex/match/187 2036s ok 275 /regex/match/188 2036s ok 276 /regex/match/189 2036s ok 277 /regex/match/190 2036s ok 278 /regex/match/191 2036s ok 279 /regex/match/192 2036s ok 280 /regex/match/193 2036s ok 281 /regex/match/194 2036s ok 282 /regex/match/195 2036s ok 283 /regex/match/196 2036s ok 284 /regex/match/197 2036s ok 285 /regex/match/198 2036s ok 286 /regex/match/199 2036s ok 287 /regex/match/200 2036s ok 288 /regex/match/201 2036s ok 289 /regex/match/202 2036s ok 290 /regex/match/203 2036s ok 291 /regex/match/204 2036s ok 292 /regex/match/205 2036s ok 293 /regex/match/206 2036s ok 294 /regex/match/207 2036s ok 295 /regex/match/208 2036s ok 296 /regex/match/209 2036s ok 297 /regex/match/210 2036s ok 298 /regex/match/211 2036s ok 299 /regex/match/212 2036s ok 300 /regex/match/213 2036s ok 301 /regex/match/214 2036s ok 302 /regex/match/215 2036s ok 303 /regex/match/216 2036s ok 304 /regex/match/217 2036s ok 305 /regex/match/218 2036s ok 306 /regex/match/219 2036s ok 307 /regex/match/220 2036s ok 308 /regex/match/221 2036s ok 309 /regex/match/222 2036s ok 310 /regex/match/223 2036s ok 311 /regex/match/224 2036s ok 312 /regex/match/225 2036s ok 313 /regex/match/226 2036s ok 314 /regex/match/227 2036s ok 315 /regex/match/228 2036s ok 316 /regex/match/229 2036s ok 317 /regex/match/230 2036s ok 318 /regex/match/231 2036s ok 319 /regex/match/232 2036s ok 320 /regex/match/233 2036s ok 321 /regex/match/234 2036s ok 322 /regex/match/235 2036s ok 323 /regex/match/236 2036s ok 324 /regex/match/237 2036s ok 325 /regex/match/238 2036s ok 326 /regex/match/239 2036s ok 327 /regex/match/240 2036s ok 328 /regex/match/241 2036s ok 329 /regex/match/242 2036s ok 330 /regex/match/243 2036s ok 331 /regex/match/244 2036s ok 332 /regex/match/245 2036s ok 333 /regex/match/246 2036s ok 334 /regex/match/partial281 2036s ok 335 /regex/match/partial282 2036s ok 336 /regex/match/partial283 2036s ok 337 /regex/match/partial284 2036s ok 338 /regex/match/partial285 2036s ok 339 /regex/match/partial286 2036s ok 340 /regex/match/partial287 2036s ok 341 /regex/match/partial288 2036s ok 342 /regex/match/partial289 2036s ok 343 /regex/match/partial290 2036s ok 344 /regex/match/partial291 2036s ok 345 /regex/match/partial292 2036s ok 346 /regex/match/partial293 2036s ok 347 /regex/match/partial294 2036s ok 348 /regex/match/partial295 2036s ok 349 /regex/match/partial296 2036s ok 350 /regex/match/partial297 2036s ok 351 /regex/match/partial298 2036s ok 352 /regex/match/partial299 2036s ok 353 /regex/match/partial300 2036s ok 354 /regex/match/partial301 2036s ok 355 /regex/match/partial302 2036s # Start of next0 tests 2036s ok 356 /regex/match/next0/247 2036s ok 357 /regex/match/next0/248 2036s ok 358 /regex/match/next0/249 2036s ok 359 /regex/match/next0/250 2036s # End of next0 tests 2036s # Start of next1 tests 2036s ok 360 /regex/match/next1/251 2036s ok 361 /regex/match/next1/252 2036s ok 362 /regex/match/next1/253 2036s ok 363 /regex/match/next1/254 2036s ok 364 /regex/match/next1/255 2036s # End of next1 tests 2036s # Start of next2 tests 2036s ok 365 /regex/match/next2/256 2036s ok 366 /regex/match/next2/257 2036s ok 367 /regex/match/next2/258 2036s ok 368 /regex/match/next2/259 2036s ok 369 /regex/match/next2/260 2036s ok 370 /regex/match/next2/261 2036s ok 371 /regex/match/next2/262 2036s ok 372 /regex/match/next2/263 2036s # End of next2 tests 2036s # Start of next3 tests 2036s ok 373 /regex/match/next3/264 2036s ok 374 /regex/match/next3/265 2036s ok 375 /regex/match/next3/266 2036s ok 376 /regex/match/next3/267 2036s ok 377 /regex/match/next3/268 2036s ok 378 /regex/match/next3/269 2036s # End of next3 tests 2036s # Start of next4 tests 2036s ok 379 /regex/match/next4/270 2036s # End of next4 tests 2036s # Start of count tests 2036s ok 380 /regex/match/count/271 2036s ok 381 /regex/match/count/272 2036s ok 382 /regex/match/count/273 2036s ok 383 /regex/match/count/274 2036s ok 384 /regex/match/count/275 2036s ok 385 /regex/match/count/276 2036s ok 386 /regex/match/count/277 2036s ok 387 /regex/match/count/278 2036s ok 388 /regex/match/count/279 2036s ok 389 /regex/match/count/280 2036s # End of count tests 2036s # Start of count-optimized tests 2036s ok 390 /regex/match/count-optimized/271 2036s ok 391 /regex/match/count-optimized/272 2036s ok 392 /regex/match/count-optimized/273 2036s ok 393 /regex/match/count-optimized/274 2036s ok 394 /regex/match/count-optimized/275 2036s ok 395 /regex/match/count-optimized/276 2036s ok 396 /regex/match/count-optimized/277 2036s ok 397 /regex/match/count-optimized/278 2036s ok 398 /regex/match/count-optimized/279 2036s ok 399 /regex/match/count-optimized/280 2036s # End of count-optimized tests 2036s # Start of partial-optimized tests 2036s ok 400 /regex/match/partial-optimized/281 2036s ok 401 /regex/match/partial-optimized/282 2036s ok 402 /regex/match/partial-optimized/283 2036s ok 403 /regex/match/partial-optimized/284 2036s ok 404 /regex/match/partial-optimized/285 2036s ok 405 /regex/match/partial-optimized/286 2036s ok 406 /regex/match/partial-optimized/287 2036s ok 407 /regex/match/partial-optimized/288 2036s ok 408 /regex/match/partial-optimized/289 2036s ok 409 /regex/match/partial-optimized/290 2036s ok 410 /regex/match/partial-optimized/291 2036s ok 411 /regex/match/partial-optimized/292 2036s ok 412 /regex/match/partial-optimized/293 2036s ok 413 /regex/match/partial-optimized/294 2036s ok 414 /regex/match/partial-optimized/295 2036s ok 415 /regex/match/partial-optimized/296 2036s ok 416 /regex/match/partial-optimized/297 2036s ok 417 /regex/match/partial-optimized/298 2036s ok 418 /regex/match/partial-optimized/299 2036s ok 419 /regex/match/partial-optimized/300 2036s ok 420 /regex/match/partial-optimized/301 2036s ok 421 /regex/match/partial-optimized/302 2036s # End of partial-optimized tests 2036s # Start of subpattern tests 2036s ok 422 /regex/match/subpattern/303 2036s ok 423 /regex/match/subpattern/304 2036s ok 424 /regex/match/subpattern/305 2036s ok 425 /regex/match/subpattern/306 2036s ok 426 /regex/match/subpattern/307 2036s ok 427 /regex/match/subpattern/308 2036s ok 428 /regex/match/subpattern/309 2036s ok 429 /regex/match/subpattern/310 2036s ok 430 /regex/match/subpattern/311 2036s ok 431 /regex/match/subpattern/312 2036s ok 432 /regex/match/subpattern/313 2036s ok 433 /regex/match/subpattern/314 2036s ok 434 /regex/match/subpattern/315 2036s # Start of named tests 2036s # Start of dupnames tests 2036s ok 435 /regex/match/subpattern/named/dupnames/325 2036s ok 436 /regex/match/subpattern/named/dupnames/326 2036s ok 437 /regex/match/subpattern/named/dupnames/327 2036s ok 438 /regex/match/subpattern/named/dupnames/328 2036s ok 439 /regex/match/subpattern/named/dupnames/329 2036s # End of dupnames tests 2036s # End of named tests 2036s # End of subpattern tests 2036s # Start of subpattern-optimized tests 2036s ok 440 /regex/match/subpattern-optimized/303 2036s ok 441 /regex/match/subpattern-optimized/304 2036s ok 442 /regex/match/subpattern-optimized/305 2036s ok 443 /regex/match/subpattern-optimized/306 2036s ok 444 /regex/match/subpattern-optimized/307 2036s ok 445 /regex/match/subpattern-optimized/308 2036s ok 446 /regex/match/subpattern-optimized/309 2036s ok 447 /regex/match/subpattern-optimized/310 2036s ok 448 /regex/match/subpattern-optimized/311 2036s ok 449 /regex/match/subpattern-optimized/312 2036s ok 450 /regex/match/subpattern-optimized/313 2036s ok 451 /regex/match/subpattern-optimized/314 2036s ok 452 /regex/match/subpattern-optimized/315 2036s # End of subpattern-optimized tests 2036s # Start of named tests 2036s # Start of subpattern tests 2036s ok 453 /regex/match/named/subpattern/316 2036s ok 454 /regex/match/named/subpattern/317 2036s ok 455 /regex/match/named/subpattern/318 2036s ok 456 /regex/match/named/subpattern/319 2036s ok 457 /regex/match/named/subpattern/320 2036s ok 458 /regex/match/named/subpattern/321 2036s ok 459 /regex/match/named/subpattern/322 2036s ok 460 /regex/match/named/subpattern/323 2036s ok 461 /regex/match/named/subpattern/324 2036s ok 462 /regex/match/named/subpattern/330 2036s ok 463 /regex/match/named/subpattern/331 2036s ok 464 /regex/match/named/subpattern/332 2036s ok 465 /regex/match/named/subpattern/333 2036s ok 466 /regex/match/named/subpattern/334 2036s # End of subpattern tests 2036s # End of named tests 2036s # End of match tests 2036s # Start of match-optimized tests 2036s ok 467 /regex/match-optimized/165 2036s ok 468 /regex/match-optimized/166 2036s ok 469 /regex/match-optimized/167 2036s ok 470 /regex/match-optimized/168 2036s ok 471 /regex/match-optimized/169 2036s ok 472 /regex/match-optimized/170 2036s ok 473 /regex/match-optimized/171 2036s ok 474 /regex/match-optimized/172 2036s ok 475 /regex/match-optimized/173 2036s ok 476 /regex/match-optimized/174 2036s ok 477 /regex/match-optimized/175 2036s ok 478 /regex/match-optimized/176 2036s ok 479 /regex/match-optimized/177 2036s ok 480 /regex/match-optimized/178 2036s ok 481 /regex/match-optimized/179 2036s ok 482 /regex/match-optimized/180 2036s ok 483 /regex/match-optimized/181 2036s ok 484 /regex/match-optimized/182 2036s ok 485 /regex/match-optimized/183 2036s ok 486 /regex/match-optimized/184 2036s ok 487 /regex/match-optimized/185 2036s ok 488 /regex/match-optimized/186 2036s ok 489 /regex/match-optimized/187 2036s ok 490 /regex/match-optimized/188 2036s ok 491 /regex/match-optimized/189 2036s ok 492 /regex/match-optimized/190 2036s ok 493 /regex/match-optimized/191 2036s ok 494 /regex/match-optimized/192 2036s ok 495 /regex/match-optimized/193 2036s ok 496 /regex/match-optimized/194 2036s ok 497 /regex/match-optimized/195 2036s ok 498 /regex/match-optimized/196 2036s ok 499 /regex/match-optimized/197 2036s ok 500 /regex/match-optimized/198 2036s ok 501 /regex/match-optimized/199 2036s ok 502 /regex/match-optimized/200 2036s ok 503 /regex/match-optimized/201 2036s ok 504 /regex/match-optimized/202 2036s ok 505 /regex/match-optimized/203 2036s ok 506 /regex/match-optimized/204 2036s ok 507 /regex/match-optimized/205 2036s ok 508 /regex/match-optimized/206 2036s ok 509 /regex/match-optimized/207 2036s ok 510 /regex/match-optimized/208 2036s ok 511 /regex/match-optimized/209 2036s ok 512 /regex/match-optimized/210 2036s ok 513 /regex/match-optimized/211 2036s ok 514 /regex/match-optimized/212 2036s ok 515 /regex/match-optimized/213 2036s ok 516 /regex/match-optimized/214 2036s ok 517 /regex/match-optimized/215 2036s ok 518 /regex/match-optimized/216 2036s ok 519 /regex/match-optimized/217 2036s ok 520 /regex/match-optimized/218 2036s ok 521 /regex/match-optimized/219 2036s ok 522 /regex/match-optimized/220 2036s ok 523 /regex/match-optimized/221 2036s ok 524 /regex/match-optimized/222 2036s ok 525 /regex/match-optimized/223 2036s ok 526 /regex/match-optimized/224 2036s ok 527 /regex/match-optimized/225 2036s ok 528 /regex/match-optimized/226 2036s ok 529 /regex/match-optimized/227 2036s ok 530 /regex/match-optimized/228 2036s ok 531 /regex/match-optimized/229 2036s ok 532 /regex/match-optimized/230 2036s ok 533 /regex/match-optimized/231 2036s ok 534 /regex/match-optimized/232 2036s ok 535 /regex/match-optimized/233 2036s ok 536 /regex/match-optimized/234 2036s ok 537 /regex/match-optimized/235 2036s ok 538 /regex/match-optimized/236 2036s ok 539 /regex/match-optimized/237 2036s ok 540 /regex/match-optimized/238 2036s ok 541 /regex/match-optimized/239 2036s ok 542 /regex/match-optimized/240 2036s ok 543 /regex/match-optimized/241 2036s ok 544 /regex/match-optimized/242 2036s ok 545 /regex/match-optimized/243 2036s ok 546 /regex/match-optimized/244 2036s ok 547 /regex/match-optimized/245 2036s ok 548 /regex/match-optimized/246 2036s # End of match-optimized tests 2036s # Start of fetch-all0 tests 2036s ok 549 /regex/fetch-all0/335 2036s ok 550 /regex/fetch-all0/336 2036s # End of fetch-all0 tests 2036s # Start of fetch-all1 tests 2036s ok 551 /regex/fetch-all1/337 2036s ok 552 /regex/fetch-all1/338 2036s ok 553 /regex/fetch-all1/339 2036s # End of fetch-all1 tests 2036s # Start of fetch-all2 tests 2036s ok 554 /regex/fetch-all2/340 2036s ok 555 /regex/fetch-all2/341 2036s ok 556 /regex/fetch-all2/342 2036s # End of fetch-all2 tests 2036s # Start of fetch-all3 tests 2036s ok 557 /regex/fetch-all3/343 2036s ok 558 /regex/fetch-all3/344 2036s ok 559 /regex/fetch-all3/345 2036s ok 560 /regex/fetch-all3/346 2036s ok 561 /regex/fetch-all3/347 2036s # End of fetch-all3 tests 2036s # Start of split tests 2036s # Start of simple0 tests 2036s ok 562 /regex/split/simple0/348 2036s ok 563 /regex/split/simple0/349 2036s ok 564 /regex/split/simple0/364 2036s ok 565 /regex/split/simple0/365 2036s # End of simple0 tests 2036s # Start of simple1 tests 2036s ok 566 /regex/split/simple1/350 2036s ok 567 /regex/split/simple1/351 2036s # End of simple1 tests 2036s # Start of simple2 tests 2036s ok 568 /regex/split/simple2/352 2036s ok 569 /regex/split/simple2/358 2036s ok 570 /regex/split/simple2/360 2036s # End of simple2 tests 2036s # Start of simple3 tests 2036s ok 571 /regex/split/simple3/353 2036s ok 572 /regex/split/simple3/354 2036s ok 573 /regex/split/simple3/355 2036s ok 574 /regex/split/simple3/356 2036s ok 575 /regex/split/simple3/357 2036s ok 576 /regex/split/simple3/359 2036s ok 577 /regex/split/simple3/361 2036s ok 578 /regex/split/simple3/362 2036s ok 579 /regex/split/simple3/363 2036s # End of simple3 tests 2036s # End of split tests 2036s # Start of split0 tests 2036s ok 580 /regex/split0/366 2036s ok 581 /regex/split0/368 2036s # End of split0 tests 2036s # Start of full-split0 tests 2036s ok 582 /regex/full-split0/367 2036s ok 583 /regex/full-split0/369 2036s ok 584 /regex/full-split0/370 2036s ok 585 /regex/full-split0/371 2036s ok 586 /regex/full-split0/372 2036s # End of full-split0 tests 2036s # Start of split1 tests 2036s ok 587 /regex/split1/373 2036s ok 588 /regex/split1/376 2036s # End of split1 tests 2036s # Start of full-split1 tests 2036s ok 589 /regex/full-split1/374 2036s ok 590 /regex/full-split1/375 2036s ok 591 /regex/full-split1/377 2036s ok 592 /regex/full-split1/378 2036s ok 593 /regex/full-split1/404 2036s # End of full-split1 tests 2036s # Start of split2 tests 2036s ok 594 /regex/split2/379 2036s ok 595 /regex/split2/383 2036s ok 596 /regex/split2/395 2036s # End of split2 tests 2036s # Start of full-split2 tests 2036s ok 597 /regex/full-split2/380 2036s ok 598 /regex/full-split2/381 2036s ok 599 /regex/full-split2/382 2036s ok 600 /regex/full-split2/384 2036s ok 601 /regex/full-split2/396 2036s ok 602 /regex/full-split2/399 2036s ok 603 /regex/full-split2/405 2036s # End of full-split2 tests 2036s # Start of split3 tests 2036s ok 604 /regex/split3/385 2036s ok 605 /regex/split3/387 2036s ok 606 /regex/split3/389 2036s ok 607 /regex/split3/391 2036s ok 608 /regex/split3/393 2036s ok 609 /regex/split3/397 2036s ok 610 /regex/split3/400 2036s ok 611 /regex/split3/402 2036s # End of split3 tests 2036s # Start of full-split3 tests 2036s ok 612 /regex/full-split3/386 2036s ok 613 /regex/full-split3/388 2036s ok 614 /regex/full-split3/390 2036s ok 615 /regex/full-split3/392 2036s ok 616 /regex/full-split3/394 2036s ok 617 /regex/full-split3/398 2036s ok 618 /regex/full-split3/401 2036s ok 619 /regex/full-split3/403 2036s ok 620 /regex/full-split3/406 2036s ok 621 /regex/full-split3/407 2036s # End of full-split3 tests 2036s # Start of check-repacement tests 2036s ok 622 /regex/check-repacement/408 2036s ok 623 /regex/check-repacement/409 2036s ok 624 /regex/check-repacement/410 2036s ok 625 /regex/check-repacement/411 2036s ok 626 /regex/check-repacement/412 2036s ok 627 /regex/check-repacement/413 2036s ok 628 /regex/check-repacement/414 2036s ok 629 /regex/check-repacement/415 2036s # End of check-repacement tests 2036s # Start of expand tests 2036s ok 630 /regex/expand/416 2036s ok 631 /regex/expand/417 2036s ok 632 /regex/expand/418 2036s ok 633 /regex/expand/419 2036s ok 634 /regex/expand/420 2036s ok 635 /regex/expand/421 2036s ok 636 /regex/expand/422 2036s ok 637 /regex/expand/423 2036s ok 638 /regex/expand/424 2036s ok 639 /regex/expand/425 2036s ok 640 /regex/expand/426 2036s ok 641 /regex/expand/427 2036s ok 642 /regex/expand/428 2036s ok 643 /regex/expand/429 2036s ok 644 /regex/expand/430 2036s ok 645 /regex/expand/431 2036s ok 646 /regex/expand/432 2036s ok 647 /regex/expand/433 2036s ok 648 /regex/expand/434 2036s ok 649 /regex/expand/435 2036s ok 650 /regex/expand/436 2036s ok 651 /regex/expand/437 2036s ok 652 /regex/expand/438 2036s ok 653 /regex/expand/439 2036s ok 654 /regex/expand/440 2036s ok 655 /regex/expand/441 2036s ok 656 /regex/expand/442 2036s ok 657 /regex/expand/443 2036s ok 658 /regex/expand/444 2036s ok 659 /regex/expand/445 2036s ok 660 /regex/expand/446 2036s ok 661 /regex/expand/447 2036s ok 662 /regex/expand/448 2036s ok 663 /regex/expand/449 2036s ok 664 /regex/expand/450 2036s ok 665 /regex/expand/451 2036s ok 666 /regex/expand/452 2036s ok 667 /regex/expand/453 2036s ok 668 /regex/expand/454 2036s ok 669 /regex/expand/455 2036s ok 670 /regex/expand/456 2036s ok 671 /regex/expand/457 2036s ok 672 /regex/expand/458 2036s ok 673 /regex/expand/459 2036s ok 674 /regex/expand/460 2036s ok 675 /regex/expand/461 2036s ok 676 /regex/expand/462 2036s ok 677 /regex/expand/463 2036s ok 678 /regex/expand/464 2036s ok 679 /regex/expand/465 2036s ok 680 /regex/expand/466 2036s ok 681 /regex/expand/467 2036s ok 682 /regex/expand/468 2036s ok 683 /regex/expand/469 2036s ok 684 /regex/expand/470 2036s ok 685 /regex/expand/471 2036s ok 686 /regex/expand/472 2036s ok 687 /regex/expand/473 2036s ok 688 /regex/expand/474 2036s ok 689 /regex/expand/475 2036s ok 690 /regex/expand/476 2036s ok 691 /regex/expand/477 2036s ok 692 /regex/expand/478 2036s ok 693 /regex/expand/479 2036s ok 694 /regex/expand/480 2036s ok 695 /regex/expand/481 2036s # End of expand tests 2036s # Start of replace tests 2036s ok 696 /regex/replace/482 2036s ok 697 /regex/replace/483 2036s ok 698 /regex/replace/484 2036s ok 699 /regex/replace/485 2036s ok 700 /regex/replace/486 2036s ok 701 /regex/replace/487 2036s ok 702 /regex/replace/488 2036s ok 703 /regex/replace/489 2036s ok 704 /regex/replace/490 2036s ok 705 /regex/replace/491 2036s ok 706 /regex/replace/492 2036s ok 707 /regex/replace/493 2036s ok 708 /regex/replace/494 2036s ok 709 /regex/replace/495 2036s ok 710 /regex/replace/496 2036s ok 711 /regex/replace/497 2036s ok 712 /regex/replace/498 2036s ok 713 /regex/replace/499 2036s ok 714 /regex/replace/500 2036s ok 715 /regex/replace/501 2036s ok 716 /regex/replace/502 2036s ok 717 /regex/replace/503 2036s ok 718 /regex/replace/504 2036s ok 719 /regex/replace/505 2036s ok 720 /regex/replace/506 2036s ok 721 /regex/replace/507 2036s ok 722 /regex/replace/508 2036s ok 723 /regex/replace/509 2036s # End of replace tests 2036s # Start of replace-optimized tests 2036s ok 724 /regex/replace-optimized/482 2036s ok 725 /regex/replace-optimized/483 2036s ok 726 /regex/replace-optimized/484 2036s ok 727 /regex/replace-optimized/485 2036s ok 728 /regex/replace-optimized/486 2036s ok 729 /regex/replace-optimized/487 2036s ok 730 /regex/replace-optimized/488 2036s ok 731 /regex/replace-optimized/489 2036s ok 732 /regex/replace-optimized/490 2036s ok 733 /regex/replace-optimized/491 2036s ok 734 /regex/replace-optimized/492 2036s ok 735 /regex/replace-optimized/493 2036s ok 736 /regex/replace-optimized/494 2036s ok 737 /regex/replace-optimized/495 2036s ok 738 /regex/replace-optimized/496 2036s ok 739 /regex/replace-optimized/497 2036s ok 740 /regex/replace-optimized/498 2036s ok 741 /regex/replace-optimized/499 2036s ok 742 /regex/replace-optimized/500 2036s ok 743 /regex/replace-optimized/501 2036s ok 744 /regex/replace-optimized/502 2036s ok 745 /regex/replace-optimized/503 2036s ok 746 /regex/replace-optimized/504 2036s ok 747 /regex/replace-optimized/505 2036s ok 748 /regex/replace-optimized/506 2036s ok 749 /regex/replace-optimized/507 2036s ok 750 /regex/replace-optimized/508 2036s ok 751 /regex/replace-optimized/509 2036s # End of replace-optimized tests 2036s # Start of replace-literally tests 2036s ok 752 /regex/replace-literally/510 2036s ok 753 /regex/replace-literally/511 2036s ok 754 /regex/replace-literally/512 2036s ok 755 /regex/replace-literally/513 2036s ok 756 /regex/replace-literally/514 2036s ok 757 /regex/replace-literally/515 2036s ok 758 /regex/replace-literally/516 2036s ok 759 /regex/replace-literally/517 2036s ok 760 /regex/replace-literally/518 2036s ok 761 /regex/replace-literally/519 2036s ok 762 /regex/replace-literally/520 2036s ok 763 /regex/replace-literally/521 2036s ok 764 /regex/replace-literally/522 2036s ok 765 /regex/replace-literally/523 2036s ok 766 /regex/replace-literally/524 2036s ok 767 /regex/replace-literally/525 2036s ok 768 /regex/replace-literally/526 2036s ok 769 /regex/replace-literally/527 2036s ok 770 /regex/replace-literally/528 2036s ok 771 /regex/replace-literally/529 2036s # End of replace-literally tests 2036s # Start of string-number tests 2036s ok 772 /regex/string-number/530 2036s ok 773 /regex/string-number/531 2036s ok 774 /regex/string-number/532 2036s ok 775 /regex/string-number/533 2036s ok 776 /regex/string-number/534 2036s ok 777 /regex/string-number/535 2036s ok 778 /regex/string-number/536 2036s ok 779 /regex/string-number/537 2036s ok 780 /regex/string-number/538 2036s ok 781 /regex/string-number/539 2036s ok 782 /regex/string-number/540 2036s ok 783 /regex/string-number/541 2036s ok 784 /regex/string-number/542 2036s ok 785 /regex/string-number/543 2036s ok 786 /regex/string-number/544 2036s # End of string-number tests 2036s # Start of escape_nul tests 2036s ok 787 /regex/escape_nul/545 2036s ok 788 /regex/escape_nul/546 2036s ok 789 /regex/escape_nul/547 2036s ok 790 /regex/escape_nul/548 2036s ok 791 /regex/escape_nul/549 2036s ok 792 /regex/escape_nul/550 2036s ok 793 /regex/escape_nul/551 2036s ok 794 /regex/escape_nul/552 2036s ok 795 /regex/escape_nul/553 2036s ok 796 /regex/escape_nul/554 2036s ok 797 /regex/escape_nul/555 2036s ok 798 /regex/escape_nul/556 2036s ok 799 /regex/escape_nul/557 2036s ok 800 /regex/escape_nul/558 2036s ok 801 /regex/escape_nul/559 2036s # End of escape_nul tests 2036s # Start of escape tests 2036s ok 802 /regex/escape/560 2036s ok 803 /regex/escape/561 2036s ok 804 /regex/escape/562 2036s ok 805 /regex/escape/563 2036s ok 806 /regex/escape/564 2036s ok 807 /regex/escape/565 2036s ok 808 /regex/escape/566 2036s ok 809 /regex/escape/567 2036s ok 810 /regex/escape/568 2036s ok 811 /regex/escape/569 2036s ok 812 /regex/escape/570 2036s ok 813 /regex/escape/571 2036s ok 814 /regex/escape/572 2036s ok 815 /regex/escape/573 2036s ok 816 /regex/escape/574 2036s ok 817 /regex/escape/575 2036s ok 818 /regex/escape/576 2036s ok 819 /regex/escape/577 2036s # End of escape tests 2036s # Start of match-all0 tests 2036s ok 820 /regex/match-all0/578 2036s ok 821 /regex/match-all0/580 2036s # End of match-all0 tests 2036s # Start of match-all-full0 tests 2036s ok 822 /regex/match-all-full0/579 2036s ok 823 /regex/match-all-full0/581 2036s ok 824 /regex/match-all-full0/582 2036s ok 825 /regex/match-all-full0/583 2036s # End of match-all-full0 tests 2036s # Start of match-all1 tests 2036s ok 826 /regex/match-all1/584 2036s ok 827 /regex/match-all1/586 2036s ok 828 /regex/match-all1/591 2036s # End of match-all1 tests 2036s # Start of match-all-full1 tests 2036s ok 829 /regex/match-all-full1/585 2036s ok 830 /regex/match-all-full1/587 2036s ok 831 /regex/match-all-full1/588 2036s ok 832 /regex/match-all-full1/589 2036s ok 833 /regex/match-all-full1/590 2036s ok 834 /regex/match-all-full1/592 2036s # End of match-all-full1 tests 2036s # Start of match-all2 tests 2036s ok 835 /regex/match-all2/593 2036s ok 836 /regex/match-all2/595 2036s ok 837 /regex/match-all2/597 2036s # End of match-all2 tests 2036s # Start of match-all-full2 tests 2036s ok 838 /regex/match-all-full2/594 2036s ok 839 /regex/match-all-full2/596 2036s ok 840 /regex/match-all-full2/598 2036s # End of match-all-full2 tests 2036s # Start of match-all3 tests 2036s ok 841 /regex/match-all3/599 2036s ok 842 /regex/match-all3/601 2036s # End of match-all3 tests 2036s # Start of match-all-full3 tests 2036s ok 843 /regex/match-all-full3/600 2036s ok 844 /regex/match-all-full3/602 2036s # End of match-all-full3 tests 2036s # Start of match-notempty tests 2036s ok 845 /regex/match-notempty/603 2036s # End of match-notempty tests 2036s # Start of match-notempty-optimized tests 2036s ok 846 /regex/match-notempty-optimized/603 2036s # End of match-notempty-optimized tests 2036s # Start of match-notempty-atstart tests 2036s ok 847 /regex/match-notempty-atstart/604 2036s # End of match-notempty-atstart tests 2036s # Start of match-notempty-atstart-optimized tests 2036s ok 848 /regex/match-notempty-atstart-optimized/604 2036s # End of match-notempty-atstart-optimized tests 2036s # End of regex tests 2036s ok - glib/regex.test 2036s # Running test: glib/network-monitor-race.test 2036s TAP version 14 2036s # random seed: R02S7f13992e8b81c5460d361a148034105b 2036s 1..1 2036s # Start of network-monitor tests 2036s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 2038s ok 1 /network-monitor/create-in-thread 2038s # slow test /network-monitor/create-in-thread executed in 2.16 secs 2038s # End of network-monitor tests 2038s ok - glib/network-monitor-race.test 2038s # Running test: glib/search-utils.test 2038s TAP version 14 2038s # random seed: R02S4da4dc8d448558b27b38dca03febf7cc 2038s # GLib-DEBUG: Current user locale: C.UTF-8 2038s 1..6 2038s # Start of search tests 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 2038s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 2038s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 2038s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 2038s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 2038s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 2038s ok 1 /search/basic 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 2038s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 2038s # GLib-DEBUG: 'ele' - 'élève' should match: OK 2038s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 2038s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 2038s ok 2 /search/composed 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 2038s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 2038s ok 3 /search/decomposed 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 2038s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 2038s ok 4 /search/turkish 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 2038s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 2038s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 2038s ok 5 /search/c_locale_unicode 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 2038s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 2038s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 2038s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 2038s ok 6 /search/multi_words 2038s # End of search tests 2038s ok - glib/search-utils.test 2038s # Running test: glib/convert.test 2038s TAP version 14 2038s # random seed: R02S7e0d4e47fb7948c86c3e7908a549d0a2 2038s 1..14 2038s # Start of conversion tests 2038s ok 1 /conversion/no-conv 2038s ok 2 /conversion/iconv-state 2038s ok 3 /conversion/illegal-sequence 2038s ok 4 /conversion/byte-order 2038s ok 5 /conversion/unicode 2038s ok 6 /conversion/filename-utf8 2038s ok 7 /conversion/filename-display 2038s ok 8 /conversion/convert-embedded-nul 2038s # Start of locale-to-utf8 tests 2038s ok 9 /conversion/locale-to-utf8/embedded-nul 2038s # Start of embedded-nul tests 2038s # Start of subprocess tests 2038s # End of subprocess tests 2038s # End of embedded-nul tests 2038s # End of locale-to-utf8 tests 2038s # Start of locale-from-utf8 tests 2038s ok 10 /conversion/locale-from-utf8/embedded-nul 2038s # Start of embedded-nul tests 2038s # Start of subprocess tests 2038s # End of subprocess tests 2038s # End of embedded-nul tests 2038s # End of locale-from-utf8 tests 2038s # Start of filename-to-utf8 tests 2038s ok 11 /conversion/filename-to-utf8/embedded-nul 2038s # Start of embedded-nul tests 2038s # Start of subprocess tests 2038s # End of subprocess tests 2038s # End of embedded-nul tests 2038s # End of filename-to-utf8 tests 2038s # Start of filename-from-utf8 tests 2038s ok 12 /conversion/filename-from-utf8/embedded-nul 2038s # Start of embedded-nul tests 2038s # Start of subprocess tests 2038s # End of subprocess tests 2038s # End of embedded-nul tests 2038s # End of filename-from-utf8 tests 2038s # Start of filename-from-uri tests 2038s ok 13 /conversion/filename-from-uri/query-is-ignored 2038s ok 14 /conversion/filename-from-uri/fragment-is-ignored 2038s # End of filename-from-uri tests 2038s # End of conversion tests 2038s ok - glib/convert.test 2038s # Running test: glib/macros-c-17.test 2038s TAP version 14 2038s # random seed: R02Sedc236f94570aa77ce6664f8c26c325f 2038s 1..4 2038s # Start of C tests 2038s ok 1 /C/standard-17 2038s # End of C tests 2038s # Start of alignof tests 2038s ok 2 /alignof/fallback 2038s # End of alignof tests 2038s # Start of assert tests 2038s ok 3 /assert/static 2038s # End of assert tests 2038s # Start of struct tests 2038s ok 4 /struct/sizeof_member 2038s # End of struct tests 2038s ok - glib/macros-c-17.test 2038s # Running test: glib/io-stream.test 2038s TAP version 14 2038s # random seed: R02S424e773230e80cd87067bccb76f716f9 2038s 1..3 2038s # Start of io-stream tests 2038s ok 1 /io-stream/copy-chunks 2038s # Start of close tests 2038s # Start of async tests 2038s ok 2 /io-stream/close/async/memory 2038s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2038s ok 3 /io-stream/close/async/file 2038s # End of async tests 2038s # End of close tests 2038s # End of io-stream tests 2038s ok - glib/io-stream.test 2038s # Running test: glib/sequence.test 2038s TAP version 14 2038s # random seed: R02Sfbf93c62c059f2400209e5cc5ff5bd01 2038s 1..16 2038s # Start of sequence tests 2038s ok 1 /sequence/out-of-range-jump 2038s ok 2 /sequence/iter-move 2038s ok 3 /sequence/insert-sorted-non-pointer 2038s ok 4 /sequence/stable-sort 2038s ok 5 /sequence/is_empty 2038s # Start of random tests 2039s ok 6 /sequence/random/seed:825541564 2039s ok 7 /sequence/random/seed:801678400 2040s ok 8 /sequence/random/seed:1477639090 2040s # slow test /sequence/random/seed:1477639090 executed in 0.55 secs 2040s ok 9 /sequence/random/seed:3369132895 2040s # Executing: glib/sequence.test 2041s ok 10 /sequence/random/seed:1192944867 2041s ok 11 /sequence/random/seed:770458294 2042s ok 12 /sequence/random/seed:1099575817 2042s # slow test /sequence/random/seed:1099575817 executed in 0.50 secs 2042s ok 13 /sequence/random/seed:590523467 2042s # slow test /sequence/random/seed:590523467 executed in 0.62 secs 2043s ok 14 /sequence/random/seed:3583571454 2043s ok 15 /sequence/random/seed:579241222 2044s ok 16 /sequence/random/seed:859927246 2044s # End of random tests 2044s # End of sequence tests 2044s ok - glib/sequence.test 2044s # Running test: glib/g-file-info.test 2044s TAP version 14 2044s # random seed: R02Sdc48c085b43903fb57b2f30c230e3f8f 2044s 1..6 2044s # Start of g-file-info tests 2044s ok 1 /g-file-info/test_g_file_info 2044s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 2044s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2044s ok 2 /g-file-info/xattrs 2044s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 2044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 2044s ok 3 /g-file-info/set-modified-date-time-precision 2044s # Start of test_g_file_info tests 2044s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 2044s ok 4 /g-file-info/test_g_file_info/modification-time 2044s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 2044s ok 5 /g-file-info/test_g_file_info/access-time 2044s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 2044s ok 6 /g-file-info/test_g_file_info/creation-time 2044s # End of test_g_file_info tests 2044s # End of g-file-info tests 2044s ok - glib/g-file-info.test 2044s # Running test: glib/refstring.test 2044s TAP version 14 2044s # random seed: R02Sa5db2fc1660d349323129476ded376d5 2044s 1..6 2044s # Start of refstring tests 2044s # s = 'hello, world' (0x602538c5c3b0) 2044s ok 1 /refstring/base 2044s ok 2 /refstring/length 2044s ok 3 /refstring/length-auto 2044s ok 4 /refstring/length-nuls 2044s # s = 'hello, world' (0x602538c5c300) 2044s # p = s = 'hello, world' (0x602538c5c300) 2044s # releasing p[0x602538c5c300] ('hello, world') 2044s # p = 'goodbye, world' (0x602538c5c3b0) 2044s # releasing p[0x602538c5c3b0] ('goodbye, world') 2044s # releasing s[0x602538c5c300] ('hello, world') 2044s ok 5 /refstring/intern 2044s ok 6 /refstring/intern-thread-safety 2044s # slow test /refstring/intern-thread-safety executed in 0.75 secs 2044s # End of refstring tests 2044s ok - glib/refstring.test 2044s # Running test: glib/atomic-c-17.test 2044s TAP version 14 2044s # random seed: R02S6de1cf149d1a1645ab02896e8e0464bd 2044s 1..2 2044s # Start of atomic tests 2044s ok 1 /atomic/types 2045s ok 2 /atomic/threaded 2045s # End of atomic tests 2045s ok - glib/atomic-c-17.test 2045s # Running test: glib/data-output-stream.test 2045s TAP version 14 2045s # random seed: R02Se0e1101cafeecd4b68872d61d293792e 2045s 1..7 2045s # Start of data-output-stream tests 2045s ok 1 /data-output-stream/basic 2045s ok 2 /data-output-stream/write-lines-LF 2045s ok 3 /data-output-stream/write-lines-CR 2045s ok 4 /data-output-stream/write-lines-CR-LF 2045s ok 5 /data-output-stream/write-int 2045s ok 6 /data-output-stream/seek 2045s ok 7 /data-output-stream/truncate 2045s # End of data-output-stream tests 2045s ok - glib/data-output-stream.test 2045s # Running test: glib/io-channel.test 2045s TAP version 14 2045s # random seed: R02S5d84aabbf1a2a4645226a024b800325e 2045s 1..2 2045s # Start of io-channel tests 2045s # Line one 2045s # 2045s # Line two 2045s # 2045s # Line three 2045s # 2045s # /* Hello */ 2045s # 2045s # \x1234\x567890\x6666 2045s # 2045s # read 62 bytes, wrote 62 bytes 2045s ok 1 /io-channel/read-write 2045s # Start of read-line tests 2045s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 2045s ok 2 /io-channel/read-line/embedded-nuls 2045s # End of read-line tests 2045s # End of io-channel tests 2045s ok - glib/io-channel.test 2045s # Running test: glib/gdbus-test-codegen-old.test 2045s TAP version 14 2045s # random seed: R02S19f0afa191d111b17ff3ea28d58dbf9a 2045s 1..8 2045s # Start of gdbus tests 2045s # Start of codegen tests 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/annotations/.dirs/runtime 2045s ok 1 /gdbus/codegen/annotations 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/interface_stability/.dirs/runtime 2045s ok 2 /gdbus/codegen/interface_stability 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/object-manager/.dirs/runtime 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s ok 3 /gdbus/codegen/object-manager 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/property-naming/.dirs/runtime 2045s ok 4 /gdbus/codegen/property-naming 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/autocleanups/.dirs/runtime 2045s ok 5 /gdbus/codegen/autocleanups 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/deprecations/.dirs/runtime 2045s ok 6 /gdbus/codegen/deprecations 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/standalone-interface-info/.dirs/runtime 2045s ok 7 /gdbus/codegen/standalone-interface-info 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_IWN8X2/gdbus/codegen/unix-fd-list/.dirs/runtime 2045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 2045s ok 8 /gdbus/codegen/unix-fd-list 2045s # End of codegen tests 2045s # End of gdbus tests 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok - glib/gdbus-test-codegen-old.test 2045s # Running test: glib/gdbus-proxy-unique-name.test 2045s TAP version 14 2045s # random seed: R02Se29d78a3bfa44803b6467e0c85b1441b 2045s 1..1 2045s # Start of gdbus tests 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_95W7X2/gdbus/proxy-unique-name/.dirs/runtime 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 1 /gdbus/proxy-unique-name 2045s # End of gdbus tests 2045s ok - glib/gdbus-proxy-unique-name.test 2045s # Running test: glib/object-info.test 2045s TAP version 14 2045s # random seed: R02Sce0a545e58d41b380316772ea1a1175e 2045s 1..2 2045s # Start of object-info tests 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_BCW6X2/object-info/find-method-using-interfaces/.dirs/runtime 2045s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2045s ok 1 /object-info/find-method-using-interfaces 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_BCW6X2/object-info/find-vfunc-using-interfaces/.dirs/runtime 2045s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2045s ok 2 /object-info/find-vfunc-using-interfaces 2045s # End of object-info tests 2045s ok - glib/object-info.test 2045s # Running test: glib/rec-mutex.test 2045s TAP version 14 2045s # random seed: R02Sce7a8693e18479d10f8f8f5ca325c76d 2045s 1..29 2045s # Start of thread tests 2045s ok 1 /thread/rec-mutex1 2045s ok 2 /thread/rec-mutex2 2045s ok 3 /thread/rec-mutex3 2045s ok 4 /thread/rec-mutex4 2045s # Start of rec-mutex tests 2045s # Start of perf tests 2045s # Start of uncontended tests 2045s # max perf: 1.000000 mips 2045s ok 5 /thread/rec-mutex/perf/uncontended/depth1 2045s # max perf: inf mips 2045s ok 6 /thread/rec-mutex/perf/uncontended/depth2 2045s # max perf: inf mips 2045s ok 7 /thread/rec-mutex/perf/uncontended/depth3 2045s # max perf: inf mips 2045s ok 8 /thread/rec-mutex/perf/uncontended/depth4 2045s # max perf: 1.000000 mips 2045s ok 9 /thread/rec-mutex/perf/uncontended/depth5 2045s # End of uncontended tests 2045s # Start of contended1 tests 2045s # max perf: inf mips 2045s ok 10 /thread/rec-mutex/perf/contended1/depth1 2045s # max perf: 2.000000 mips 2045s ok 11 /thread/rec-mutex/perf/contended1/depth2 2045s # max perf: inf mips 2045s ok 12 /thread/rec-mutex/perf/contended1/depth3 2045s # max perf: inf mips 2045s ok 13 /thread/rec-mutex/perf/contended1/depth4 2045s # max perf: inf mips 2045s ok 14 /thread/rec-mutex/perf/contended1/depth5 2045s # End of contended1 tests 2045s # Start of contended2 tests 2045s # max perf: inf mips 2045s ok 15 /thread/rec-mutex/perf/contended2/depth1 2045s # max perf: 3.000000 mips 2045s ok 16 /thread/rec-mutex/perf/contended2/depth2 2045s # max perf: inf mips 2045s ok 17 /thread/rec-mutex/perf/contended2/depth3 2045s # max perf: 3.000000 mips 2045s ok 18 /thread/rec-mutex/perf/contended2/depth4 2045s # max perf: inf mips 2045s ok 19 /thread/rec-mutex/perf/contended2/depth5 2045s # End of contended2 tests 2045s # Start of contended3 tests 2045s # max perf: 4.000000 mips 2045s ok 20 /thread/rec-mutex/perf/contended3/depth1 2045s # max perf: inf mips 2045s ok 21 /thread/rec-mutex/perf/contended3/depth2 2045s # max perf: 4.000000 mips 2045s ok 22 /thread/rec-mutex/perf/contended3/depth3 2045s # max perf: 4.000000 mips 2045s ok 23 /thread/rec-mutex/perf/contended3/depth4 2045s # max perf: inf mips 2045s ok 24 /thread/rec-mutex/perf/contended3/depth5 2045s # End of contended3 tests 2045s # Start of contended4 tests 2045s # max perf: 5.000000 mips 2045s ok 25 /thread/rec-mutex/perf/contended4/depth1 2045s # max perf: 2.500000 mips 2045s ok 26 /thread/rec-mutex/perf/contended4/depth2 2045s # max perf: 5.000000 mips 2045s ok 27 /thread/rec-mutex/perf/contended4/depth3 2045s # max perf: 5.000000 mips 2045s ok 28 /thread/rec-mutex/perf/contended4/depth4 2045s # max perf: 5.000000 mips 2045s ok 29 /thread/rec-mutex/perf/contended4/depth5 2045s # End of contended4 tests 2045s # End of perf tests 2045s # End of rec-mutex tests 2045s # End of thread tests 2045s ok - glib/rec-mutex.test 2045s # Running test: glib/gapplication.test 2045s TAP version 14 2045s # random seed: R02S0bfbd1a89439094c69c797dd8c6e110a 2045s 1..24 2045s # Start of gapplication tests 2045s ok 1 /gapplication/no-dbus 2045s ok 2 /gapplication/no-appid 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 3 /gapplication/properties 2045s ok 4 /gapplication/app-id 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 5 /gapplication/quit 2045s ok 6 /gapplication/registered 2045s ok 7 /gapplication/local-actions 2045s ok 8 /gapplication/local-command-line 2045s ok 9 /gapplication/resource-path 2045s ok 10 /gapplication/test-help 2045s ok 11 /gapplication/command-line-done 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 12 /gapplication/test-busy 2045s ok 13 /gapplication/test-handle-local-options1 2045s ok 14 /gapplication/test-handle-local-options2 2045s ok 15 /gapplication/test-handle-local-options3 2045s ok 16 /gapplication/api 2045s ok 17 /gapplication/version 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # launching subprocess 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 18 /gapplication/replace 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # launching subprocess 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 19 /gapplication/no-replace 2045s # slow test /gapplication/no-replace executed in 0.50 secs 2045s # Start of dbus tests 2045s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # Message 0 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 1 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 2 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 20 /gapplication/dbus/activate 2045s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # Message 0 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2045s # Message 1 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 2 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 3 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 21 /gapplication/dbus/open 2045s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # Message 0 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 1 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 2 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 22 /gapplication/dbus/command-line 2045s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 23 /gapplication/dbus/command-line-done 2045s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # Message 0 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 1 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 2 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 3 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 4 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 5 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 6 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 7 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 8 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 9 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 10 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # Message 11 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 24 /gapplication/dbus/activate-action 2045s # End of dbus tests 2045s # End of gapplication tests 2045s ok - glib/gapplication.test 2045s # Running test: glib/macros.test 2045s TAP version 14 2045s # random seed: R02S115c08c91ece27155d6410bdc1ceb5cd 2045s 1..3 2045s # Start of alignof tests 2045s ok 1 /alignof/fallback 2045s # End of alignof tests 2045s # Start of assert tests 2045s ok 2 /assert/static 2045s # End of assert tests 2045s # Start of struct tests 2045s ok 3 /struct/sizeof_member 2045s # End of struct tests 2045s ok - glib/macros.test 2045s # Running test: glib/cmph-bdz.test 2045s TAP version 14 2045s # random seed: R02S97103bb32b59e571c1eb9bbaf6e09b84 2045s 1..2 2045s # Start of cmph-bdz tests 2045s ok 1 /cmph-bdz/search 2045s ok 2 /cmph-bdz/search-packed 2045s # End of cmph-bdz tests 2045s ok - glib/cmph-bdz.test 2045s # Running test: glib/spawn-path-search.test 2045s TAP version 14 2045s # random seed: R02S029392772123d096350888eb350bc7e6 2045s 1..7 2045s # Start of spawn tests 2045s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 2045s # 2045s # this is spawn-test-helper from glib/tests 2045s # 2045s ok 1 /spawn/do-not-search 2045s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 2045s # 2045s # this is spawn-test-helper from path-test-subdir 2045s # 2045s ok 2 /spawn/search-path 2045s # /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. 2045s # 2045s # this is spawn-test-helper from path-test-subdir 2045s # 2045s ok 3 /spawn/search-path-from-envp 2045s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 2045s # 2045s # this is spawn-test-helper from path-test-subdir 2045s # 2045s ok 4 /spawn/search-path-ambiguous 2045s # 2045s # this is spawn-test-helper from path-test-subdir 2045s # 2045s ok 5 /spawn/search-path-heap-allocation 2045s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 2045s # 2045s # this is spawn-test-helper from glib/tests 2045s # 2045s ok 6 /spawn/search-path-fallback-in-environ 2045s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 2045s # 2045s # this is spawn-test-helper from glib/tests 2045s # 2045s ok 7 /spawn/search-path-fallback-in-envp 2045s # End of spawn tests 2045s ok - glib/spawn-path-search.test 2045s # Running test: glib/gdbus-proxy.test 2045s # Executing: glib/gdbus-proxy.test 2045s TAP version 14 2045s # random seed: R02S40674ec58284d36da3b5a67b3bf32ebb 2045s 1..5 2045s # Start of gdbus tests 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/.dirs/runtime 2045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s ok 1 /gdbus/proxy 2047s # slow test /gdbus/proxy executed in 1.72 secs 2047s # Start of proxy tests 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-properties/.dirs/runtime 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s ok 2 /gdbus/proxy/no-properties 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/wellknown-noauto/.dirs/runtime 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2047s ok 3 /gdbus/proxy/wellknown-noauto 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/async/.dirs/runtime 2047s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2049s ok 4 /gdbus/proxy/async 2049s # slow test /gdbus/proxy/async executed in 1.72 secs 2049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/home 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/cache 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/system-config2 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/config 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/system-data2 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/data 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/state 2049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LXHSX2/gdbus/proxy/no-match-rule/.dirs/runtime 2049s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 2049s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 2049s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2050s # Executing: glib/gdbus-proxy.test 2050s ok 5 /gdbus/proxy/no-match-rule 2050s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 2050s # End of proxy tests 2050s # End of gdbus tests 2050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2050s ok - glib/gdbus-proxy.test 2050s # Running test: glib/guuid.test 2050s TAP version 14 2050s # random seed: R02Sd6aa3da2e3d1b619874778fe8a415b54 2050s 1..2 2050s # Start of uuid tests 2050s ok 1 /uuid/string 2050s ok 2 /uuid/random 2050s # End of uuid tests 2050s ok - glib/guuid.test 2050s # Running test: glib/objects-refcount1.test 2050s TAP version 14 2050s # random seed: R02S0761f783e7eb59493426014b3d03449f 2050s 1..1 2050s # Start of gobject tests 2050s # Start of refcount tests 2050s # init 0x56e78e3b5740 2050s # 2050s # init 0x56e78e3b58d0 2050s # 2055s # Executing: glib/objects-refcount1.test 2055s # dispose 0x56e78e3b5740! 2055s # 2055s # dispose 0x56e78e3b58d0! 2055s # 2055s ok 1 /gobject/refcount/object-basics 2055s # slow test /gobject/refcount/object-basics executed in 5.00 secs 2055s # End of refcount tests 2055s # End of gobject tests 2055s ok - glib/objects-refcount1.test 2055s # Running test: glib/gutils-user-database.test 2055s TAP version 14 2055s # random seed: R02Sa0fcd16bae1f4efbfd91e587e759e937 2055s 1..1 2055s # Start of gutils tests 2055s ok 1 /gutils/get_user_database_entry 2055s # End of gutils tests 2055s ok - glib/gutils-user-database.test 2055s # Running test: glib/bitlock.test 2055s TAP version 14 2055s # random seed: R02S6b05e40252d7e5d576c758192c43e6c7 2055s 1..1 2055s # Start of bitlock tests 2055s # Start of performance tests 2055s # max perf: iterations per second 2055s ok 1 /bitlock/performance/uncontended 2055s # End of performance tests 2055s # End of bitlock tests 2056s ok - glib/bitlock.test 2056s # Running test: glib/signals-refcount1.test 2056s TAP version 14 2056s # random seed: R02S7fda9d0b50069b486af3550469ff3e4f 2056s 1..1 2056s # Start of gobject tests 2056s # Start of refcount tests 2056s # init 0x638a1a7f1420 2056s # 2056s # init 0x638a1a7f15c0 2056s # 2060s # Executing: glib/signals-refcount1.test 2060s # dispose 0x638a1a7f1420! 2060s # 2060s # dispose 0x638a1a7f15c0! 2060s # 2060s ok 1 /gobject/refcount/signals 2060s # slow test /gobject/refcount/signals executed in 5.00 secs 2060s # End of refcount tests 2060s # End of gobject tests 2060s ok - glib/signals-refcount1.test 2060s # Running test: glib/array-test.test 2061s TAP version 14 2061s # random seed: R02S5cb7b8840a4b5c055887d1073a418664 2061s 1..113 2061s # Start of array tests 2061s ok 1 /array/ref-count 2061s ok 2 /array/steal 2061s ok 3 /array/clear-func 2061s ok 4 /array/binary-search 2061s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 2061s ok 5 /array/copy-sized 2061s ok 6 /array/overflow-append-vals 2061s ok 7 /array/overflow-set-size 2061s # Start of new tests 2061s ok 8 /array/new/zero-terminated 2061s ok 9 /array/new/take 2061s ok 10 /array/new/take-zero-terminated 2061s # Start of take tests 2061s ok 11 /array/new/take/empty 2061s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 2061s # End of take tests 2061s # End of new tests 2061s # Start of set-size tests 2061s ok 13 /array/set-size/non-zero-terminated-no-clear 2061s ok 14 /array/set-size/non-zero-terminated-clear 2061s ok 15 /array/set-size/zero-terminated-no-clear 2061s ok 16 /array/set-size/zero-terminated-clear 2061s # Start of sized tests 2061s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 2061s ok 18 /array/set-size/sized/non-zero-terminated-clear 2061s ok 19 /array/set-size/sized/zero-terminated-no-clear 2061s ok 20 /array/set-size/sized/zero-terminated-clear 2061s # End of sized tests 2061s # End of set-size tests 2061s # Start of append-val tests 2061s ok 21 /array/append-val/non-zero-terminated-no-clear 2061s ok 22 /array/append-val/non-zero-terminated-clear 2061s ok 23 /array/append-val/zero-terminated-no-clear 2061s ok 24 /array/append-val/zero-terminated-clear 2061s # End of append-val tests 2061s # Start of prepend-val tests 2061s ok 25 /array/prepend-val/non-zero-terminated-no-clear 2061s ok 26 /array/prepend-val/non-zero-terminated-clear 2061s ok 27 /array/prepend-val/zero-terminated-no-clear 2061s ok 28 /array/prepend-val/zero-terminated-clear 2061s # End of prepend-val tests 2061s # Start of prepend-vals tests 2061s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 2061s ok 30 /array/prepend-vals/non-zero-terminated-clear 2061s ok 31 /array/prepend-vals/zero-terminated-no-clear 2061s ok 32 /array/prepend-vals/zero-terminated-clear 2061s # End of prepend-vals tests 2061s # Start of insert-vals tests 2061s ok 33 /array/insert-vals/non-zero-terminated-no-clear 2061s ok 34 /array/insert-vals/non-zero-terminated-clear 2061s ok 35 /array/insert-vals/zero-terminated-no-clear 2061s ok 36 /array/insert-vals/zero-terminated-clear 2061s # End of insert-vals tests 2061s # Start of remove-index tests 2061s ok 37 /array/remove-index/non-zero-terminated-no-clear 2061s ok 38 /array/remove-index/non-zero-terminated-clear 2061s ok 39 /array/remove-index/zero-terminated-no-clear 2061s ok 40 /array/remove-index/zero-terminated-clear 2061s # End of remove-index tests 2061s # Start of remove-index-fast tests 2061s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 2061s ok 42 /array/remove-index-fast/non-zero-terminated-clear 2061s ok 43 /array/remove-index-fast/zero-terminated-no-clear 2061s ok 44 /array/remove-index-fast/zero-terminated-clear 2061s # End of remove-index-fast tests 2061s # Start of remove-range tests 2061s ok 45 /array/remove-range/non-zero-terminated-no-clear 2061s ok 46 /array/remove-range/non-zero-terminated-clear 2061s ok 47 /array/remove-range/zero-terminated-no-clear 2061s ok 48 /array/remove-range/zero-terminated-clear 2061s # End of remove-range tests 2061s # Start of copy tests 2061s ok 49 /array/copy/non-zero-terminated-no-clear 2061s ok 50 /array/copy/non-zero-terminated-clear 2061s ok 51 /array/copy/zero-terminated-no-clear 2061s ok 52 /array/copy/zero-terminated-clear 2061s # End of copy tests 2061s # Start of sort tests 2061s ok 53 /array/sort/non-zero-terminated-no-clear 2061s ok 54 /array/sort/non-zero-terminated-clear 2061s ok 55 /array/sort/zero-terminated-no-clear 2061s ok 56 /array/sort/zero-terminated-clear 2061s # End of sort tests 2061s # Start of sort-with-data tests 2061s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 2061s ok 58 /array/sort-with-data/non-zero-terminated-clear 2061s ok 59 /array/sort-with-data/zero-terminated-no-clear 2061s ok 60 /array/sort-with-data/zero-terminated-clear 2061s # End of sort-with-data tests 2061s # End of array tests 2061s # Start of pointerarray tests 2061s ok 61 /pointerarray/add 2061s ok 62 /pointerarray/insert 2061s ok 63 /pointerarray/new-take 2061s ok 64 /pointerarray/new-take-null-terminated 2061s ok 65 /pointerarray/new-from-array 2061s ok 66 /pointerarray/new-from-null-terminated-array 2061s ok 67 /pointerarray/free-func 2061s ok 68 /pointerarray/array_extend_and_steal 2061s ok 69 /pointerarray/sort 2061s ok 70 /pointerarray/sort-with-data 2061s ok 71 /pointerarray/sort-values 2061s ok 72 /pointerarray/sort-values-with-data 2061s ok 73 /pointerarray/remove-range 2061s ok 74 /pointerarray/steal 2061s # Start of free tests 2061s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 2061s ok 75 /pointerarray/free/null-terminated 2061s # End of free tests 2061s # Start of new-take tests 2061s ok 76 /pointerarray/new-take/empty 2061s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 2061s ok 78 /pointerarray/new-take/with-free-func 2061s # End of new-take tests 2061s # Start of new-take-null-terminated tests 2061s ok 79 /pointerarray/new-take-null-terminated/empty 2061s ok 80 /pointerarray/new-take-null-terminated/with-free-func 2061s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 2061s # End of new-take-null-terminated tests 2061s # Start of new-from-array tests 2061s ok 82 /pointerarray/new-from-array/empty 2061s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 2061s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 2061s # End of new-from-array tests 2061s # Start of new-from-null-terminated-array tests 2061s ok 85 /pointerarray/new-from-null-terminated-array/empty 2061s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 2061s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 2061s # End of new-from-null-terminated-array tests 2061s # Start of ref-count tests 2061s ok 88 /pointerarray/ref-count/not-null-terminated 2061s ok 89 /pointerarray/ref-count/null-terminated 2061s # End of ref-count tests 2061s # Start of array_copy tests 2061s # /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 2061s ok 90 /pointerarray/array_copy/not-null-terminated 2061s # /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 2061s ok 91 /pointerarray/array_copy/null-terminated 2061s # End of array_copy tests 2061s # Start of array_extend tests 2061s ok 92 /pointerarray/array_extend/not-null-terminated 2061s ok 93 /pointerarray/array_extend/null-terminated 2061s # End of array_extend tests 2061s # Start of sort tests 2061s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 2061s ok 94 /pointerarray/sort/example 2061s # End of sort tests 2061s # Start of sort-with-data tests 2061s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 2061s ok 95 /pointerarray/sort-with-data/example 2061s # End of sort-with-data tests 2061s # Start of sort-values tests 2061s ok 96 /pointerarray/sort-values/example 2061s # End of sort-values tests 2061s # Start of sort-values-with-data tests 2061s ok 97 /pointerarray/sort-values-with-data/example 2061s # End of sort-values-with-data tests 2061s # Start of find tests 2061s ok 98 /pointerarray/find/empty 2061s ok 99 /pointerarray/find/non-empty 2061s # End of find tests 2061s # Start of steal_index tests 2061s ok 100 /pointerarray/steal_index/not-null-terminated 2061s ok 101 /pointerarray/steal_index/null-terminated 2061s # End of steal_index tests 2061s # End of pointerarray tests 2061s # Start of bytearray tests 2061s ok 102 /bytearray/steal 2061s ok 103 /bytearray/append 2061s ok 104 /bytearray/prepend 2061s ok 105 /bytearray/remove 2061s ok 106 /bytearray/remove-fast 2061s ok 107 /bytearray/remove-range 2061s ok 108 /bytearray/ref-count 2061s ok 109 /bytearray/sort 2061s ok 110 /bytearray/sort-with-data 2061s ok 111 /bytearray/new-take 2061s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 2061s ok 113 /bytearray/free-to-bytes 2061s # End of bytearray tests 2061s ok - glib/array-test.test 2061s # Running test: glib/strfuncs.test 2061s TAP version 14 2061s # random seed: R02Sf2b827d63c85dcb822e6843f58062209 2061s 1..50 2061s # Start of strfuncs tests 2061s ok 1 /strfuncs/ascii-strcasecmp 2061s ok 2 /strfuncs/ascii_strdown 2061s ok 3 /strfuncs/ascii_strdup 2061s ok 4 /strfuncs/ascii_strtod 2061s ok 5 /strfuncs/bounds-check 2061s ok 6 /strfuncs/has-prefix 2061s ok 7 /strfuncs/has-prefix-macro 2061s ok 8 /strfuncs/has-suffix 2061s ok 9 /strfuncs/has-suffix-macro 2061s ok 10 /strfuncs/memdup 2061s ok 11 /strfuncs/memdup2 2061s ok 12 /strfuncs/set_str 2061s ok 13 /strfuncs/stpcpy 2061s ok 14 /strfuncs/str_match_string 2061s ok 15 /strfuncs/str_tokenize_and_fold 2061s ok 16 /strfuncs/strcanon 2061s ok 17 /strfuncs/strchomp 2061s ok 18 /strfuncs/strchug 2061s ok 19 /strfuncs/strcompress-strescape 2061s ok 20 /strfuncs/strconcat 2061s ok 21 /strfuncs/strdelimit 2061s ok 22 /strfuncs/strdup 2061s ok 23 /strfuncs/strdup-printf 2061s ok 24 /strfuncs/strdupv 2061s ok 25 /strfuncs/strerror 2061s ok 26 /strfuncs/strip-context 2061s ok 27 /strfuncs/strjoin 2061s ok 28 /strfuncs/strjoinv 2061s ok 29 /strfuncs/strlcat 2061s ok 30 /strfuncs/strlcpy 2061s ok 31 /strfuncs/strncasecmp 2061s ok 32 /strfuncs/strndup 2061s ok 33 /strfuncs/strnfill 2061s ok 34 /strfuncs/strreverse 2061s ok 35 /strfuncs/strsignal 2061s ok 36 /strfuncs/strsplit 2061s ok 37 /strfuncs/strsplit-set 2061s ok 38 /strfuncs/strstr 2061s ok 39 /strfuncs/strtod 2061s ok 40 /strfuncs/strtoull-strtoll 2061s ok 41 /strfuncs/strup 2061s ok 42 /strfuncs/strv-contains 2061s ok 43 /strfuncs/strv-equal 2061s ok 44 /strfuncs/strv-length 2061s ok 45 /strfuncs/test-is-to-digit 2061s ok 46 /strfuncs/transliteration 2061s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 2061s ok 47 /strfuncs/str-equal 2061s # Start of ascii-string-to-num tests 2061s ok 48 /strfuncs/ascii-string-to-num/pathological 2061s ok 49 /strfuncs/ascii-string-to-num/usual 2061s # End of ascii-string-to-num tests 2061s # Start of strdup tests 2061s ok 50 /strfuncs/strdup/inline 2061s # End of strdup tests 2061s # End of strfuncs tests 2061s ok - glib/strfuncs.test 2061s # Running test: glib/module-test-plugin.test 2061s TAP version 14 2061s # random seed: R02S2df0c00b08b837a34983588aded95cb5 2061s 1..3 2061s # Start of module tests 2061s ok 1 /module/basics 2061s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 2061s ok 2 /module/invalid-libtool-archive 2061s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 2061s ok 3 /module/local-binding 2061s # End of module tests 2061s ok - glib/module-test-plugin.test 2061s # Running test: glib/fdo-notification-backend.test 2061s TAP version 14 2061s # random seed: R02S50f37cc16eb5c38919cdbc5795ede657 2061s 1..2 2061s # Start of fdo-notification-backend tests 2061s # Test constructing a GFdoNotificationBackend 2061s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s ok 1 /fdo-notification-backend/construction 2061s # Start of dbus tests 2061s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2061s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2061s ok 2 /fdo-notification-backend/dbus/activate-action 2061s # End of dbus tests 2061s # End of fdo-notification-backend tests 2061s ok - glib/fdo-notification-backend.test 2061s # Running test: glib/string.test 2061s TAP version 14 2061s # random seed: R02S70f96604dcee8102fd6be9ebe46d8cfe 2061s 1..23 2061s # Start of string tests 2061s ok 1 /string/test-string-chunks 2061s ok 2 /string/test-string-chunk-insert 2061s ok 3 /string/test-string-new 2061s ok 4 /string/test-string-printf 2061s ok 5 /string/test-string-assign 2061s ok 6 /string/test-string-append-c 2061s ok 7 /string/test-string-append 2061s ok 8 /string/test-string-append-vprintf 2061s ok 9 /string/test-string-prepend-c 2061s ok 10 /string/test-string-prepend 2061s ok 11 /string/test-string-insert 2061s ok 12 /string/test-string-insert-unichar 2061s ok 13 /string/test-string-equal 2061s ok 14 /string/test-string-truncate 2061s ok 15 /string/test-string-overwrite 2061s ok 16 /string/test-string-nul-handling 2061s ok 17 /string/test-string-up-down 2061s ok 18 /string/test-string-set-size 2061s ok 19 /string/test-string-to-bytes 2061s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 2061s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 2061s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 2061s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 2061s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 2061s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 2061s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 2061s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 2061s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 2061s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 2061s # 5: Replacing "o" with "" (limit 0) in "food for foals" 2061s # -> 4 replacements, "fd fr fals" 2061s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 2061s # -> 3 replacements, "aaaaaaaaa" 2061s # 7: Replacing "a" with "" (limit 0) in "aaa" 2061s # -> 3 replacements, "" 2061s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 2061s # -> 1 replacements, "bba" 2061s # 9: Replacing "" with "bar" (limit 0) in "foo" 2061s # -> 4 replacements, "barfbarobarobar" 2061s # 10: Replacing "" with "x" (limit 0) in "" 2061s # -> 1 replacements, "x" 2061s # 11: Replacing "" with "" (limit 0) in "" 2061s # -> 1 replacements, "" 2061s ok 20 /string/test-string-replace 2061s ok 21 /string/test-string-steal 2061s ok 22 /string/test-string-new-take 2061s # Start of test-string-new-take tests 2061s ok 23 /string/test-string-new-take/null 2061s # End of test-string-new-take tests 2061s # End of string tests 2061s ok - glib/string.test 2061s # Running test: glib/gsocketclient-slow.test 2061s TAP version 14 2061s # random seed: R02S82a9ba5e7aafd13dab4b47370b014459 2061s 1..4 2061s # Start of socket-client tests 2061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 2061s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2061s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d865fa49280 and GSocketClientAsyncConnectData 0x5d865fa41b90 2061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d865fa4b160 for GSocketClientAsyncConnectData 0x5d865fa41b90 2061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2061s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 2061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2061s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 2061s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2061s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2061s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d865fa4c2c0 for GSocketClientAsyncConnectData 0x5d865fa41b90 2061s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2062s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2062s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 2062s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 2062s ok 1 /socket-client/connection-fail 2062s # slow test /socket-client/connection-fail executed in 1.20 secs 2062s # Start of happy-eyeballs tests 2062s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d865fa4ec50 and GSocketClientAsyncConnectData 0x5d865fa4cf00 2062s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2062s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2062s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d865fa4f5d0 for GSocketClientAsyncConnectData 0x5d865fa4cf00 2062s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2062s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 2062s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2062s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2062s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2062s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2062s ok 2 /socket-client/happy-eyeballs/slow 2062s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 2062s # Start of cancellation tests 2062s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d865fa50240 and GSocketClientAsyncConnectData 0x5d865fa4f160 2062s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2062s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 2062s ok 3 /socket-client/happy-eyeballs/cancellation/instant 2062s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d865fa4ec90 and GSocketClientAsyncConnectData 0x5d865fa504d0 2062s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2062s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2062s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d865fa50ca0 for GSocketClientAsyncConnectData 0x5d865fa504d0 2062s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2063s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 2063s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2063s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2063s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2063s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 2063s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 2063s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 2063s # End of cancellation tests 2063s # End of happy-eyeballs tests 2063s # End of socket-client tests 2063s ok - glib/gsocketclient-slow.test 2063s # Running test: glib/gdbus-proxy-threads.test 2063s TAP version 14 2063s # random seed: R02Sb1db0bef88323ae5df26860cd1d8fb3a 2063s 1..1 2063s # Start of gdbus tests 2063s # Start of proxy tests 2063s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/home 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/cache 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/system-config2 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/config 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/system-data2 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/data 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/state 2063s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_NQGYX2/gdbus/proxy/vs-threads/.dirs/runtime 2063s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2064s ok 1 /gdbus/proxy/vs-threads 2064s # slow test /gdbus/proxy/vs-threads executed in 1.19 secs 2064s # End of proxy tests 2064s # End of gdbus tests 2064s cleaning up pid 12564 2064s ok - glib/gdbus-proxy-threads.test 2064s # Running test: glib/utils-isolated.test 2064s TAP version 14 2064s # random seed: R02S3b27d87b3ea9c9cef43c95d5bac14816 2064s 1..11 2064s # Start of utils-isolated tests 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/tmp-dir/.dirs/runtime 2064s ok 1 /utils-isolated/tmp-dir 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/home-dir/.dirs/runtime 2064s ok 2 /utils-isolated/home-dir 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-cache-dir/.dirs/runtime 2064s ok 3 /utils-isolated/user-cache-dir 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-config-dirs/.dirs/runtime 2064s ok 4 /utils-isolated/system-config-dirs 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-config-dir/.dirs/runtime 2064s ok 5 /utils-isolated/user-config-dir 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/system-data-dirs/.dirs/runtime 2064s ok 6 /utils-isolated/system-data-dirs 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-data-dir/.dirs/runtime 2064s ok 7 /utils-isolated/user-data-dir 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-state-dir/.dirs/runtime 2064s ok 8 /utils-isolated/user-state-dir 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/user-runtime-dir/.dirs/runtime 2064s ok 9 /utils-isolated/user-runtime-dir 2064s # Start of cleanup tests 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 2064s Unable to clean up temporary directory /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 2064s Unable to clean up temporary directory /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 2064s Unable to clean up temporary directory /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/handles-errors: Directory not empty 2064s ok 10 /utils-isolated/cleanup/handles-errors 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 2064s Unable to clean up temporary directory /tmp/test_utils-isolated_GC7TX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 2064s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 2064s # End of cleanup tests 2064s # End of utils-isolated tests 2064s ok - glib/utils-isolated.test 2064s # Running test: glib/gdbus-auth.test 2064s TAP version 14 2064s # random seed: R02S9db2c942aef4d0f6a41dc7dd23f01ac2 2064s 1..5 2064s # Start of gdbus tests 2064s # Start of auth tests 2064s # Start of client tests 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/EXTERNAL/.dirs/runtime 2064s ok 1 /gdbus/auth/client/EXTERNAL 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 2064s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 2064s # End of client tests 2064s # Start of server tests 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 2064s ok 3 /gdbus/auth/server/ANONYMOUS 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/EXTERNAL/.dirs/runtime 2064s ok 4 /gdbus/auth/server/EXTERNAL 2064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 2064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_OLKUX2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 2064s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 2064s # End of server tests 2064s # End of auth tests 2064s # End of gdbus tests 2064s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2064s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2064s ok - glib/gdbus-auth.test 2064s # Running test: glib/rwlock.test 2064s TAP version 14 2064s # random seed: R02S4100afda000dc8a4a69c0769893c750e 2064s 1..8 2064s # Start of thread tests 2064s ok 1 /thread/rwlock1 2064s ok 2 /thread/rwlock2 2064s ok 3 /thread/rwlock3 2064s ok 4 /thread/rwlock4 2064s ok 5 /thread/rwlock5 2064s ok 6 /thread/rwlock6 2065s # Executing: glib/rwlock.test 2070s # Executing: glib/rwlock.test 2070s ok 7 /thread/rwlock7 2070s # slow test /thread/rwlock7 executed in 6.24 secs 2071s ok 8 /thread/rwlock8 2071s # End of thread tests 2071s ok - glib/rwlock.test 2071s # Running test: glib/custom-dispatch.test 2071s TAP version 14 2071s # random seed: R02Sec734197fe39cca75e4d278a72481ef2 2071s 1..2 2071s # Start of properties tests 2071s # Start of custom-dispatch tests 2071s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 2071s ok 1 /properties/custom-dispatch/init 2071s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 2071s ok 2 /properties/custom-dispatch/set 2071s # End of custom-dispatch tests 2071s # End of properties tests 2071s ok - glib/custom-dispatch.test 2071s # Running test: glib/atomic-c-89.test 2071s TAP version 14 2071s # random seed: R02Sc3514035eebc048f6d8ab001c3307c1a 2071s 1..2 2071s # Start of atomic tests 2071s ok 1 /atomic/types 2071s ok 2 /atomic/threaded 2071s # End of atomic tests 2071s ok - glib/atomic-c-89.test 2071s # Running test: glib/mimeapps.test 2071s TAP version 14 2071s # random seed: R02S55fe749f4f8e7354ff70d0a39321f210 2071s 1..7 2071s # Start of appinfo tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 2071s ok 1 /appinfo/all 2071s # Start of mime tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BXM6X2/appinfo/all/.dirs/config to /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config 2071s ok 2 /appinfo/mime/api 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config 2071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BXM6X2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config 2071s ok 3 /appinfo/mime/default 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BXM6X2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config 2071s ok 4 /appinfo/mime/file 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 2071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BXM6X2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/config 2071s ok 5 /appinfo/mime/scheme-handler 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BXM6X2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config 2071s ok 6 /appinfo/mime/default-last-used 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/runtime 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 2071s # removing '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 2071s # creating '/tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 2071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BXM6X2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_BXM6X2/appinfo/mime/ignore-nonexisting/.dirs/config 2071s ok 7 /appinfo/mime/ignore-nonexisting 2071s # End of mime tests 2071s # End of appinfo tests 2071s ok - glib/mimeapps.test 2071s # Running test: glib/unicode-normalize.test 2071s TAP version 14 2071s # random seed: R02Sff91b41b1c69dc16f22797553319aec3 2071s 1..3 2071s # Start of unicode tests 2071s # Processing Part0 # Specific cases 2071s # Processing Part1 # Character by character test 2071s # Processing Part2 # Canonical Order Test 2071s # Processing Part3 # PRI #29 Test 2071s ok 1 /unicode/normalize 2071s # Invalid UTF-8 vector 0 2071s # Invalid UTF-8 vector 1 2071s # Invalid UTF-8 vector 2 2071s # Invalid UTF-8 vector 3 2071s # Invalid UTF-8 vector 4 2071s # Invalid UTF-8 vector 5 2071s # Invalid UTF-8 vector 6 2071s # Invalid UTF-8 vector 7 2071s # Invalid UTF-8 vector 8 2071s # Invalid UTF-8 vector 9 2071s # Invalid UTF-8 vector 10 2071s # Invalid UTF-8 vector 11 2071s # Invalid UTF-8 vector 12 2071s ok 2 /unicode/normalize-invalid 2071s # Start of normalize tests 2071s ok 3 /unicode/normalize/bad-length 2071s # End of normalize tests 2071s # End of unicode tests 2071s ok - glib/unicode-normalize.test 2071s # Running test: glib/unix-streams.test 2071s TAP version 14 2071s # random seed: R02Sde9651ec48c85a588b632179a35de058 2071s 1..9 2071s # Start of unix-streams tests 2071s ok 1 /unix-streams/basic 2071s ok 2 /unix-streams/pipe-io-test 2071s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 2072s ok 3 /unix-streams/nonblocking-io-test 2072s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 2072s ok 4 /unix-streams/read_write 2072s ok 5 /unix-streams/read_writev 2072s ok 6 /unix-streams/write-wouldblock 2072s ok 7 /unix-streams/writev-wouldblock 2072s ok 8 /unix-streams/write-async-wouldblock 2072s ok 9 /unix-streams/writev-async-wouldblock 2072s # End of unix-streams tests 2072s ok - glib/unix-streams.test 2072s # Running test: glib/fileattributematcher.test 2072s TAP version 14 2072s # random seed: R02S1d5ad9f165bfe7e1d3a4f3a3e8ee3592 2072s 1..3 2072s # Start of fileattributematcher tests 2072s ok 1 /fileattributematcher/exact 2072s ok 2 /fileattributematcher/equality 2072s ok 3 /fileattributematcher/subtract 2072s # End of fileattributematcher tests 2072s ok - glib/fileattributematcher.test 2072s # Running test: glib/dir.test 2072s TAP version 14 2072s # random seed: R02S69517e8139df30ef003e1956401d2590 2072s 1..3 2072s # Start of dir tests 2072s ok 1 /dir/read 2072s ok 2 /dir/nonexisting 2072s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 2072s ok 3 /dir/refcounting 2072s # End of dir tests 2072s ok - glib/dir.test 2072s # Running test: glib/inet-address.test 2072s TAP version 14 2072s # random seed: R02Se24aab9fbca46f09ee062d8d5ca29764 2072s 1..11 2072s # Start of inet-address tests 2072s ok 1 /inet-address/parse 2072s ok 2 /inet-address/any 2072s ok 3 /inet-address/loopback 2072s ok 4 /inet-address/bytes 2072s ok 5 /inet-address/property 2072s # End of inet-address tests 2072s # Start of socket-address tests 2072s ok 6 /socket-address/basic 2072s ok 7 /socket-address/to-string 2072s # End of socket-address tests 2072s # Start of address-mask tests 2072s ok 8 /address-mask/parse 2072s ok 9 /address-mask/property 2072s ok 10 /address-mask/equal 2072s ok 11 /address-mask/match 2072s # End of address-mask tests 2072s ok - glib/inet-address.test 2072s # Running test: glib/notify-init2.test 2072s TAP version 14 2072s # random seed: R02Seea3f9de19cf186e9d25a0b0689cb494 2072s 1..1 2072s # Start of properties tests 2072s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 2072s ok 1 /properties/notify-in-init2 2072s # End of properties tests 2072s ok - glib/notify-init2.test 2072s # Running test: glib/spawn-test.test 2072s TAP version 14 2072s # random seed: R02Sb644dacb695040401f5e7f279169175d 2072s 1..2 2072s # Start of spawn tests 2072s ok 1 /spawn/basics 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 2072s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 2072s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 2072s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 2072s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 2072s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 2072s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 2072s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 2072s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 2072s # Fetching GSpawn result output with stdin open, stdout open, stderr open 2072s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 2072s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 2072s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 2072s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 2072s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 2072s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 2072s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 2072s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 2072s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 2072s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 2072s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 2072s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 2072s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 2072s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 2072s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 2072s # Fetching GSpawn result with stdin open, stdout open, stderr open 2072s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 2072s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 2072s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 2072s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 2072s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 2072s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 2072s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 2072s ok 2 /spawn/stdio-overwrite 2072s # End of spawn tests 2072s ok - glib/spawn-test.test 2072s # Running test: glib/sort.test 2072s TAP version 14 2072s # random seed: R02S8676ab904421a9bae68c77402ed3de59 2072s 1..5 2072s # Start of sort tests 2072s ok 1 /sort/basic 2072s ok 2 /sort/zero-elements 2072s ok 3 /sort/stable 2072s ok 4 /sort/big 2072s ok 5 /sort/deprecated 2072s # End of sort tests 2072s ok - glib/sort.test 2072s # Running test: glib/include.test 2072s TAP version 14 2072s # random seed: R02Sed5e7c32bff220bf46208575e01b54a9 2072s 1..1 2072s # Start of include tests 2072s ok 1 /include/rwlock 2072s # End of include tests 2072s ok - glib/include.test 2072s # Running test: glib/mainloop.test 2072s TAP version 14 2072s # random seed: R02S0a810ec2fc80d4d0bf5533b7c16611dc 2072s 1..45 2072s # Start of maincontext tests 2072s ok 1 /maincontext/basic 2072s # Add same-priority sources: 22 2072s # Find each source: 1 2072s # Remove in random order: 27 2072s ok 2 /maincontext/nsources_same_priority 2072s # Add different-priority sources: 18 2072s # Find each source: 1 2072s # Remove in random order: 34 2072s ok 3 /maincontext/nsources_different_priority 2072s # Add sources from threads: 120 2072s # Remove sources from threads: 87 2072s ok 4 /maincontext/nsources_threadpool 2072s ok 5 /maincontext/source_finalization 2072s # /maincontext/idle-once summary: Test g_idle_add_once() works 2072s ok 6 /maincontext/idle-once 2072s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2072s ok 7 /maincontext/timeout-once 2072s # Start of source_finalization_from_source tests 2072s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 8 /maincontext/source_finalization_from_source/0 2072s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 9 /maincontext/source_finalization_from_source/1 2072s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 10 /maincontext/source_finalization_from_source/2 2072s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 11 /maincontext/source_finalization_from_source/3 2072s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 12 /maincontext/source_finalization_from_source/4 2072s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 13 /maincontext/source_finalization_from_source/5 2072s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 14 /maincontext/source_finalization_from_source/6 2072s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 15 /maincontext/source_finalization_from_source/7 2072s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 16 /maincontext/source_finalization_from_source/8 2072s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2072s ok 17 /maincontext/source_finalization_from_source/9 2072s # End of source_finalization_from_source tests 2072s # Start of source_finalization_from_dispatch tests 2072s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2072s ok 18 /maincontext/source_finalization_from_dispatch/0 2072s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2072s ok 19 /maincontext/source_finalization_from_dispatch/1 2072s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2072s ok 20 /maincontext/source_finalization_from_dispatch/2 2072s # End of source_finalization_from_dispatch tests 2072s # End of maincontext tests 2072s # Start of mainloop tests 2072s ok 21 /mainloop/basic 2072s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2072s ok 23 /mainloop/priorities 2073s ok 24 /mainloop/invoke 2073s # slow test /mainloop/invoke executed in 0.50 secs 2074s ok 25 /mainloop/child_sources 2074s # slow test /mainloop/child_sources executed in 1.19 secs 2075s # Executing: glib/mainloop.test 2076s ok 26 /mainloop/recursive_child_sources 2076s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 2076s ok 27 /mainloop/recursive_loop_child_sources 2076s ok 28 /mainloop/swapping_child_sources 2076s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2076s ok 29 /mainloop/blocked_child_sources 2077s ok 30 /mainloop/source_time 2077s # slow test /mainloop/source_time executed in 1.00 secs 2077s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2077s ok 31 /mainloop/overflow 2078s ok 32 /mainloop/ready-time 2078s # slow test /mainloop/ready-time executed in 0.50 secs 2078s ok 33 /mainloop/wakeup 2078s ok 34 /mainloop/remove-invalid 2078s ok 35 /mainloop/unref-while-pending 2079s ok 36 /mainloop/unix-fd 2079s # slow test /mainloop/unix-fd executed in 0.90 secs 2079s ok 37 /mainloop/unix-fd-source 2079s ok 38 /mainloop/source-unix-fd-api 2079s ok 39 /mainloop/wait 2079s ok 40 /mainloop/unix-file-poll 2079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2079s ok 41 /mainloop/unix-fd-priority 2079s ok 42 /mainloop/nfds 2079s ok 43 /mainloop/steal-fd 2079s # Start of ownerless-polling tests 2079s ok 44 /mainloop/ownerless-polling/attach-first 2079s ok 45 /mainloop/ownerless-polling/pop-first 2079s # End of ownerless-polling tests 2079s # End of mainloop tests 2079s ok - glib/mainloop.test 2079s # Running test: glib/strvbuilder.test 2079s TAP version 14 2079s # random seed: R02S4fca8e8e080b8d1f72784e94d2003869 2079s 1..7 2079s # Start of strvbuilder tests 2079s ok 1 /strvbuilder/empty 2079s ok 2 /strvbuilder/add 2079s ok 3 /strvbuilder/addv 2079s ok 4 /strvbuilder/add_many 2079s ok 5 /strvbuilder/take 2079s ok 6 /strvbuilder/ref 2079s ok 7 /strvbuilder/unref_to_strv 2079s # End of strvbuilder tests 2079s ok - glib/strvbuilder.test 2079s # Running test: glib/pathbuf.test 2079s TAP version 14 2079s # random seed: R02S4d60fff4990f2fff0f95855bab2d668a 2079s 1..3 2079s # Start of pathbuf tests 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_53UZX2/pathbuf/init/.dirs/runtime 2079s # Initializing empty path buf 2079s # Initializing with empty path 2079s # Initializing with full path 2079s # Initializing with no path 2079s # Allocating GPathBuf on the heap 2079s ok 1 /pathbuf/init 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_53UZX2/pathbuf/push-pop/.dirs/runtime 2079s # Pushing relative path component 2079s # Pushing absolute path component 2079s # Popping a path component 2079s # Can't pop the last element of a path buffer 2079s ok 2 /pathbuf/push-pop 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_53UZX2/pathbuf/filename-extension/.dirs/runtime 2079s ok 3 /pathbuf/filename-extension 2079s # End of pathbuf tests 2079s ok - glib/pathbuf.test 2079s # Running test: glib/resources.test 2079s TAP version 14 2079s # random seed: R02S21a34374ff29f2908cfe63fa8615131b 2079s 1..17 2079s # Start of resource tests 2079s ok 1 /resource/file 2079s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2079s ok 2 /resource/file-path 2079s ok 3 /resource/data 2079s ok 4 /resource/data_unaligned 2079s ok 5 /resource/data-corrupt 2079s ok 6 /resource/data-empty 2079s ok 7 /resource/registered 2079s ok 8 /resource/manual 2079s ok 9 /resource/manual2 2079s ok 10 /resource/automatic 2079s ok 11 /resource/module 2079s ok 12 /resource/binary-linked 2079s ok 13 /resource/64k 2079s GLib-GIO-Message: 02:02:25.414: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 2079s ok 14 /resource/overlay 2079s ok 15 /resource/digits 2079s # Start of uri tests 2079s ok 16 /resource/uri/query-info 2079s ok 17 /resource/uri/file 2079s # End of uri tests 2079s # End of resource tests 2079s ok - glib/resources.test 2079s # Running test: glib/mappedfile.test 2079s TAP version 14 2079s # random seed: R02S848218f6af7f8ba47dad333af037ad3a 2079s 1..7 2079s # Start of mappedfile tests 2079s ok 1 /mappedfile/basic 2079s ok 2 /mappedfile/empty 2079s ok 3 /mappedfile/device 2079s ok 4 /mappedfile/nonexisting 2079s ok 5 /mappedfile/writable 2079s ok 6 /mappedfile/writable_fd 2079s ok 7 /mappedfile/gbytes 2079s # End of mappedfile tests 2079s ok - glib/mappedfile.test 2079s # Running test: glib/trash.test 2079s TAP version 14 2079s # random seed: R02S0dae43b559d1bf74ce6d483421438783 2079s 1..3 2079s # Start of trash tests 2079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 2079s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2079s # File: /tmp/test-trashEN2YX2 (parent st_dev: 64769) 2079s # Home: /home/ubuntu (st_dev: 64769) 2079s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 2079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 2079s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 2079s ok 3 /trash/long-filename 2079s # End of trash tests 2079s ok - glib/trash.test 2079s # Running test: glib/gdbus-names.test 2079s TAP version 14 2079s # random seed: R02Sffcd82539ee2ab165a432782d9d5de5d 2079s 1..10 2079s # Start of gdbus tests 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/validate-names/.dirs/runtime 2079s ok 1 /gdbus/validate-names 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-own-name/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 2 /gdbus/bus-own-name 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 3 /gdbus/bus-watch-name 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 4 /gdbus/bus-watch-name-auto-start 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s dbus-daemon[12849]: [session uid=1000 pid=12849] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=12840 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 2079s # Acquired a message bus connection 2079s dbus-daemon[12849]: [session uid=1000 pid=12849] Successfully activated service 'org.gtk.GDBus.FakeService' 2079s # Acquired the name org.gtk.GDBus.FakeService 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 6 /gdbus/bus-watch-name-closures 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 7 /gdbus/bus-watch-name-closures-auto-start 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-watch-different-context/.dirs/runtime 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 8 /gdbus/bus-watch-different-context 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/bus-unwatch-early/.dirs/runtime 2079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok 9 /gdbus/bus-unwatch-early 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_4XLZX2/gdbus/escape-object-path/.dirs/runtime 2079s ok 10 /gdbus/escape-object-path 2079s # End of gdbus tests 2079s ok - glib/gdbus-names.test 2079s # Running test: glib/onceinit.test 2079s TAP version 14 2079s # random seed: R02S95785e4f39b6f03f444783d7a8e40187 2079s 1..1 2079s # Start of thread tests 2079s ok 1 /thread/onceinit 2079s # End of thread tests 2079s ok - glib/onceinit.test 2079s # Running test: glib/gdbus-connection-flush.test 2079s TAP version 14 2079s # random seed: R02Sec7767a09f67bafecb131231a40d0d3d 2079s 1..2 2079s # Start of gdbus tests 2079s # Start of connection tests 2079s # Start of flush tests 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/busy/.dirs/runtime 2079s ok 1 /gdbus/connection/flush/busy 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_R1XVX2/gdbus/connection/flush/idle/.dirs/runtime 2079s ok 2 /gdbus/connection/flush/idle 2079s # End of flush tests 2079s # End of connection tests 2079s # End of gdbus tests 2079s ok - glib/gdbus-connection-flush.test 2079s # Running test: glib/signal-handler.test 2079s TAP version 14 2079s # random seed: R02S4e9a3a6bb484210b426265e21b3c8186 2079s 1..7 2079s # Start of signal tests 2079s # Start of handler tests 2079s # min perf: connected 1 handlers in 0.000 seconds 2079s ok 1 /signal/handler/connect-many 2079s # min perf: disconnected 1 handlers in 0.000 seconds 2079s ok 2 /signal/handler/disconnect-many-ordered 2079s # min perf: disconnected 1 handlers in 0.000 seconds 2079s ok 3 /signal/handler/disconnect-many-inverse 2079s # min perf: disconnected 1 handlers in 0.000 seconds 2079s ok 4 /signal/handler/disconnect-many-random 2079s # min perf: disconnected 1 handlers in 0.000 seconds 2079s ok 5 /signal/handler/disconnect-2-signals 2079s # min perf: disconnected 1 handlers in 0.000 seconds 2079s ok 6 /signal/handler/disconnect-2-objects 2079s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 2079s ok 7 /signal/handler/block-many 2079s # End of handler tests 2079s # End of signal tests 2079s ok - glib/signal-handler.test 2079s # Running test: glib/dbus-appinfo.test 2079s TAP version 14 2079s # random seed: R02Sac184ac7134bcfb3e7e050a170904435 2079s 1..3 2079s # Start of appinfo tests 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2079s ok 1 /appinfo/dbusappinfo 2079s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 2079s dbus-daemon[12901]: [session uid=1000 pid=12901] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=12900 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 2079s # Acquired a message bus connection 2079s dbus-daemon[12901]: [session uid=1000 pid=12901] Successfully activated service 'org.freedesktop.portal.Documents' 2079s # Acquired the name org.freedesktop.portal.Documents 2079s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 2079s ok 2 /appinfo/flatpak-doc-export 2079s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 2079s ok 3 /appinfo/flatpak-missing-doc-export 2079s # End of appinfo tests 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # Lost the name org.freedesktop.portal.Documents 2079s ok - glib/dbus-appinfo.test 2079s # Running test: glib/function-info.test 2079s TAP version 14 2079s # random seed: R02Sfad280ea0b8e546194e1a652b4eb4791 2079s 1..1 2079s # Start of function-info tests 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_496TX2/function-info/invoker/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_496TX2/function-info/invoker/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_496TX2/function-info/invoker/.dirs/runtime 2079s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2079s # /function-info/invoker summary: Test preparing a function invoker 2079s ok 1 /function-info/invoker 2079s # End of function-info tests 2079s ok - glib/function-info.test 2079s # Running test: glib/notify-init.test 2079s TAP version 14 2079s # random seed: R02S7b078cb3ea5f376745d010143a342d18 2079s 1..1 2079s # Start of properties tests 2079s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 2079s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 2079s ok 1 /properties/notify-in-init 2079s # End of properties tests 2079s ok - glib/notify-init.test 2079s # Running test: glib/gdbus-connection-loss.test 2079s TAP version 14 2079s # random seed: R02Scd842880b8e5f442cbe6e6701fd26945 2079s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2079s 1..1 2079s # Start of gdbus tests 2079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/home 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/cache 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/system-config2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/config 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/system-data2 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/data 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/state 2079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_XDOUX2/gdbus/connection-loss/.dirs/runtime 2079s ok 1 /gdbus/connection-loss 2079s # End of gdbus tests 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2079s ok - glib/gdbus-connection-loss.test 2079s # Running test: glib/g-icon.test 2079s TAP version 14 2079s # random seed: R02Sfec3ba3d200a153d27df3a0ebdaa4001 2079s 1..6 2079s # Start of icons tests 2079s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2079s ok 1 /icons/to-string 2079s ok 2 /icons/serialize 2079s ok 3 /icons/themed 2079s ok 4 /icons/emblemed 2079s ok 5 /icons/file 2079s ok 6 /icons/bytes 2079s # End of icons tests 2079s ok - glib/g-icon.test 2079s # Running test: glib/srvtarget.test 2079s TAP version 14 2079s # random seed: R02Sdb06f056c9cf85438d93b7111800e937 2079s 1..1 2079s # Start of srvtarget tests 2080s ok 1 /srvtarget/srv-target-ordering 2080s # End of srvtarget tests 2080s ok - glib/srvtarget.test 2080s # Running test: glib/mkenums.py.test 2080s TAP version 13 2080s ok 1 __main__.TestMkenums.test_available_in 2080s # tmpdir: /tmp/tmpwcgorpyo 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmpwcgorpyo/tmp26xpa6tc.h: 2080s # typedef enum { 2080s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 2080s # } GDBusServerFlags; 2080s # 2080s # /tmp/tmpwcgorpyo/tmpn0w76vm5.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwcgorpyo/tmpn0w76vm5.template', '/tmp/tmpwcgorpyo/tmp26xpa6tc.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmpwcgorpyo/tmp26xpa6tc.h 2080s # basename: tmp26xpa6tc.h 2080s # enumeration-production 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-header 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-production 2080s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2080s # valuenick: user 2080s # valuenum: 4 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-tail 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 2 __main__.TestMkenums.test_comma_in_enum_value 2080s # tmpdir: /tmp/tmp6lgdf19_ 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp6lgdf19_/tmpub2jk2fs.h: 2080s # typedef enum { 2080s # ENUM_VALUE_WITH_COMMA = ',', 2080s # } TestCommaEnum; 2080s # 2080s # /tmp/tmp6lgdf19_/tmpjv70uygt.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6lgdf19_/tmpjv70uygt.template', '/tmp/tmp6lgdf19_/tmpub2jk2fs.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmp6lgdf19_/tmpub2jk2fs.h 2080s # basename: tmpub2jk2fs.h 2080s # enumeration-production 2080s # EnumName: TestCommaEnum 2080s # enum_name: test_comma_enum 2080s # ENUMNAME: TEST_COMMA_ENUM 2080s # ENUMSHORT: COMMA_ENUM 2080s # ENUMPREFIX: TEST 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: TestCommaEnum 2080s # enum_name: test_comma_enum 2080s # ENUMNAME: TEST_COMMA_ENUM 2080s # ENUMSHORT: COMMA_ENUM 2080s # ENUMPREFIX: TEST 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: ENUM_VALUE_WITH_COMMA 2080s # valuenick: comma 2080s # valuenum: 44 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: TestCommaEnum 2080s # enum_name: test_comma_enum 2080s # ENUMNAME: TEST_COMMA_ENUM 2080s # ENUMSHORT: COMMA_ENUM 2080s # ENUMPREFIX: TEST 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 3 __main__.TestMkenums.test_deprecated_in 2080s # tmpdir: /tmp/tmp2jenbapt 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp2jenbapt/tmpbzzrdcum.h: 2080s # typedef enum { 2080s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 2080s # } GDBusServerFlags; 2080s # 2080s # /tmp/tmp2jenbapt/tmpz_6l9_8a.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2jenbapt/tmpz_6l9_8a.template', '/tmp/tmp2jenbapt/tmpbzzrdcum.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmp2jenbapt/tmpbzzrdcum.h 2080s # basename: tmpbzzrdcum.h 2080s # enumeration-production 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-header 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-production 2080s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2080s # valuenick: user 2080s # valuenum: 4 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-tail 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 4 __main__.TestMkenums.test_deprecated_in_for 2080s # tmpdir: /tmp/tmpcesv85_d 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmpcesv85_d/tmp0_36ljkb.h: 2080s # typedef enum { 2080s # 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) 2080s # } GDBusServerFlags; 2080s # 2080s # /tmp/tmpcesv85_d/tmp2fvuiax3.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcesv85_d/tmp2fvuiax3.template', '/tmp/tmpcesv85_d/tmp0_36ljkb.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmpcesv85_d/tmp0_36ljkb.h 2080s # basename: tmp0_36ljkb.h 2080s # enumeration-production 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-header 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-production 2080s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2080s # valuenick: user 2080s # valuenum: 4 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # value-tail 2080s # EnumName: GDBusServerFlags 2080s # enum_name: g_dbus_server_flags 2080s # ENUMNAME: G_DBUS_SERVER_FLAGS 2080s # ENUMSHORT: DBUS_SERVER_FLAGS 2080s # ENUMPREFIX: G 2080s # enumsince: 2080s # type: flags 2080s # Type: Flags 2080s # TYPE: FLAGS 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 5 __main__.TestMkenums.test_empty_header 2080s # tmpdir: /tmp/tmp_bs7su6y 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp_bs7su6y/tmp6r_tc38b.h: 2080s # /tmp/tmp_bs7su6y/tmprjaitb4x.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_bs7su6y/tmprjaitb4x.template', '/tmp/tmp_bs7su6y/tmp6r_tc38b.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 6 __main__.TestMkenums.test_empty_template 2080s # tmpdir: /tmp/tmp_vfdbi08 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp_vfdbi08/tmpg5t7ahep.template: 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_vfdbi08/tmpg5t7ahep.template'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # 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. */ 2080s # 2080s # 2080s # /* Generated data ends here */ 2080s ok 7 __main__.TestMkenums.test_enum_name 2080s # tmpdir: /tmp/tmp2z5ug8a1 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp2z5ug8a1/tmp4vkie2t0.h: 2080s # typedef enum _SomeEnumIdentifier { 2080s # ENUM_VALUE 2080s # } SomeEnumIdentifier; 2080s # 2080s # /tmp/tmp2z5ug8a1/tmpf30kvyny.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2z5ug8a1/tmpf30kvyny.template', '/tmp/tmp2z5ug8a1/tmp4vkie2t0.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmp2z5ug8a1/tmp4vkie2t0.h 2080s # basename: tmp4vkie2t0.h 2080s # enumeration-production 2080s # EnumName: SomeEnumIdentifier 2080s # enum_name: some_enum_identifier 2080s # ENUMNAME: SOME_ENUM_IDENTIFIER 2080s # ENUMSHORT: ENUM_IDENTIFIER 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: SomeEnumIdentifier 2080s # enum_name: some_enum_identifier 2080s # ENUMNAME: SOME_ENUM_IDENTIFIER 2080s # ENUMSHORT: ENUM_IDENTIFIER 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: ENUM_VALUE 2080s # valuenick: value 2080s # valuenum: 0 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: SomeEnumIdentifier 2080s # enum_name: some_enum_identifier 2080s # ENUMNAME: SOME_ENUM_IDENTIFIER 2080s # ENUMSHORT: ENUM_IDENTIFIER 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 8 __main__.TestMkenums.test_enum_private_public 2080s # tmpdir: /tmp/tmp6wmzfqii 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp6wmzfqii/tmpkwvy23nu.h: 2080s # typedef enum { 2080s # ENUM_VALUE_PUBLIC1, 2080s # /*< private >*/ 2080s # ENUM_VALUE_PRIVATE, 2080s # } SomeEnumA 2080s # 2080s # /tmp/tmp6wmzfqii/tmp5cgmpi9w.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6wmzfqii/tmp5cgmpi9w.template', '/tmp/tmp6wmzfqii/tmpkwvy23nu.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmp6wmzfqii/tmpkwvy23nu.h 2080s # basename: tmpkwvy23nu.h 2080s # enumeration-production 2080s # EnumName: SomeEnumA 2080s # enum_name: some_enum_a 2080s # ENUMNAME: SOME_ENUM_A 2080s # ENUMSHORT: ENUM_A 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: SomeEnumA 2080s # enum_name: some_enum_a 2080s # ENUMNAME: SOME_ENUM_A 2080s # ENUMSHORT: ENUM_A 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: ENUM_VALUE_PUBLIC1 2080s # valuenick: public1 2080s # valuenum: 0 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: SomeEnumA 2080s # enum_name: some_enum_a 2080s # ENUMNAME: SOME_ENUM_A 2080s # ENUMSHORT: ENUM_A 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s # /tmp/tmp6wmzfqii/tmpgayy72sp.h: 2080s # typedef enum { 2080s # /*< private >*/ 2080s # ENUM_VALUE_PRIVATE, 2080s # /*< public >*/ 2080s # ENUM_VALUE_PUBLIC2, 2080s # } SomeEnumB; 2080s # 2080s # /tmp/tmp6wmzfqii/tmpcvtmv72b.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6wmzfqii/tmpcvtmv72b.template', '/tmp/tmp6wmzfqii/tmpgayy72sp.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmp6wmzfqii/tmpgayy72sp.h 2080s # basename: tmpgayy72sp.h 2080s # enumeration-production 2080s # EnumName: SomeEnumB 2080s # enum_name: some_enum_b 2080s # ENUMNAME: SOME_ENUM_B 2080s # ENUMSHORT: ENUM_B 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: SomeEnumB 2080s # enum_name: some_enum_b 2080s # ENUMNAME: SOME_ENUM_B 2080s # ENUMSHORT: ENUM_B 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: ENUM_VALUE_PUBLIC2 2080s # valuenick: public2 2080s # valuenum: 1 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: SomeEnumB 2080s # enum_name: some_enum_b 2080s # ENUMNAME: SOME_ENUM_B 2080s # ENUMSHORT: ENUM_B 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 2080s # tmpdir: /tmp/tmpujc24oar 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmpujc24oar/tmpz0qpl7hm.h: 2080s # typedef enum { 2080s # /*< private >*/ 2080s # ENUM_VALUE_PRIVATE = 5, 2080s # /*< public >*/ 2080s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 2080s # } TestSymbolicEnum; 2080s # 2080s # /tmp/tmpujc24oar/tmp2fdp2j3t.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpujc24oar/tmp2fdp2j3t.template', '/tmp/tmpujc24oar/tmpz0qpl7hm.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmpujc24oar/tmpz0qpl7hm.h 2080s # basename: tmpz0qpl7hm.h 2080s # enumeration-production 2080s # EnumName: TestSymbolicEnum 2080s # enum_name: test_symbolic_enum 2080s # ENUMNAME: TEST_SYMBOLIC_ENUM 2080s # ENUMSHORT: SYMBOLIC_ENUM 2080s # ENUMPREFIX: TEST 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: TestSymbolicEnum 2080s # enum_name: test_symbolic_enum 2080s # ENUMNAME: TEST_SYMBOLIC_ENUM 2080s # ENUMSHORT: SYMBOLIC_ENUM 2080s # ENUMPREFIX: TEST 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: ENUM_VALUE_PUBLIC 2080s # valuenick: public 2080s # valuenum: 7 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: TestSymbolicEnum 2080s # enum_name: test_symbolic_enum 2080s # ENUMNAME: TEST_SYMBOLIC_ENUM 2080s # ENUMSHORT: SYMBOLIC_ENUM 2080s # ENUMPREFIX: TEST 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 2080s # tmpdir: /tmp/tmplbe7te7g 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmplbe7te7g/tmpi96hpmr8.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-tail ***/ 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplbe7te7g/tmpi96hpmr8.template'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # file-tail 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s # Executing: glib/mkenums.py.test 2080s ok 11 __main__.TestMkenums.test_help 2080s # tmpdir: /tmp/tmpp2_z0uv0 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # Running: ['/usr/bin/glib-mkenums', '--help'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 2080s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 2080s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 2080s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 2080s # [--comments COMMENT_TMPL] [--template TEMPLATE] 2080s # [--output OUTPUT] [--version] 2080s # [args ...] 2080s # 2080s # positional arguments: 2080s # args One or more input files, or a single argument 2080s # @rspfile_path pointing to a file that contains the 2080s # actual arguments 2080s # 2080s # options: 2080s # -h, --help show this help message and exit 2080s # --identifier-prefix IDPREFIX 2080s # Identifier prefix 2080s # --symbol-prefix SYMPREFIX 2080s # Symbol prefix 2080s # --fhead FHEAD Output file header 2080s # --ftail FTAIL Output file footer 2080s # --fprod FPROD Put out TEXT every time a new input file is being 2080s # processed. 2080s # --eprod EPROD Per enum text, produced prior to value iterations 2080s # --vhead VHEAD Value header, produced before iterating over enum 2080s # values 2080s # --vprod VPROD Value text, produced for each enum value. 2080s # --vtail VTAIL Value tail, produced after iterating over enum values 2080s # --comments COMMENT_TMPL 2080s # Comment structure 2080s # --template TEMPLATE Template file 2080s # --output OUTPUT 2080s # --version, -v Print version information 2080s # 2080s # Production text substitutions: 2080s # @EnumName@ PrefixTheXEnum 2080s # @enum_name@ prefix_the_xenum 2080s # @ENUMNAME@ PREFIX_THE_XENUM 2080s # @ENUMSHORT@ THE_XENUM 2080s # @ENUMPREFIX@ PREFIX 2080s # @enumsince@ the user-provided since value given 2080s # @VALUENAME@ PREFIX_THE_XVALUE 2080s # @valuenick@ the-xvalue 2080s # @valuenum@ the integer value (limited support, Since: 2.26) 2080s # @type@ either enum or flags 2080s # @Type@ either Enum or Flags 2080s # @TYPE@ either ENUM or FLAGS 2080s # @filename@ name of current input file 2080s # @basename@ base name of the current input file (Since: 2.22) 2080s ok 12 __main__.TestMkenums.test_no_args 2080s # tmpdir: /tmp/tmpste8le_q 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # Running: ['/usr/bin/glib-mkenums'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # 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. */ 2080s # 2080s # 2080s # /* Generated data ends here */ 2080s ok 13 __main__.TestMkenums.test_no_headers 2080s # tmpdir: /tmp/tmp7hta80ve 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmp7hta80ve/tmpmt_uqb_f.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7hta80ve/tmpmt_uqb_f.template'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 14 __main__.TestMkenums.test_no_nick 2080s # tmpdir: /tmp/tmphebq59cw 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmphebq59cw/tmpvyy27e8b.h: 2080s # typedef enum { 2080s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 2080s # } GeglSamplerType; 2080s # 2080s # /tmp/tmphebq59cw/tmp04a5ktqw.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphebq59cw/tmp04a5ktqw.template', '/tmp/tmphebq59cw/tmpvyy27e8b.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmphebq59cw/tmpvyy27e8b.h 2080s # basename: tmpvyy27e8b.h 2080s # enumeration-production 2080s # EnumName: GeglSamplerType 2080s # enum_name: gegl_sampler_type 2080s # ENUMNAME: GEGL_SAMPLER_TYPE 2080s # ENUMSHORT: SAMPLER_TYPE 2080s # ENUMPREFIX: GEGL 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: GeglSamplerType 2080s # enum_name: gegl_sampler_type 2080s # ENUMNAME: GEGL_SAMPLER_TYPE 2080s # ENUMSHORT: SAMPLER_TYPE 2080s # ENUMPREFIX: GEGL 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: GEGL_SAMPLER_NEAREST 2080s # valuenick: nearest 2080s # valuenum: 0 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: GeglSamplerType 2080s # enum_name: gegl_sampler_type 2080s # ENUMNAME: GEGL_SAMPLER_TYPE 2080s # ENUMSHORT: SAMPLER_TYPE 2080s # ENUMPREFIX: GEGL 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2080s ok 15 __main__.TestMkenums.test_non_utf8_encoding 2080s # tmpdir: /tmp/tmpgmy_lzb4 2080s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2080s # /tmp/tmpgmy_lzb4/tmpwhpbmw3d.h: 2080s # /* Copyright © La Peña */ 2080s # typedef enum { 2080s # ENUM_VALUE 2080s # } SomeEnumIdentifier; 2080s # 2080s # /tmp/tmpgmy_lzb4/tmp8quc85wc.template: 2080s # /*** BEGIN file-header ***/ 2080s # file-header 2080s # /*** END file-header ***/ 2080s # 2080s # /*** BEGIN file-production ***/ 2080s # file-production 2080s # filename: @filename@ 2080s # basename: @basename@ 2080s # /*** END file-production ***/ 2080s # 2080s # /*** BEGIN enumeration-production ***/ 2080s # enumeration-production 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END enumeration-production ***/ 2080s # 2080s # /*** BEGIN value-header ***/ 2080s # value-header 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-header ***/ 2080s # 2080s # /*** BEGIN value-production ***/ 2080s # value-production 2080s # VALUENAME: @VALUENAME@ 2080s # valuenick: @valuenick@ 2080s # valuenum: @valuenum@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-production ***/ 2080s # 2080s # /*** BEGIN value-tail ***/ 2080s # value-tail 2080s # EnumName: @EnumName@ 2080s # enum_name: @enum_name@ 2080s # ENUMNAME: @ENUMNAME@ 2080s # ENUMSHORT: @ENUMSHORT@ 2080s # ENUMPREFIX: @ENUMPREFIX@ 2080s # enumsince: @enumsince@ 2080s # type: @type@ 2080s # Type: @Type@ 2080s # TYPE: @TYPE@ 2080s # /*** END value-tail ***/ 2080s # 2080s # /*** BEGIN comment ***/ 2080s # comment 2080s # comment: @comment@ 2080s # /*** END comment ***/ 2080s # 2080s # /*** BEGIN file-tail ***/ 2080s # file-tail 2080s # /*** END file-tail ***/ 2080s # 2080s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgmy_lzb4/tmp8quc85wc.template', '/tmp/tmpgmy_lzb4/tmpwhpbmw3d.h'] 2080s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2080s # Output: comment 2080s # 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. 2080s # 2080s # 2080s # file-header 2080s # file-production 2080s # filename: /tmp/tmpgmy_lzb4/tmpwhpbmw3d.h 2080s # basename: tmpwhpbmw3d.h 2080s # enumeration-production 2080s # EnumName: SomeEnumIdentifier 2080s # enum_name: some_enum_identifier 2080s # ENUMNAME: SOME_ENUM_IDENTIFIER 2080s # ENUMSHORT: ENUM_IDENTIFIER 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-header 2080s # EnumName: SomeEnumIdentifier 2080s # enum_name: some_enum_identifier 2080s # ENUMNAME: SOME_ENUM_IDENTIFIER 2080s # ENUMSHORT: ENUM_IDENTIFIER 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-production 2080s # VALUENAME: ENUM_VALUE 2080s # valuenick: value 2080s # valuenum: 0 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # value-tail 2080s # EnumName: SomeEnumIdentifier 2080s # enum_name: some_enum_identifier 2080s # ENUMNAME: SOME_ENUM_IDENTIFIER 2080s # ENUMSHORT: ENUM_IDENTIFIER 2080s # ENUMPREFIX: SOME 2080s # enumsince: 2080s # type: enum 2080s # Type: Enum 2080s # TYPE: ENUM 2080s # file-tail 2080s # 2080s # comment 2080s # comment: Generated data ends here 2081s ok 16 __main__.TestMkenums.test_reproducible 2081s # tmpdir: /tmp/tmpqcj45_gq 2081s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpqcj45_gq/tmpfdffi6r2.template: template 2081s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqcj45_gq/tmpfdffi6r2.template', '/tmp/tmpqcj45_gq/tmpcbc0zfw51.h', '/tmp/tmpqcj45_gq/tmph7nziq6n2.h'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # 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. */ 2081s # 2081s # 2081s # /* Generated data ends here */ 2081s # /tmp/tmpqcj45_gq/tmpcwhoi6hl.template: template 2081s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqcj45_gq/tmpcwhoi6hl.template', '/tmp/tmpqcj45_gq/tmph7nziq6n2.h', '/tmp/tmpqcj45_gq/tmpcbc0zfw51.h'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # 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. */ 2081s # 2081s # 2081s # /* Generated data ends here */ 2081s ok 17 __main__.TestMkenums.test_since 2081s # tmpdir: /tmp/tmpm0zs_eko 2081s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpm0zs_eko/tmpl2lowz03.h: 2081s # typedef enum { /*< since=1.0 >*/ 2081s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 2081s # } QmiWmsMessageProtocol; 2081s # 2081s # /tmp/tmpm0zs_eko/tmp6m4mbslh.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpm0zs_eko/tmp6m4mbslh.template', '/tmp/tmpm0zs_eko/tmpl2lowz03.h'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpm0zs_eko/tmpl2lowz03.h 2081s # basename: tmpl2lowz03.h 2081s # enumeration-production 2081s # EnumName: QmiWmsMessageProtocol 2081s # enum_name: qmi_wms_message_protocol 2081s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2081s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2081s # ENUMPREFIX: QMI 2081s # enumsince: 1.0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: QmiWmsMessageProtocol 2081s # enum_name: qmi_wms_message_protocol 2081s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2081s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2081s # ENUMPREFIX: QMI 2081s # enumsince: 1.0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 2081s # valuenick: cdma 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: QmiWmsMessageProtocol 2081s # enum_name: qmi_wms_message_protocol 2081s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2081s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2081s # ENUMPREFIX: QMI 2081s # enumsince: 1.0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 18 __main__.TestMkenums.test_with_double_quotes 2081s # tmpdir: /tmp/tmpyosyr33r 2081s # rspfile: False, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpyosyr33r/tmp4r9f0o58.h: 2081s # typedef enum { 2081s # FOO_VALUE /*< nick="eek, a comma" >*/ 2081s # } Foo; 2081s # 2081s # /tmp/tmpyosyr33r/tmp0d_kfpzp.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyosyr33r/tmp0d_kfpzp.template', '/tmp/tmpyosyr33r/tmp4r9f0o58.h'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpyosyr33r/tmp4r9f0o58.h 2081s # basename: tmp4r9f0o58.h 2081s # enumeration-production 2081s # EnumName: Foo 2081s # enum_name: foo_ 2081s # ENUMNAME: FOO_ 2081s # ENUMSHORT: 2081s # ENUMPREFIX: FOO 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: Foo 2081s # enum_name: foo_ 2081s # ENUMNAME: FOO_ 2081s # ENUMSHORT: 2081s # ENUMPREFIX: FOO 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: FOO_VALUE 2081s # valuenick: eek, a comma 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: Foo 2081s # enum_name: foo_ 2081s # ENUMNAME: FOO_ 2081s # ENUMSHORT: 2081s # ENUMPREFIX: FOO 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 19 __main__.TestRspMkenums.test_available_in 2081s # tmpdir: /tmp/tmp1mr7h9zj 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmp1mr7h9zj/tmp2cu0hchc.h: 2081s # typedef enum { 2081s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 2081s # } GDBusServerFlags; 2081s # 2081s # /tmp/tmp1mr7h9zj/tmpx3k089bb.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmp1mr7h9zj/tmpx3k089bb.template /tmp/tmp1mr7h9zj/tmp2cu0hchc.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1mr7h9zj/tmp9sx6fafz'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmp1mr7h9zj/tmp2cu0hchc.h 2081s # basename: tmp2cu0hchc.h 2081s # enumeration-production 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-header 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-production 2081s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2081s # valuenick: user 2081s # valuenum: 4 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-tail 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 2081s # tmpdir: /tmp/tmp5qy82ih2 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmp5qy82ih2/tmpf1uw2liv.h: 2081s # typedef enum { 2081s # ENUM_VALUE_WITH_COMMA = ',', 2081s # } TestCommaEnum; 2081s # 2081s # /tmp/tmp5qy82ih2/tmp7fk1ydob.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmp5qy82ih2/tmp7fk1ydob.template /tmp/tmp5qy82ih2/tmpf1uw2liv.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5qy82ih2/tmp182ii64m'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmp5qy82ih2/tmpf1uw2liv.h 2081s # basename: tmpf1uw2liv.h 2081s # enumeration-production 2081s # EnumName: TestCommaEnum 2081s # enum_name: test_comma_enum 2081s # ENUMNAME: TEST_COMMA_ENUM 2081s # ENUMSHORT: COMMA_ENUM 2081s # ENUMPREFIX: TEST 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: TestCommaEnum 2081s # enum_name: test_comma_enum 2081s # ENUMNAME: TEST_COMMA_ENUM 2081s # ENUMSHORT: COMMA_ENUM 2081s # ENUMPREFIX: TEST 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: ENUM_VALUE_WITH_COMMA 2081s # valuenick: comma 2081s # valuenum: 44 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: TestCommaEnum 2081s # enum_name: test_comma_enum 2081s # ENUMNAME: TEST_COMMA_ENUM 2081s # ENUMSHORT: COMMA_ENUM 2081s # ENUMPREFIX: TEST 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 21 __main__.TestRspMkenums.test_deprecated_in 2081s # tmpdir: /tmp/tmpoizhrcf0 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpoizhrcf0/tmppwhjd83k.h: 2081s # typedef enum { 2081s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 2081s # } GDBusServerFlags; 2081s # 2081s # /tmp/tmpoizhrcf0/tmpj0el86ih.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpoizhrcf0/tmpj0el86ih.template /tmp/tmpoizhrcf0/tmppwhjd83k.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoizhrcf0/tmpk7wbia0z'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpoizhrcf0/tmppwhjd83k.h 2081s # basename: tmppwhjd83k.h 2081s # enumeration-production 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-header 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-production 2081s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2081s # valuenick: user 2081s # valuenum: 4 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-tail 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 2081s # tmpdir: /tmp/tmpsaugos52 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpsaugos52/tmprbkesd05.h: 2081s # typedef enum { 2081s # 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) 2081s # } GDBusServerFlags; 2081s # 2081s # /tmp/tmpsaugos52/tmp7gx39kkr.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpsaugos52/tmp7gx39kkr.template /tmp/tmpsaugos52/tmprbkesd05.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsaugos52/tmpaw5b1797'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpsaugos52/tmprbkesd05.h 2081s # basename: tmprbkesd05.h 2081s # enumeration-production 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-header 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-production 2081s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2081s # valuenick: user 2081s # valuenum: 4 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # value-tail 2081s # EnumName: GDBusServerFlags 2081s # enum_name: g_dbus_server_flags 2081s # ENUMNAME: G_DBUS_SERVER_FLAGS 2081s # ENUMSHORT: DBUS_SERVER_FLAGS 2081s # ENUMPREFIX: G 2081s # enumsince: 2081s # type: flags 2081s # Type: Flags 2081s # TYPE: FLAGS 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 23 __main__.TestRspMkenums.test_empty_header 2081s # tmpdir: /tmp/tmpb3rcorpc 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpb3rcorpc/tmpb00ymgpl.h: 2081s # /tmp/tmpb3rcorpc/tmpmegbtypk.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpb3rcorpc/tmpmegbtypk.template /tmp/tmpb3rcorpc/tmpb00ymgpl.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb3rcorpc/tmpgevajem9'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 24 __main__.TestRspMkenums.test_empty_template 2081s # tmpdir: /tmp/tmpsoy9u6k1 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpsoy9u6k1/tmp95igb6mt.template: 2081s # Response file contains: --template /tmp/tmpsoy9u6k1/tmp95igb6mt.template 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsoy9u6k1/tmpgk65iz7p'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # 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. */ 2081s # 2081s # 2081s # /* Generated data ends here */ 2081s ok 25 __main__.TestRspMkenums.test_enum_name 2081s # tmpdir: /tmp/tmpels8izsf 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpels8izsf/tmpd2qtp1mh.h: 2081s # typedef enum _SomeEnumIdentifier { 2081s # ENUM_VALUE 2081s # } SomeEnumIdentifier; 2081s # 2081s # /tmp/tmpels8izsf/tmpkuliub4k.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpels8izsf/tmpkuliub4k.template /tmp/tmpels8izsf/tmpd2qtp1mh.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpels8izsf/tmp9cw019eu'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpels8izsf/tmpd2qtp1mh.h 2081s # basename: tmpd2qtp1mh.h 2081s # enumeration-production 2081s # EnumName: SomeEnumIdentifier 2081s # enum_name: some_enum_identifier 2081s # ENUMNAME: SOME_ENUM_IDENTIFIER 2081s # ENUMSHORT: ENUM_IDENTIFIER 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: SomeEnumIdentifier 2081s # enum_name: some_enum_identifier 2081s # ENUMNAME: SOME_ENUM_IDENTIFIER 2081s # ENUMSHORT: ENUM_IDENTIFIER 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: ENUM_VALUE 2081s # valuenick: value 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: SomeEnumIdentifier 2081s # enum_name: some_enum_identifier 2081s # ENUMNAME: SOME_ENUM_IDENTIFIER 2081s # ENUMSHORT: ENUM_IDENTIFIER 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 26 __main__.TestRspMkenums.test_enum_private_public 2081s # tmpdir: /tmp/tmpin8e3o8l 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpin8e3o8l/tmp0orwyqf2.h: 2081s # typedef enum { 2081s # ENUM_VALUE_PUBLIC1, 2081s # /*< private >*/ 2081s # ENUM_VALUE_PRIVATE, 2081s # } SomeEnumA 2081s # 2081s # /tmp/tmpin8e3o8l/tmp8wa9t194.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpin8e3o8l/tmp8wa9t194.template /tmp/tmpin8e3o8l/tmp0orwyqf2.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpin8e3o8l/tmpc828w267'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpin8e3o8l/tmp0orwyqf2.h 2081s # basename: tmp0orwyqf2.h 2081s # enumeration-production 2081s # EnumName: SomeEnumA 2081s # enum_name: some_enum_a 2081s # ENUMNAME: SOME_ENUM_A 2081s # ENUMSHORT: ENUM_A 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: SomeEnumA 2081s # enum_name: some_enum_a 2081s # ENUMNAME: SOME_ENUM_A 2081s # ENUMSHORT: ENUM_A 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: ENUM_VALUE_PUBLIC1 2081s # valuenick: public1 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: SomeEnumA 2081s # enum_name: some_enum_a 2081s # ENUMNAME: SOME_ENUM_A 2081s # ENUMSHORT: ENUM_A 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s # /tmp/tmpin8e3o8l/tmpn947hvj9.h: 2081s # typedef enum { 2081s # /*< private >*/ 2081s # ENUM_VALUE_PRIVATE, 2081s # /*< public >*/ 2081s # ENUM_VALUE_PUBLIC2, 2081s # } SomeEnumB; 2081s # 2081s # /tmp/tmpin8e3o8l/tmpiv94jjwg.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpin8e3o8l/tmpiv94jjwg.template /tmp/tmpin8e3o8l/tmpn947hvj9.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpin8e3o8l/tmpgu_9p07r'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpin8e3o8l/tmpn947hvj9.h 2081s # basename: tmpn947hvj9.h 2081s # enumeration-production 2081s # EnumName: SomeEnumB 2081s # enum_name: some_enum_b 2081s # ENUMNAME: SOME_ENUM_B 2081s # ENUMSHORT: ENUM_B 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: SomeEnumB 2081s # enum_name: some_enum_b 2081s # ENUMNAME: SOME_ENUM_B 2081s # ENUMSHORT: ENUM_B 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: ENUM_VALUE_PUBLIC2 2081s # valuenick: public2 2081s # valuenum: 1 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: SomeEnumB 2081s # enum_name: some_enum_b 2081s # ENUMNAME: SOME_ENUM_B 2081s # ENUMSHORT: ENUM_B 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 2081s # tmpdir: /tmp/tmplrrf9_w9 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmplrrf9_w9/tmp9uzkm_zo.h: 2081s # typedef enum { 2081s # /*< private >*/ 2081s # ENUM_VALUE_PRIVATE = 5, 2081s # /*< public >*/ 2081s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 2081s # } TestSymbolicEnum; 2081s # 2081s # /tmp/tmplrrf9_w9/tmphhslpbs0.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmplrrf9_w9/tmphhslpbs0.template /tmp/tmplrrf9_w9/tmp9uzkm_zo.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplrrf9_w9/tmpn8od_v2l'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmplrrf9_w9/tmp9uzkm_zo.h 2081s # basename: tmp9uzkm_zo.h 2081s # enumeration-production 2081s # EnumName: TestSymbolicEnum 2081s # enum_name: test_symbolic_enum 2081s # ENUMNAME: TEST_SYMBOLIC_ENUM 2081s # ENUMSHORT: SYMBOLIC_ENUM 2081s # ENUMPREFIX: TEST 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: TestSymbolicEnum 2081s # enum_name: test_symbolic_enum 2081s # ENUMNAME: TEST_SYMBOLIC_ENUM 2081s # ENUMSHORT: SYMBOLIC_ENUM 2081s # ENUMPREFIX: TEST 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: ENUM_VALUE_PUBLIC 2081s # valuenick: public 2081s # valuenum: 7 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: TestSymbolicEnum 2081s # enum_name: test_symbolic_enum 2081s # ENUMNAME: TEST_SYMBOLIC_ENUM 2081s # ENUMSHORT: SYMBOLIC_ENUM 2081s # ENUMPREFIX: TEST 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 2081s # tmpdir: /tmp/tmp9quynjyg 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmp9quynjyg/tmpg33nvdex.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-tail ***/ 2081s # Response file contains: --template /tmp/tmp9quynjyg/tmpg33nvdex.template 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9quynjyg/tmpe1dunmqw'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # file-tail 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 29 __main__.TestRspMkenums.test_help 2081s # tmpdir: /tmp/tmp8hyt6j3n 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # Response file contains: --help 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8hyt6j3n/tmpt3sehky_'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 2081s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 2081s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 2081s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 2081s # [--comments COMMENT_TMPL] [--template TEMPLATE] 2081s # [--output OUTPUT] [--version] 2081s # [args ...] 2081s # 2081s # positional arguments: 2081s # args One or more input files, or a single argument 2081s # @rspfile_path pointing to a file that contains the 2081s # actual arguments 2081s # 2081s # options: 2081s # -h, --help show this help message and exit 2081s # --identifier-prefix IDPREFIX 2081s # Identifier prefix 2081s # --symbol-prefix SYMPREFIX 2081s # Symbol prefix 2081s # --fhead FHEAD Output file header 2081s # --ftail FTAIL Output file footer 2081s # --fprod FPROD Put out TEXT every time a new input file is being 2081s # processed. 2081s # --eprod EPROD Per enum text, produced prior to value iterations 2081s # --vhead VHEAD Value header, produced before iterating over enum 2081s # values 2081s # --vprod VPROD Value text, produced for each enum value. 2081s # --vtail VTAIL Value tail, produced after iterating over enum values 2081s # --comments COMMENT_TMPL 2081s # Comment structure 2081s # --template TEMPLATE Template file 2081s # --output OUTPUT 2081s # --version, -v Print version information 2081s # 2081s # Production text substitutions: 2081s # @EnumName@ PrefixTheXEnum 2081s # @enum_name@ prefix_the_xenum 2081s # @ENUMNAME@ PREFIX_THE_XENUM 2081s # @ENUMSHORT@ THE_XENUM 2081s # @ENUMPREFIX@ PREFIX 2081s # @enumsince@ the user-provided since value given 2081s # @VALUENAME@ PREFIX_THE_XVALUE 2081s # @valuenick@ the-xvalue 2081s # @valuenum@ the integer value (limited support, Since: 2.26) 2081s # @type@ either enum or flags 2081s # @Type@ either Enum or Flags 2081s # @TYPE@ either ENUM or FLAGS 2081s # @filename@ name of current input file 2081s # @basename@ base name of the current input file (Since: 2.22) 2081s ok 30 __main__.TestRspMkenums.test_no_args 2081s # tmpdir: /tmp/tmpwpp33sdz 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # Response file contains: 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwpp33sdz/tmpheu9fmzl'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # 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. */ 2081s # 2081s # 2081s # /* Generated data ends here */ 2081s ok 31 __main__.TestRspMkenums.test_no_headers 2081s # tmpdir: /tmp/tmpo8pzpg0u 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpo8pzpg0u/tmpzmf6yi2y.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpo8pzpg0u/tmpzmf6yi2y.template 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo8pzpg0u/tmp5ysyw1r_'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 32 __main__.TestRspMkenums.test_no_nick 2081s # tmpdir: /tmp/tmpymbw3ozg 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpymbw3ozg/tmphfeznkkm.h: 2081s # typedef enum { 2081s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 2081s # } GeglSamplerType; 2081s # 2081s # /tmp/tmpymbw3ozg/tmpo9w0oqfz.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpymbw3ozg/tmpo9w0oqfz.template /tmp/tmpymbw3ozg/tmphfeznkkm.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpymbw3ozg/tmp5puuin4o'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpymbw3ozg/tmphfeznkkm.h 2081s # basename: tmphfeznkkm.h 2081s # enumeration-production 2081s # EnumName: GeglSamplerType 2081s # enum_name: gegl_sampler_type 2081s # ENUMNAME: GEGL_SAMPLER_TYPE 2081s # ENUMSHORT: SAMPLER_TYPE 2081s # ENUMPREFIX: GEGL 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: GeglSamplerType 2081s # enum_name: gegl_sampler_type 2081s # ENUMNAME: GEGL_SAMPLER_TYPE 2081s # ENUMSHORT: SAMPLER_TYPE 2081s # ENUMPREFIX: GEGL 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: GEGL_SAMPLER_NEAREST 2081s # valuenick: nearest 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: GeglSamplerType 2081s # enum_name: gegl_sampler_type 2081s # ENUMNAME: GEGL_SAMPLER_TYPE 2081s # ENUMSHORT: SAMPLER_TYPE 2081s # ENUMPREFIX: GEGL 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 2081s # tmpdir: /tmp/tmpcozeji20 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpcozeji20/tmpex06fgg3.h: 2081s # /* Copyright © La Peña */ 2081s # typedef enum { 2081s # ENUM_VALUE 2081s # } SomeEnumIdentifier; 2081s # 2081s # /tmp/tmpcozeji20/tmpewhitsbv.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpcozeji20/tmpewhitsbv.template /tmp/tmpcozeji20/tmpex06fgg3.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcozeji20/tmpck2axp3p'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpcozeji20/tmpex06fgg3.h 2081s # basename: tmpex06fgg3.h 2081s # enumeration-production 2081s # EnumName: SomeEnumIdentifier 2081s # enum_name: some_enum_identifier 2081s # ENUMNAME: SOME_ENUM_IDENTIFIER 2081s # ENUMSHORT: ENUM_IDENTIFIER 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: SomeEnumIdentifier 2081s # enum_name: some_enum_identifier 2081s # ENUMNAME: SOME_ENUM_IDENTIFIER 2081s # ENUMSHORT: ENUM_IDENTIFIER 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: ENUM_VALUE 2081s # valuenick: value 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: SomeEnumIdentifier 2081s # enum_name: some_enum_identifier 2081s # ENUMNAME: SOME_ENUM_IDENTIFIER 2081s # ENUMSHORT: ENUM_IDENTIFIER 2081s # ENUMPREFIX: SOME 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 34 __main__.TestRspMkenums.test_reproducible 2081s # tmpdir: /tmp/tmp0_ubm5hq 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmp0_ubm5hq/tmpyid16zkc.template: template 2081s # Response file contains: --template /tmp/tmp0_ubm5hq/tmpyid16zkc.template /tmp/tmp0_ubm5hq/tmp3xl36v7b1.h /tmp/tmp0_ubm5hq/tmp6j7t_ze82.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0_ubm5hq/tmp2klpbvas'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # 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. */ 2081s # 2081s # 2081s # /* Generated data ends here */ 2081s # /tmp/tmp0_ubm5hq/tmp8li5xcju.template: template 2081s # Response file contains: --template /tmp/tmp0_ubm5hq/tmp8li5xcju.template /tmp/tmp0_ubm5hq/tmp6j7t_ze82.h /tmp/tmp0_ubm5hq/tmp3xl36v7b1.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0_ubm5hq/tmp3_s6_nr7'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # 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. */ 2081s # 2081s # 2081s # /* Generated data ends here */ 2081s ok 35 __main__.TestRspMkenums.test_since 2081s # tmpdir: /tmp/tmps9lr17ye 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmps9lr17ye/tmppq53oij0.h: 2081s # typedef enum { /*< since=1.0 >*/ 2081s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 2081s # } QmiWmsMessageProtocol; 2081s # 2081s # /tmp/tmps9lr17ye/tmper07wz6o.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmps9lr17ye/tmper07wz6o.template /tmp/tmps9lr17ye/tmppq53oij0.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps9lr17ye/tmps8acg5gc'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmps9lr17ye/tmppq53oij0.h 2081s # basename: tmppq53oij0.h 2081s # enumeration-production 2081s # EnumName: QmiWmsMessageProtocol 2081s # enum_name: qmi_wms_message_protocol 2081s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2081s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2081s # ENUMPREFIX: QMI 2081s # enumsince: 1.0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: QmiWmsMessageProtocol 2081s # enum_name: qmi_wms_message_protocol 2081s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2081s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2081s # ENUMPREFIX: QMI 2081s # enumsince: 1.0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 2081s # valuenick: cdma 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: QmiWmsMessageProtocol 2081s # enum_name: qmi_wms_message_protocol 2081s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2081s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2081s # ENUMPREFIX: QMI 2081s # enumsince: 1.0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s ok 36 __main__.TestRspMkenums.test_with_double_quotes 2081s # tmpdir: /tmp/tmpgwglhn90 2081s # rspfile: True, mkenums: /usr/bin/glib-mkenums 2081s # /tmp/tmpgwglhn90/tmpxtjn6d4h.h: 2081s # typedef enum { 2081s # FOO_VALUE /*< nick="eek, a comma" >*/ 2081s # } Foo; 2081s # 2081s # /tmp/tmpgwglhn90/tmpkgegtm_8.template: 2081s # /*** BEGIN file-header ***/ 2081s # file-header 2081s # /*** END file-header ***/ 2081s # 2081s # /*** BEGIN file-production ***/ 2081s # file-production 2081s # filename: @filename@ 2081s # basename: @basename@ 2081s # /*** END file-production ***/ 2081s # 2081s # /*** BEGIN enumeration-production ***/ 2081s # enumeration-production 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END enumeration-production ***/ 2081s # 2081s # /*** BEGIN value-header ***/ 2081s # value-header 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-header ***/ 2081s # 2081s # /*** BEGIN value-production ***/ 2081s # value-production 2081s # VALUENAME: @VALUENAME@ 2081s # valuenick: @valuenick@ 2081s # valuenum: @valuenum@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-production ***/ 2081s # 2081s # /*** BEGIN value-tail ***/ 2081s # value-tail 2081s # EnumName: @EnumName@ 2081s # enum_name: @enum_name@ 2081s # ENUMNAME: @ENUMNAME@ 2081s # ENUMSHORT: @ENUMSHORT@ 2081s # ENUMPREFIX: @ENUMPREFIX@ 2081s # enumsince: @enumsince@ 2081s # type: @type@ 2081s # Type: @Type@ 2081s # TYPE: @TYPE@ 2081s # /*** END value-tail ***/ 2081s # 2081s # /*** BEGIN comment ***/ 2081s # comment 2081s # comment: @comment@ 2081s # /*** END comment ***/ 2081s # 2081s # /*** BEGIN file-tail ***/ 2081s # file-tail 2081s # /*** END file-tail ***/ 2081s # 2081s # Response file contains: --template /tmp/tmpgwglhn90/tmpkgegtm_8.template /tmp/tmpgwglhn90/tmpxtjn6d4h.h 2081s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgwglhn90/tmp206g9n12'] 2081s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2081s # Output: comment 2081s # 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. 2081s # 2081s # 2081s # file-header 2081s # file-production 2081s # filename: /tmp/tmpgwglhn90/tmpxtjn6d4h.h 2081s # basename: tmpxtjn6d4h.h 2081s # enumeration-production 2081s # EnumName: Foo 2081s # enum_name: foo_ 2081s # ENUMNAME: FOO_ 2081s # ENUMSHORT: 2081s # ENUMPREFIX: FOO 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-header 2081s # EnumName: Foo 2081s # enum_name: foo_ 2081s # ENUMNAME: FOO_ 2081s # ENUMSHORT: 2081s # ENUMPREFIX: FOO 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-production 2081s # VALUENAME: FOO_VALUE 2081s # valuenick: eek, a comma 2081s # valuenum: 0 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # value-tail 2081s # EnumName: Foo 2081s # enum_name: foo_ 2081s # ENUMNAME: FOO_ 2081s # ENUMSHORT: 2081s # ENUMPREFIX: FOO 2081s # enumsince: 2081s # type: enum 2081s # Type: Enum 2081s # TYPE: ENUM 2081s # file-tail 2081s # 2081s # comment 2081s # comment: Generated data ends here 2081s 1..36 2081s ok - glib/mkenums.py.test 2081s # Running test: glib/timer.test 2081s TAP version 14 2081s # random seed: R02S79e591f594aaa887484d6ee79e1c71aa 2081s 1..10 2081s # Start of timer tests 2081s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 2081s ok 2 /timer/stop 2081s ok 3 /timer/continue 2081s ok 4 /timer/reset 2081s ok 5 /timer/is_active 2081s # End of timer tests 2081s # Start of timeval tests 2081s ok 6 /timeval/add 2081s ok 7 /timeval/from-iso8601 2081s ok 8 /timeval/to-iso8601 2081s # Start of to-iso8601 tests 2081s ok 9 /timeval/to-iso8601/overflow 2081s # End of to-iso8601 tests 2081s # End of timeval tests 2081s # Start of usleep tests 2081s ok 10 /usleep/with-zero-wait 2081s # End of usleep tests 2081s ok - glib/timer.test 2081s # Running test: glib/cxx.test 2081s TAP version 14 2081s # random seed: R02Safa11f668bbe939b49d259ce364ace40 2081s 1..2 2081s # Start of gtask tests 2081s # 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. 2081s ok 1 /gtask/name 2081s # Start of name tests 2081s # 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. 2081s ok 2 /gtask/name/macro-wrapper 2081s # End of name tests 2081s # End of gtask tests 2081s ok - glib/cxx.test 2081s # Running test: glib/file-thumbnail.test 2081s TAP version 14 2081s # random seed: R02S343c12d5bfb4a18c4f025be4babb66c8 2081s 1..7 2081s # Start of file-thumbnail tests 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/runtime 2081s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 1 /file-thumbnail/fail 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/runtime 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 2 /file-thumbnail/size-priority 2081s # Start of valid tests 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/runtime 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 3 /file-thumbnail/valid/normal 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/runtime 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 4 /file-thumbnail/valid/large 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/runtime 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 5 /file-thumbnail/valid/x-large 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/runtime 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 6 /file-thumbnail/valid/xx-large 2081s # End of valid tests 2081s # Start of unknown tests 2081s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/home 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/cache 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/system-config2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/config 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/system-data2 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/data 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/state 2081s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/runtime 2081s # Created test thumbnail at /tmp/test_file-thumbnail_04EQX2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 2081s ok 7 /file-thumbnail/unknown/super-large 2081s # End of unknown tests 2081s # End of file-thumbnail tests 2081s ok - glib/file-thumbnail.test 2081s # Running test: glib/static-link.test 2081s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 2081s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 2081s and make sure you have glib build dependencies installed, including 2081s meson. 2081s ok # SKIP - glib/static-link.test 2081s # Running test: glib/defaultiface.test 2081s TAP version 14 2081s # random seed: R02Se54249e21dd3a601f146544e47be01a4 2081s 1..2 2081s # Start of gobject tests 2081s ok 1 /gobject/static-iface 2081s ok 2 /gobject/dynamic-iface 2081s # End of gobject tests 2081s ok - glib/defaultiface.test 2081s # Running test: glib/live-g-file.test 2081s TAP version 14 2081s # random seed: R02S70ae32cb9c2b1674dbeb2a0c247d0990 2081s 1..13 2081s # Start of live-g-file tests 2081s # Cleaning target testing structure in 'testdir_live-g-file'... 2081s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2081s ok 1 /live-g-file/prep_clean_structure 2081s # 2081s # Going to create testing structure in 'testdir_live-g-file'... 2081s # Creating directory 'dir1'... 2081s # Creating directory 'dir1/subdir'... 2081s # Creating directory 'dir2'... 2081s # Creating directory 'dir-target'... 2081s # Creating directory 'dir_no-access'... 2081s # Creating directory 'dir_no-write'... 2081s # Creating file 'target-file'... 2081s # Creating file 'normal_file'... 2081s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 2081s # Creating file 'executable_file'... 2081s # Creating file 'private_file'... 2081s # Creating file 'normal_file2'... 2081s # Creating file 'readonly_file'... 2081s # Creating file 'UTF_pr?i?lis? z'... 2081s # Creating directory 'dir_pr?i?lis? z'... 2081s # Creating symlink 'lost_symlink' --> 'nowhere'... 2081s # Creating directory 'dir_hidden'... 2081s # Creating file 'dir_hidden/.a-hidden-file'... 2081s # Creating file 'dir_hidden/file-in-.hidden1'... 2081s # Creating file 'dir_hidden/file-in-.hidden2'... 2081s # Creating pattern file... 2082s # done. 2082s ok 2 /live-g-file/create_structure 2082s # Testing sample structure in 'testdir_live-g-file'... 2082s # Testing file 'dir1'... 2082s # Testing file 'dir1/subdir'... 2082s # Testing file 'dir2'... 2082s # Testing file 'dir-target'... 2082s # Testing file 'dir_no-access'... 2082s # Testing file 'dir_no-write'... 2082s # Testing file 'target-file'... 2082s # Testing file 'normal_file'... 2082s # Testing file 'normal_file-symlink'... 2082s # Testing file 'executable_file'... 2082s # Testing file 'private_file'... 2082s # Testing file 'normal_file2'... 2082s # Testing file 'readonly_file'... 2082s # Testing file 'UTF_pr?i?lis? z'... 2082s # Testing file 'dir_pr?i?lis? z'... 2082s # Testing file 'lost_symlink'... 2082s # Testing file 'dir_hidden'... 2082s # Testing file 'dir_hidden/.a-hidden-file'... 2082s # Testing file 'dir_hidden/file-in-.hidden1'... 2082s # Testing file 'dir_hidden/file-in-.hidden2'... 2082s # Testing pattern file... 2082s # read 65536 bytes, total = 65536 of 65536. 2082s ok 3 /live-g-file/test_initial_structure 2082s # Traversing through the sample structure in 'testdir_live-g-file'... 2082s # Found file dir1, relative to root: dir1 2082s # Found file subdir, relative to root: dir1/subdir 2082s # Found file dir2, relative to root: dir2 2082s # Found file dir-target, relative to root: dir-target 2082s # Found file dir_no-access, relative to root: dir_no-access 2082s # Found file dir_no-write, relative to root: dir_no-write 2082s # Found file target-file, relative to root: target-file 2082s # Found file normal_file, relative to root: normal_file 2082s # Found file normal_file-symlink, relative to root: normal_file-symlink 2082s # Found file executable_file, relative to root: executable_file 2082s # Found file private_file, relative to root: private_file 2082s # Found file normal_file2, relative to root: normal_file2 2082s # Found file readonly_file, relative to root: readonly_file 2082s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 2082s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 2082s # Found file lost_symlink, relative to root: lost_symlink 2082s # Found file dir_hidden, relative to root: dir_hidden 2082s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 2082s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 2082s # Found file .hidden, relative to root: dir_hidden/.hidden 2082s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 2082s # Found file pattern_file, relative to root: pattern_file 2082s ok 4 /live-g-file/test_traverse_structure 2082s # Test enumerate 'testdir_live-g-file'... 2082s # Testing file 'dir_no-access' 2082s # Testing file 'normal_file' 2082s # Testing file 'normal_file-symlink' 2082s # Testing file 'not_exists' 2082s # Testing file 'not_exists' 2082s # Testing file 'not_exists2' 2082s # Testing file 'not_exists3' 2082s # Testing file 'not_exists4' 2082s # Testing file 'dir_no-execute/file' 2082s ok 5 /live-g-file/test_enumerate 2082s # test_open: 'dir1' 2082s # test_open: 'dir_no-access' 2082s # test_open: 'target-file' 2082s # test_open: 'normal_file-symlink' 2082s # test_open: 'executable_file' 2082s # test_open: 'private_file' 2082s # test_open: 'readonly_file' 2082s # test_open: 'UTF_pr?i?lis? z' 2082s # test_open: 'pattern_file' 2082s # test_open: 'not_exists' 2082s # test_open: 'dir_no-execute/file' 2082s # test_open: 'lost_symlink' 2082s ok 6 /live-g-file/test_open 2082s # test_create: 'dir1' 2082s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir1?: Is a directory 2082s # test_create: 'dir1/subdir' 2082s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir1/subdir?: Is a directory 2082s # test_create: 'dir2' 2082s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir2?: File exists 2082s # test_create: 'normal_file' 2082s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/normal_file?: File exists 2082s # test_create: 'executable_file' 2082s # test_create: 'private_file' 2082s # test_create: 'normal_file2' 2082s # test_create: 'UTF_pr?i?lis? z' 2082s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 2082s # test_create: 'dir_pr?i?lis? z' 2082s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 2082s # test_create: 'pattern_file' 2082s # test_create: 'not_exists2' 2082s # test_create: 'not_exists3' 2082s # test_create: 'not_exists4' 2082s ok 7 /live-g-file/test_create 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir1/subdir' --> 'dir-target' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir1/subdir' --> '.' 2082s # res = 0, error code 2 = Target file exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir1/subdir' --> 'target-file' 2082s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir1/subdir' --> 'not_exists' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir2' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir-target' --> 'dir-target' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir-target' --> '.' 2082s # res = 0, error code 2 = Target file exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir-target' --> 'target-file' 2082s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/dir-target?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir-target' --> 'not_exists' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir-target' --> 'dir_no-access' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'dir-target' --> 'dir_no-write' 2082s # res = 0, error code 25 = Can?t recursively copy directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'target-file' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'target-file' --> '.' 2082s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file?: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'target-file' --> 'target-file' 2082s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/target-file?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'target-file' --> 'not_exists' 2082s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/target-file?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'target-file' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'target-file' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file-symlink' --> '.' 2082s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/normal_file-symlink: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file-symlink' --> 'target-file' 2082s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 2082s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> '.' 2082s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/executable_file?: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> 'target-file' 2082s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/executable_file?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> 'not_exists' 2082s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'executable_file' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> '.' 2082s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/private_file?: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> 'target-file' 2082s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/private_file?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> 'not_exists' 2082s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/private_file?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'private_file' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> '.' 2082s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/normal_file2?: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> 'target-file' 2082s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/normal_file2?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> 'not_exists' 2082s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'normal_file2' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 2082s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 2082s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 2082s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'pattern_file' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'pattern_file' --> '.' 2082s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/pattern_file?: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'pattern_file' --> 'target-file' 2082s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/pattern_file?: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'pattern_file' --> 'not_exists' 2082s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'pattern_file' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'pattern_file' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> 'dir-target' 2082s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> '.' 2082s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> 'target-file' 2082s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> 'not_exists' 2082s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> 'dir_no-access' 2082s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> 'dir_no-write' 2082s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists?: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'not_exists' --> 'dir-target' 2082s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'lost_symlink' --> 'dir-target' 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'lost_symlink' --> '.' 2082s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/lost_symlink: File exists 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'lost_symlink' --> 'target-file' 2082s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/target-file/lost_symlink: Not a directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'lost_symlink' --> 'not_exists' 2082s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 2082s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 2082s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 2082s ok 8 /live-g-file/test_copy_move 2082s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir1 2082s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir1: Directory not empty 2082s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir2 2082s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir2: No such file or directory 2082s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/executable_file 2082s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/readonly_file 2082s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_pr?i?lis? z 2082s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists 2082s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists: No such file or directory 2082s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists 2082s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/not_exists: No such file or directory 2082s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-execute/file 2082s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/dir_no-execute/file: No such file or directory 2082s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-7PPOX2/testdir_live-g-file/lost_symlink 2082s ok 9 /live-g-file/test_delete 2082s # We do not have CAP_DAC_OVERRIDE or equivalent 2082s ok 10 /live-g-file/test_make_directory_with_parents 2082s # Cleaning target testing structure in 'testdir_live-g-file'... 2082s # deleting 'dir1' 2082s # deleting 'subdir' 2082s # deleting 'dir-target' 2082s # deleting 'dir2' 2082s # deleting 'target-file' 2082s # deleting 'normal_file-symlink' 2082s # deleting 'pattern_file' 2082s # deleting 'executable_file' 2082s # deleting 'private_file' 2082s # deleting 'normal_file2' 2082s # deleting 'UTF_pr?i?lis? z' 2082s # deleting 'lost_symlink' 2082s # deleting 'dir_no-access' 2082s # deleting 'dir_no-write' 2082s # deleting 'target-file' 2082s # deleting 'normal_file' 2082s # deleting 'normal_file-symlink' 2082s # deleting 'executable_file~' 2082s # deleting 'private_file' 2082s # deleting 'normal_file2~' 2082s # deleting 'a' 2082s # deleting 'UTF_pr?i?lis? z' 2082s # deleting 'dir_hidden' 2082s # deleting '.a-hidden-file' 2082s # deleting 'file-in-.hidden1' 2082s # deleting '.hidden' 2082s # deleting 'file-in-.hidden2' 2082s # deleting 'pattern_file' 2082s # deleting 'normal_file2' 2082s # deleting 'not_exists2' 2082s # deleting 'not_exists3' 2082s # deleting 'not_exists4' 2082s ok 11 /live-g-file/final_clean 2082s # Start of test_unix_is_mountpoint tests 2082s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 2082s ok 13 /live-g-file/test_unix_is_mountpoint/proc 2082s # End of test_unix_is_mountpoint tests 2082s # End of live-g-file tests 2082s ok - glib/live-g-file.test 2082s # Running test: glib/cxx-14.test 2082s TAP version 14 2082s # random seed: R02S24b0334657ade5d153aba4a70dc6e554 2082s 1..2 2082s # Start of gtask tests 2082s # 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. 2082s ok 1 /gtask/name 2082s # Start of name tests 2082s # 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. 2082s ok 2 /gtask/name/macro-wrapper 2082s # End of name tests 2082s # End of gtask tests 2082s ok - glib/cxx-14.test 2082s # Running test: glib/portal-support-flatpak-gsettings-only.test 2082s TAP version 14 2082s # random seed: R02Sc4d1ba81e488da09ab111cdb744ed221 2082s 1..1 2082s # Start of portal-support tests 2082s # Start of flatpak tests 2082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/home 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/cache 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/system-config2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/config 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/system-data2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/data 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/state 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/runtime 2082s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_4XM7X2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 2082s ok 1 /portal-support/flatpak/gsettings 2082s # End of flatpak tests 2082s # End of portal-support tests 2082s ok - glib/portal-support-flatpak-gsettings-only.test 2082s # Running test: glib/dump.test 2082s TAP version 14 2082s # random seed: R02Sf0006a575537fdef25c531cffe68ea73 2082s 1..4 2082s # Start of dump tests 2082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/home 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/cache 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_30H7X2/dump/empty-file/.dirs/system-config2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/config 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_30H7X2/dump/empty-file/.dirs/system-data2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/data 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/state 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_30H7X2/dump/empty-file/.dirs/runtime 2082s ok 1 /dump/empty-file 2082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/home 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/cache 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/system-config2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/config 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/system-data2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/data 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/state 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_30H7X2/dump/missing-get-type/.dirs/runtime 2082s Invalid GType function: 'does_not_exist_get_type' 2082s ok 2 /dump/missing-get-type 2082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/home 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/cache 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_30H7X2/dump/missing-quark/.dirs/system-config2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/config 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_30H7X2/dump/missing-quark/.dirs/system-data2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/data 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/state 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_30H7X2/dump/missing-quark/.dirs/runtime 2082s Invalid error quark function: 'does_not_exist_error' 2082s ok 3 /dump/missing-quark 2082s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_30H7X2/dump/basic/.dirs/home 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_30H7X2/dump/basic/.dirs/cache 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_30H7X2/dump/basic/.dirs/system-config1:/tmp/test_dump_30H7X2/dump/basic/.dirs/system-config2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_30H7X2/dump/basic/.dirs/config 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_30H7X2/dump/basic/.dirs/system-data1:/tmp/test_dump_30H7X2/dump/basic/.dirs/system-data2 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_30H7X2/dump/basic/.dirs/data 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_30H7X2/dump/basic/.dirs/state 2082s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_30H7X2/dump/basic/.dirs/runtime 2082s ok 4 /dump/basic 2082s # End of dump tests 2082s ok - glib/dump.test 2082s # Running test: glib/glistmodel.test 2082s TAP version 14 2082s # random seed: R02Sf27be20941777ff844568f952938af0d 2082s 1..18 2082s # Start of glistmodel tests 2082s # Start of store tests 2082s ok 1 /glistmodel/store/properties 2082s ok 2 /glistmodel/store/non-gobjects 2082s ok 3 /glistmodel/store/boundaries 2082s ok 4 /glistmodel/store/refcounts 2082s ok 5 /glistmodel/store/sorted 2082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 2082s ok 6 /glistmodel/store/splice-replace-middle 2082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 2082s ok 7 /glistmodel/store/splice-replace-all 2082s ok 8 /glistmodel/store/splice-noop 2082s ok 9 /glistmodel/store/splice-remove-multiple 2082s ok 10 /glistmodel/store/splice-add-multiple 2082s ok 11 /glistmodel/store/splice-wrong-type 2082s ok 12 /glistmodel/store/item-type 2082s ok 13 /glistmodel/store/remove-all 2082s ok 14 /glistmodel/store/sort 2082s ok 15 /glistmodel/store/get-item-cache 2082s ok 16 /glistmodel/store/items-changed 2082s ok 17 /glistmodel/store/past-end 2082s ok 18 /glistmodel/store/find 2082s # End of store tests 2082s # End of glistmodel tests 2082s ok - glib/glistmodel.test 2082s # Running test: glib/gmenumodel.test 2082s TAP version 14 2082s # random seed: R02S7513c3f11a03ed53909dec47f1316aa7 2082s 1..15 2082s # Start of gmenu tests 2082s ok 1 /gmenu/equality 2082s ok 2 /gmenu/random 2082s ok 3 /gmenu/attributes 2082s ok 4 /gmenu/links 2082s ok 5 /gmenu/mutable 2082s ok 6 /gmenu/convenience 2082s ok 7 /gmenu/menuitem 2082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2082s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2083s ok 8 /gmenu/input-validation 2083s # Start of dbus tests 2083s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2084s ok 9 /gmenu/dbus/roundtrip 2084s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 2084s ok 10 /gmenu/dbus/subscriptions 2085s ok 11 /gmenu/dbus/threaded 2085s # slow test /gmenu/dbus/threaded executed in 0.62 secs 2085s # Start of peer tests 2085s # Executing: glib/gmenumodel.test 2086s ok 12 /gmenu/dbus/peer/roundtrip 2086s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 2086s ok 13 /gmenu/dbus/peer/subscriptions 2086s # End of peer tests 2086s # Start of export tests 2086s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 2086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2086s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2086s ok 14 /gmenu/dbus/export/error-handling 2086s # End of export tests 2086s # End of dbus tests 2086s # Start of attributes tests 2086s ok 15 /gmenu/attributes/iterate 2086s # End of attributes tests 2086s # End of gmenu tests 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s ok - glib/gmenumodel.test 2086s # Running test: glib/portal-support-none.test 2086s TAP version 14 2086s # random seed: R02S817172704c567575dc3dbe03b4b76a81 2086s 1..1 2086s # Start of portal-support tests 2086s ok 1 /portal-support/none 2086s # End of portal-support tests 2086s ok - glib/portal-support-none.test 2086s # Running test: glib/error.test 2086s TAP version 14 2086s # random seed: R02S7f4aaf0af408076b6781d983db7cff43 2086s 1..3 2086s # Start of error tests 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KT1YX2/error/from-errno/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KT1YX2/error/from-errno/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KT1YX2/error/from-errno/.dirs/system-config1:/tmp/test_error_KT1YX2/error/from-errno/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KT1YX2/error/from-errno/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KT1YX2/error/from-errno/.dirs/system-data1:/tmp/test_error_KT1YX2/error/from-errno/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KT1YX2/error/from-errno/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KT1YX2/error/from-errno/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KT1YX2/error/from-errno/.dirs/runtime 2086s ok 1 /error/from-errno 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/system-config1:/tmp/test_error_KT1YX2/error/from-file-error/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/system-data1:/tmp/test_error_KT1YX2/error/from-file-error/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KT1YX2/error/from-file-error/.dirs/runtime 2086s ok 2 /error/from-file-error 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_KT1YX2/error/from-win32-error/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_KT1YX2/error/from-win32-error/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_KT1YX2/error/from-win32-error/.dirs/runtime 2086s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 2086s # End of error tests 2086s ok - glib/error.test 2086s # Running test: glib/refcount-macro.test 2086s TAP version 14 2086s # random seed: R02Sfd2bcb8135613887fee95b03b9323935 2086s 1..4 2086s # Start of refcount tests 2086s ok 1 /refcount/grefcount 2086s ok 2 /refcount/gatomicrefcount 2086s # Start of grefcount tests 2086s ok 3 /refcount/grefcount/saturation 2086s # End of grefcount tests 2086s # Start of gatomicrefcount tests 2086s ok 4 /refcount/gatomicrefcount/saturation 2086s # End of gatomicrefcount tests 2086s # End of refcount tests 2086s ok - glib/refcount-macro.test 2086s # Running test: glib/dynamictype.test 2086s TAP version 14 2086s # random seed: R02S715f1ad946da4d030f06ee90524a6785 2086s 1..2 2086s # Start of gobject tests 2086s ok 1 /gobject/dynamic-type 2086s # Start of dynamic-type tests 2086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 2086s ok 2 /gobject/dynamic-type/query 2086s # End of dynamic-type tests 2086s # End of gobject tests 2086s ok - glib/dynamictype.test 2086s # Running test: glib/gdbus-method-invocation.test 2086s TAP version 14 2086s # random seed: R02Sd50617a77c8e0f6ad11cb34e27f2cb9b 2086s 1..1 2086s # Start of gdbus tests 2086s # Start of method-invocation tests 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_AMDZX2/gdbus/method-invocation/return/.dirs/runtime 2086s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 2086s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2086s # Calling org.freedesktop.DBus.Properties.Get 2086s # Calling org.freedesktop.DBus.Properties.Get 2086s # Calling org.freedesktop.DBus.Properties.Get 2086s # Calling org.freedesktop.DBus.Properties.Set 2086s # Calling org.freedesktop.DBus.Properties.GetAll 2086s # Calling org.example.Foo.WrongReturnType 2086s # Calling org.example.Foo.GetFDs 2086s # Calling org.example.Foo.GetFDs 2086s # Calling org.example.Foo.ReturnError 2086s # Calling org.example.Foo.CloseBeforeReturning 2086s ok 1 /gdbus/method-invocation/return 2086s # End of method-invocation tests 2086s # End of gdbus tests 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2086s ok - glib/gdbus-method-invocation.test 2086s # Running test: glib/hash.test 2086s TAP version 14 2086s # random seed: R02S5d57f262726ff6dc7e2e55ecb9b7c7cf 2086s 1..34 2086s # Start of hash tests 2086s ok 1 /hash/misc 2086s ok 2 /hash/one 2086s ok 3 /hash/honeyman 2086s ok 4 /hash/direct 2086s ok 5 /hash/direct2 2086s ok 6 /hash/int 2086s ok 7 /hash/int64 2086s ok 8 /hash/double 2086s ok 9 /hash/string 2086s ok 10 /hash/set 2086s ok 11 /hash/set-ref 2086s ok 12 /hash/ref 2086s ok 13 /hash/remove-all 2086s ok 14 /hash/recursive-remove-all 2086s ok 15 /hash/find 2086s ok 16 /hash/foreach 2086s ok 17 /hash/foreach-steal 2086s ok 18 /hash/steal-extended 2086s ok 19 /hash/steal-all-keys 2086s ok 20 /hash/steal-all-values 2086s ok 21 /hash/lookup-extended 2086s ok 22 /hash/new-similar 2086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 2086s ok 23 /hash/lookup-null-key 2086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 2086s ok 24 /hash/destroy-modify 2086s ok 25 /hash/consistency 2086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 2086s ok 26 /hash/iter-replace 2086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 2086s ok 27 /hash/set-insert-corruption 2086s ok 28 /hash/set-to-strv 2086s ok 29 /hash/get-keys-as-ptr-array 2086s ok 30 /hash/get-values-as-ptr-array 2086s ok 31 /hash/primes 2086s # Start of int64 tests 2086s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 2086s ok 32 /hash/int64/collisions 2086s # End of int64 tests 2086s # Start of double tests 2086s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 2086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 2086s ok 33 /hash/double/collisions 2086s # End of double tests 2086s # Start of recursive-remove-all tests 2086s # End of recursive-remove-all tests 2086s # Start of steal-extended tests 2086s ok 34 /hash/steal-extended/optional 2086s # End of steal-extended tests 2086s # End of hash tests 2086s ok - glib/hash.test 2086s # Running test: glib/test-printf.test 2086s TAP version 14 2086s # random seed: R02S3b0a3a5ba29ae36e73f27a5594c0a45b 2086s 1..22 2086s # Start of snprintf tests 2086s ok 1 /snprintf/retval-and-trunc 2086s ok 2 /snprintf/%d 2086s ok 3 /snprintf/%d-invalid 2086s ok 4 /snprintf/%o 2086s ok 5 /snprintf/%u 2086s ok 6 /snprintf/%x 2086s ok 7 /snprintf/%X 2086s ok 8 /snprintf/%f 2086s ok 9 /snprintf/%e 2086s ok 10 /snprintf/%c 2086s ok 11 /snprintf/%s 2086s ok 12 /snprintf/%n 2086s ok 13 /snprintf/test-percent 2086s ok 14 /snprintf/test-positional-params 2086s ok 15 /snprintf/test-64bit 2086s # End of snprintf tests 2086s # Start of printf tests 2086s ok 16 /printf/test-percent 2086s ok 17 /printf/test-positional-params 2086s ok 18 /printf/test-64bit 2086s # Start of test-64bit tests 2086s # Start of subprocess tests 2086s # End of subprocess tests 2086s # End of test-64bit tests 2086s # End of printf tests 2086s # Start of sprintf tests 2086s ok 19 /sprintf/test-positional-params 2086s ok 20 /sprintf/upper-bound 2086s # End of sprintf tests 2086s # Start of vasprintf tests 2086s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 2086s ok 21 /vasprintf/invalid-format-placeholder 2086s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 2086s ok 22 /vasprintf/invalid-wide-string 2086s # End of vasprintf tests 2086s ok - glib/test-printf.test 2086s # Running test: glib/markup-subparser.test 2086s TAP version 14 2086s # random seed: R02Se8aec51a6728cef88ad2e7b78589f483 2086s 1..14 2086s # Start of glib tests 2086s # Start of markup tests 2086s # Start of subparser tests 2086s # Start of success tests 2086s ok 1 /glib/markup/subparser/success/0 2086s ok 2 /glib/markup/subparser/success/1 2086s ok 3 /glib/markup/subparser/success/2 2086s ok 4 /glib/markup/subparser/success/3 2086s ok 5 /glib/markup/subparser/success/4 2086s ok 6 /glib/markup/subparser/success/5 2086s ok 7 /glib/markup/subparser/success/6 2086s # End of success tests 2086s # Start of failure tests 2086s ok 8 /glib/markup/subparser/failure/0 2086s ok 9 /glib/markup/subparser/failure/1 2086s ok 10 /glib/markup/subparser/failure/2 2086s ok 11 /glib/markup/subparser/failure/3 2086s ok 12 /glib/markup/subparser/failure/4 2086s ok 13 /glib/markup/subparser/failure/5 2086s ok 14 /glib/markup/subparser/failure/6 2086s # End of failure tests 2086s # End of subparser tests 2086s # End of markup tests 2086s # End of glib tests 2086s ok - glib/markup-subparser.test 2086s # Running test: glib/gdbus-sasl.test 2086s TAP version 14 2086s # random seed: R02Scf33edab76e2bfc5e6e2597c97a88e62 2086s 1..1 2086s # Start of gdbus tests 2086s # Start of sasl tests 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_SJUXX2/gdbus/sasl/server/.dirs/runtime 2086s # New handshake: EXTERNAL with incorrect initial response 2086s # C:“AUTH EXTERNAL 30†2086s # Expect: /^REJECTED.*$/ 2086s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†2086s # New handshake: EXTERNAL without initial response, failing to authenticate 2086s # C:“AUTH EXTERNAL†2086s # Expect: /^DATA$/ 2086s # S:“DATA†2086s # C:“DATA 30†2086s # Expect: /^REJECTED.*$/ 2086s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†2086s # New handshake: EXTERNAL with initial response 2086s # C:“AUTH EXTERNAL 31303030†2086s # Expect: /^OK [0-9a-f]+$/ 2086s # S:“OK 438d6238bf217211295aba69674fb838†2086s # New handshake: EXTERNAL without initial response 2086s # C:“AUTH EXTERNAL†2086s # Expect: /^DATA$/ 2086s # S:“DATA†2086s # C:“DATA 31303030†2086s # Expect: /^OK [0-9a-f]+$/ 2086s # S:“OK 438d6238bf217211295aba69674fb838†2086s # New handshake: EXTERNAL with empty authorization identity 2086s # C:“AUTH EXTERNAL†2086s # Expect: /^DATA$/ 2086s # S:“DATA†2086s # C:“DATA†2086s # Expect: /^OK [0-9a-f]+$/ 2086s # S:“OK 438d6238bf217211295aba69674fb838†2086s # New handshake: EXTERNAL with empty authorization identity and whitespace 2086s # C:“AUTH EXTERNAL†2086s # Expect: /^DATA$/ 2086s # S:“DATA†2086s # C:“DATA †2086s # Expect: /^OK [0-9a-f]+$/ 2086s # S:“OK 438d6238bf217211295aba69674fb838†2086s ok 1 /gdbus/sasl/server 2086s # End of sasl tests 2086s # End of gdbus tests 2086s ok - glib/gdbus-sasl.test 2086s # Running test: glib/basics-gobject.test 2086s TAP version 14 2086s # random seed: R02Sa8653ecd7dfadd6703a22efe1a6c2171 2086s 1..1 2086s # Start of gobject tests 2086s # private data during initialization: 54321 == 54321 2086s # MAIN: emit test-signal: 2086s # ::test_signal default_handler called 2086s # ::test_signal default_handler called 2086s # ::test_signal default_handler called 2086s # signal return: "" 2086s # MAIN: call iface print-string on test and derived object: 2086s # Iface-FOO: "iface-string-from-test-type" from 0x58513f5977a0 2086s # Iface-BAR: "iface-string-from-derived-type" from 0x58513f5976c0 2086s # chaining: 2086s # Iface-FOO: "iface-string-from-derived-type" from 0x58513f5976c0 2086s # private data after initialization: 54321 == 54321 2086s ok 1 /gobject/basics 2086s # End of gobject tests 2086s ok - glib/basics-gobject.test 2086s # Running test: glib/gdbus-exit-on-close.test 2086s TAP version 14 2086s # random seed: R02Sa2168f03b198e59cea3be3f89e87bec9 2086s 1..4 2086s # Start of gdbus tests 2086s # Start of exit-on-close tests 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/default/.dirs/runtime 2086s ok 1 /gdbus/exit-on-close/default 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/true/.dirs/runtime 2086s ok 2 /gdbus/exit-on-close/true 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/false/.dirs/runtime 2086s ok 3 /gdbus/exit-on-close/false 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LCAYX2/gdbus/exit-on-close/we-close/.dirs/runtime 2086s ok 4 /gdbus/exit-on-close/we-close 2086s # Start of default tests 2086s # End of default tests 2086s # Start of true tests 2086s # End of true tests 2086s # Start of false tests 2086s # End of false tests 2086s # Start of we-close tests 2086s # End of we-close tests 2086s # End of exit-on-close tests 2086s # End of gdbus tests 2086s ok - glib/gdbus-exit-on-close.test 2086s # Running test: glib/gdbus-close-pending.test 2086s TAP version 14 2086s # random seed: R02S93323c3d7ee6805daf68417be9f4839d 2086s 1..2 2086s # Start of gdbus tests 2086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/home 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/cache 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/system-config2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/config 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/system-data2 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/data 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/state 2086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/close-pending/.dirs/runtime 2087s ok 1 /gdbus/close-pending 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_JE7PX2/gdbus/unref-pending/.dirs/runtime 2087s ok 2 /gdbus/unref-pending 2087s # End of gdbus tests 2087s ok - glib/gdbus-close-pending.test 2087s # Running test: glib/socket-listener.test 2087s TAP version 14 2087s # random seed: R02Sb7ea3f72b30b62d65424a3e6178e083a 2087s 1..1 2087s # Start of socket-listener tests 2087s ok 1 /socket-listener/event-signal 2087s # End of socket-listener tests 2087s ok - glib/socket-listener.test 2087s # Running test: glib/binding.test 2087s TAP version 14 2087s # random seed: R02Sa61ea41ca4e8f88913dbd75f69f379c3 2087s 1..19 2087s # Start of binding tests 2087s ok 1 /binding/default 2087s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 2087s ok 2 /binding/canonicalisation 2087s ok 3 /binding/bidirectional 2087s ok 4 /binding/transform 2087s ok 5 /binding/transform-default 2087s ok 6 /binding/transform-closure 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 2087s ok 7 /binding/chain 2087s ok 8 /binding/sync-create 2087s ok 9 /binding/invert-boolean 2087s ok 10 /binding/same-object 2087s ok 11 /binding/unbind 2087s ok 12 /binding/unbind-weak 2087s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 2087s ok 13 /binding/unbind-multiple 2087s ok 14 /binding/fail 2087s ok 15 /binding/interface 2087s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 2087s ok 16 /binding/concurrent-unbind 2087s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 2087s ok 17 /binding/concurrent-finalizing 2087s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 2087s ok 18 /binding/dispose-source 2087s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 2087s ok 19 /binding/dispose-target 2087s # End of binding tests 2087s ok - glib/binding.test 2087s # Running test: glib/tls-bindings.test 2087s TAP version 14 2087s # random seed: R02S91cedd443bf8c94cf9b71baea472a7b7 2087s 1..2 2087s # Start of tls-connection tests 2087s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 2087s ok 1 /tls-connection/get-tls-channel-binding 2087s ok 2 /tls-connection/get-dtls-channel-binding 2087s # End of tls-connection tests 2087s ok - glib/tls-bindings.test 2087s # Running test: glib/once.test 2087s TAP version 14 2087s # random seed: R02S6b26770455e31b7157a033a8bfdde8f7 2087s 1..5 2087s # Start of once tests 2087s # /once/single-threaded summary: Test g_once() usage from a single thread 2087s ok 1 /once/single-threaded 2087s # /once/multi-threaded summary: Test g_once() usage from multiple threads 2087s ok 2 /once/multi-threaded 2087s # End of once tests 2087s # Start of once-init tests 2087s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 2087s ok 3 /once-init/single-threaded 2087s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 2087s ok 4 /once-init/multi-threaded 2087s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 2087s ok 5 /once-init/string 2087s # End of once-init tests 2087s ok - glib/once.test 2087s # Running test: glib/module-test-library.test 2087s TAP version 14 2087s # random seed: R02Se273a3f34ea7447cfe34219afd51afce 2087s 1..3 2087s # Start of module tests 2087s ok 1 /module/basics 2087s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 2087s ok 2 /module/invalid-libtool-archive 2087s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 2087s ok 3 /module/local-binding 2087s # End of module tests 2087s ok - glib/module-test-library.test 2087s # Running test: glib/markup-parse.test 2087s TAP version 14 2087s # random seed: R02S185b643d87569bc0041ff1a8023ada52 2087s 1..71 2087s # Start of markup tests 2087s # Start of parse tests 2087s ok 1 /markup/parse/fail-24.gmarkup 2087s ok 2 /markup/parse/fail-11.gmarkup 2087s ok 3 /markup/parse/fail-54.gmarkup 2087s ok 4 /markup/parse/fail-38.gmarkup 2087s ok 5 /markup/parse/fail-10.gmarkup 2087s ok 6 /markup/parse/fail-41.gmarkup 2087s ok 7 /markup/parse/valid-3.gmarkup 2087s ok 8 /markup/parse/fail-22.gmarkup 2087s ok 9 /markup/parse/valid-16.gmarkup 2087s ok 10 /markup/parse/fail-7.gmarkup 2087s ok 11 /markup/parse/fail-39.gmarkup 2087s ok 12 /markup/parse/fail-9.gmarkup 2087s ok 13 /markup/parse/fail-48.gmarkup 2087s ok 14 /markup/parse/fail-37.gmarkup 2087s ok 15 /markup/parse/fail-36.gmarkup 2087s ok 16 /markup/parse/fail-31.gmarkup 2087s ok 17 /markup/parse/fail-20.gmarkup 2087s ok 18 /markup/parse/fail-18.gmarkup 2087s ok 19 /markup/parse/fail-21.gmarkup 2087s ok 20 /markup/parse/fail-49.gmarkup 2087s ok 21 /markup/parse/valid-11.gmarkup 2087s ok 22 /markup/parse/fail-5.gmarkup 2087s ok 23 /markup/parse/fail-8.gmarkup 2087s ok 24 /markup/parse/valid-17.gmarkup 2087s ok 25 /markup/parse/fail-35.gmarkup 2087s ok 26 /markup/parse/fail-25.gmarkup 2087s ok 27 /markup/parse/fail-3.gmarkup 2087s ok 28 /markup/parse/fail-53.gmarkup 2087s ok 29 /markup/parse/fail-27.gmarkup 2087s ok 30 /markup/parse/fail-4.gmarkup 2087s ok 31 /markup/parse/fail-6.gmarkup 2087s ok 32 /markup/parse/fail-29.gmarkup 2087s ok 33 /markup/parse/fail-50.gmarkup 2087s ok 34 /markup/parse/valid-2.gmarkup 2087s ok 35 /markup/parse/fail-1.gmarkup 2087s ok 36 /markup/parse/valid-8.gmarkup 2087s ok 37 /markup/parse/fail-28.gmarkup 2087s ok 38 /markup/parse/fail-46.gmarkup 2087s ok 39 /markup/parse/fail-2.gmarkup 2087s ok 40 /markup/parse/fail-34.gmarkup 2087s ok 41 /markup/parse/valid-12.gmarkup 2087s ok 42 /markup/parse/fail-33.gmarkup 2087s ok 43 /markup/parse/valid-15.gmarkup 2087s ok 44 /markup/parse/fail-26.gmarkup 2087s ok 45 /markup/parse/valid-9.gmarkup 2087s ok 46 /markup/parse/fail-43.gmarkup 2087s ok 47 /markup/parse/valid-14.gmarkup 2087s ok 48 /markup/parse/fail-51.gmarkup 2087s ok 49 /markup/parse/valid-4.gmarkup 2087s ok 50 /markup/parse/fail-32.gmarkup 2087s ok 51 /markup/parse/fail-30.gmarkup 2087s ok 52 /markup/parse/fail-16.gmarkup 2087s ok 53 /markup/parse/fail-13.gmarkup 2087s ok 54 /markup/parse/fail-45.gmarkup 2087s ok 55 /markup/parse/fail-19.gmarkup 2087s ok 56 /markup/parse/fail-42.gmarkup 2087s ok 57 /markup/parse/fail-44.gmarkup 2087s ok 58 /markup/parse/fail-17.gmarkup 2087s ok 59 /markup/parse/fail-40.gmarkup 2087s ok 60 /markup/parse/valid-1.gmarkup 2087s ok 61 /markup/parse/valid-13.gmarkup 2087s ok 62 /markup/parse/fail-23.gmarkup 2087s ok 63 /markup/parse/valid-7.gmarkup 2087s ok 64 /markup/parse/valid-5.gmarkup 2087s ok 65 /markup/parse/valid-10.gmarkup 2087s ok 66 /markup/parse/fail-47.gmarkup 2087s ok 67 /markup/parse/fail-12.gmarkup 2087s ok 68 /markup/parse/valid-6.gmarkup 2087s ok 69 /markup/parse/fail-15.gmarkup 2087s ok 70 /markup/parse/fail-52.gmarkup 2087s ok 71 /markup/parse/fail-14.gmarkup 2087s # End of parse tests 2087s # End of markup tests 2087s ok - glib/markup-parse.test 2087s # Running test: glib/buffered-output-stream.test 2087s TAP version 14 2087s # random seed: R02Sff9c0c250d06e425122e774819bef561 2087s 1..5 2087s # Start of buffered-output-stream tests 2087s ok 1 /buffered-output-stream/write 2087s ok 2 /buffered-output-stream/grow 2087s ok 3 /buffered-output-stream/seek 2087s ok 4 /buffered-output-stream/truncate 2087s # End of buffered-output-stream tests 2087s # Start of filter-output-stream tests 2087s ok 5 /filter-output-stream/close 2087s # End of filter-output-stream tests 2087s ok - glib/buffered-output-stream.test 2087s # Running test: glib/closure.test 2087s TAP version 14 2087s # random seed: R02S113d13c4cd8800d73032068e5e6db501 2087s 1..6 2087s # Start of closure tests 2087s ok 1 /closure/idle 2087s ok 2 /closure/timeout 2087s ok 3 /closure/iochannel 2087s ok 4 /closure/child 2087s ok 5 /closure/fd 2087s ok 6 /closure/signal 2087s # End of closure tests 2087s ok - glib/closure.test 2087s # Running test: glib/pollable.test 2087s TAP version 14 2087s # random seed: R02Sc694cbf63611323aeef8baa8888e0498 2087s 1..6 2087s # Start of pollable tests 2087s ok 1 /pollable/converter 2087s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2087s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64c0666937d0 and GSocketClientAsyncConnectData 0x64c066686ad0 2087s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2087s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2087s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64c066694850 for GSocketClientAsyncConnectData 0x64c066686ad0 2087s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2087s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2087s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2087s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2087s ok 2 /pollable/socket 2087s # Start of unix tests 2087s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 2087s ok 3 /pollable/unix/pipe 2087s # /pollable/unix/pty summary: Test that PTYs are considered pollable 2087s ok 4 /pollable/unix/pty 2087s # /pollable/unix/file summary: Test that regular files are not considered pollable 2087s ok 5 /pollable/unix/file 2087s # /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 2087s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 2087s # End of unix tests 2087s # End of pollable tests 2087s ok - glib/pollable.test 2087s # Running test: glib/list.test 2087s TAP version 14 2087s # random seed: R02Sbf3e29a0aa331a50a6b474929520ff04 2087s 1..20 2087s # Start of list tests 2087s ok 1 /list/sort 2087s ok 2 /list/sort-with-data 2087s ok 3 /list/insert-before-link 2087s ok 4 /list/insert-sorted 2087s ok 5 /list/insert-sorted-with-data 2087s ok 6 /list/reverse 2087s ok 7 /list/nth 2087s ok 8 /list/concat 2087s ok 9 /list/remove 2087s ok 10 /list/remove-all 2087s ok 11 /list/first-last 2087s ok 12 /list/insert 2087s ok 13 /list/free-full 2087s ok 14 /list/copy 2087s ok 15 /list/copy-deep 2087s ok 16 /list/delete-link 2087s ok 17 /list/prepend 2087s ok 18 /list/position 2087s ok 19 /list/double-free 2087s # Start of sort tests 2087s ok 20 /list/sort/stable 2087s # End of sort tests 2087s # End of list tests 2087s ok - glib/list.test 2087s # Running test: glib/repository.test 2087s TAP version 14 2087s # random seed: R02Sfd3ccccdb38961ee6a4f75fd62d53e59 2087s 1..23 2087s # Start of repository tests 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/basic/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/basic/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/basic/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/basic/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/basic/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/basic/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/basic/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/basic/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/basic/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/basic/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 2087s ok 1 /repository/basic 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/info/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/info/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/info/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/info/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/info/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/info/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/info/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/info/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/info/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/info/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/info summary: Test retrieving some basic info blobs from a typelib 2087s ok 2 /repository/info 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/dependencies/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/dependencies/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/dependencies/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 2087s ok 3 /repository/dependencies 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/arg-info/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/arg-info/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/arg-info/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 2087s ok 4 /repository/arg-info 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/callable-info/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/callable-info/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/callable-info/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 2087s ok 5 /repository/callable-info 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/callback-info/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/callback-info/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/callback-info/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 2087s ok 6 /repository/callback-info 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/char-types/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/char-types/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/char-types/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 2087s ok 7 /repository/char-types 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/constructor-return-type/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 2087s ok 8 /repository/constructor-return-type 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/enum-info-c-identifier/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 2087s ok 9 /repository/enum-info-c-identifier 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/enum-info-static-methods/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/enum-info-static-methods summary: Test an enum with methods 2087s ok 10 /repository/enum-info-static-methods 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/error-quark/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/error-quark/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/error-quark/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/error-quark summary: Test finding an error quark by error domain 2087s ok 11 /repository/error-quark 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/flags-info-c-identifier/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 2087s ok 12 /repository/flags-info-c-identifier 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/fundamental-ref-func/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 2087s ok 13 /repository/fundamental-ref-func 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/instance-method-ownership-transfer/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 2087s ok 14 /repository/instance-method-ownership-transfer 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/object-gtype-interfaces/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 2087s ok 15 /repository/object-gtype-interfaces 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/signal-info-with-array-length-arg/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 2087s ok 16 /repository/signal-info-with-array-length-arg 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/type-info-name/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 2087s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 2087s ok 17 /repository/type-info-name 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-no-invoker/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 2087s ok 18 /repository/vfunc-info-with-no-invoker 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 2087s ok 19 /repository/vfunc-info-with-invoker-on-interface 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 2087s ok 20 /repository/vfunc-info-with-invoker-on-object 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/find-by-gtype/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/find-by-gtype summary: Test finding a GType 2087s ok 21 /repository/find-by-gtype 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/loaded-namespaces/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/loaded-namespaces summary: Test listing loaded namespaces 2087s ok 22 /repository/loaded-namespaces 2087s # Start of base-info tests 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_2B0XX2/repository/base-info/clear/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 2087s ok 23 /repository/base-info/clear 2087s # End of base-info tests 2087s # End of repository tests 2087s ok - glib/repository.test 2087s # Running test: glib/debugcontroller.test 2087s TAP version 14 2087s # random seed: R02Sa054c049a00d62606f2e2a87f9923941 2087s 1..3 2087s # Start of debug-controller tests 2087s # Start of dbus tests 2087s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 2087s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2087s # GLib-GIO-DEBUG: Debug output enabled 2087s # GLib-GIO-DEBUG: Debug output disabled 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s ok 1 /debug-controller/dbus/basic 2087s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2087s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2087s ok 2 /debug-controller/dbus/duplicate 2087s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 2087s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 2087s # End of dbus tests 2087s # End of debug-controller tests 2087s ok - glib/debugcontroller.test 2087s # Running test: glib/gdbus-peer-object-manager.test 2087s TAP version 14 2087s # random seed: R02S72062b17a725717a8d3bde2d3c232aab 2087s 1..2 2087s # Start of gdbus tests 2087s # Start of peer-object-manager tests 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/normal/.dirs/runtime 2087s ok 1 /gdbus/peer-object-manager/normal 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_JKHWX2/gdbus/peer-object-manager/root/.dirs/runtime 2087s ok 2 /gdbus/peer-object-manager/root 2087s # End of peer-object-manager tests 2087s # End of gdbus tests 2087s ok - glib/gdbus-peer-object-manager.test 2087s # Running test: glib/union-info.test 2087s TAP version 14 2087s # random seed: R02S40511820c73e43e17643b7b62dd800bc 2087s 1..2 2087s # Start of union-info tests 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_RN9VX2/union-info/basic/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_RN9VX2/union-info/basic/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_RN9VX2/union-info/basic/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /union-info/basic summary: Test basic properties of GIUnionInfo 2087s ok 1 /union-info/basic 2087s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/home 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/cache 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_RN9VX2/union-info/methods/.dirs/system-config2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/config 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_RN9VX2/union-info/methods/.dirs/system-data2 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/data 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/state 2087s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_RN9VX2/union-info/methods/.dirs/runtime 2087s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2087s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 2087s ok 2 /union-info/methods 2087s # End of union-info tests 2087s ok - glib/union-info.test 2087s # Running test: glib/option-context.test 2087s TAP version 14 2087s # random seed: R02S74c7719279bd4bac1c0924229890238c 2087s 1..57 2087s # Start of option tests 2087s ok 1 /option/basic 2087s ok 2 /option/translate 2087s ok 3 /option/strict-posix 2087s # Start of help tests 2087s ok 4 /option/help/options 2087s ok 5 /option/help/no-options 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 2087s ok 6 /option/help/no-help-options 2087s # End of help tests 2087s # Start of group tests 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 2087s ok 7 /option/group/captions 2087s ok 8 /option/group/main 2087s ok 9 /option/group/error-hook 2087s ok 10 /option/group/parse 2087s # Start of captions tests 2087s # Start of subprocess tests 2087s # End of subprocess tests 2087s # End of captions tests 2087s # End of group tests 2087s # Start of restoration tests 2087s ok 11 /option/restoration/int 2087s ok 12 /option/restoration/string 2087s ok 13 /option/restoration/boolean 2087s # End of restoration tests 2087s # Start of arg tests 2087s ok 14 /option/arg/reverse-string 2087s ok 15 /option/arg/optional-int 2087s # Start of repetition tests 2087s ok 16 /option/arg/repetition/int 2087s ok 17 /option/arg/repetition/string 2087s ok 18 /option/arg/repetition/filename 2087s ok 19 /option/arg/repetition/double 2087s ok 20 /option/arg/repetition/locale 2087s ok 21 /option/arg/repetition/int64 2087s # End of repetition tests 2087s # Start of array tests 2087s ok 22 /option/arg/array/string 2087s # End of array tests 2087s # Start of callback tests 2087s ok 23 /option/arg/callback/string 2087s ok 24 /option/arg/callback/count 2087s ok 25 /option/arg/callback/optional1 2087s ok 26 /option/arg/callback/optional2 2087s ok 27 /option/arg/callback/optional3 2087s ok 28 /option/arg/callback/optional4 2087s ok 29 /option/arg/callback/optional5 2087s ok 30 /option/arg/callback/optional6 2087s ok 31 /option/arg/callback/optional7 2087s ok 32 /option/arg/callback/optional8 2087s # End of callback tests 2087s # Start of remaining tests 2087s ok 33 /option/arg/remaining/callback 2087s ok 34 /option/arg/remaining/callback-false 2087s ok 35 /option/arg/remaining/non-option 2087s ok 36 /option/arg/remaining/separator 2087s ok 37 /option/arg/remaining/array 2087s # End of remaining tests 2087s # Start of ignore tests 2087s ok 38 /option/arg/ignore/long 2087s ok 39 /option/arg/ignore/short 2087s ok 40 /option/arg/ignore/arg 2087s # End of ignore tests 2087s # Start of rest tests 2087s ok 41 /option/arg/rest/non-option 2087s ok 42 /option/arg/rest/separator1 2087s ok 43 /option/arg/rest/separator2 2087s ok 44 /option/arg/rest/separator3 2087s ok 45 /option/arg/rest/separator4 2087s ok 46 /option/arg/rest/separator5 2087s # End of rest tests 2087s # End of arg tests 2087s # Start of context tests 2087s ok 47 /option/context/add 2087s ok 48 /option/context/empty2 2087s ok 49 /option/context/empty3 2087s # End of context tests 2087s # Start of bug tests 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 2087s ok 50 /option/bug/unknown-short 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 2087s ok 51 /option/bug/lonely-dash 2087s ok 52 /option/bug/triple-dash 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 2087s ok 53 /option/bug/missing-arg 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 2087s ok 54 /option/bug/dash-arg 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 2087s ok 55 /option/bug/short-remaining 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 2087s ok 56 /option/bug/double-free 2087s ok 57 /option/bug/double-zero 2087s # End of bug tests 2087s # End of option tests 2087s ok - glib/option-context.test 2087s # Running test: glib/mem-overflow.test 2087s TAP version 14 2087s # random seed: R02Sb23070f4f4c6e4903fd4ab039d136c51 2087s 1..2 2087s # Start of mem tests 2087s ok 1 /mem/overflow 2087s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 2087s ok 2 /mem/empty-alloc 2087s # Start of overflow tests 2087s # Start of subprocess tests 2087s # End of subprocess tests 2087s # End of overflow tests 2087s # Start of empty-alloc tests 2087s # End of empty-alloc tests 2087s # End of mem tests 2087s ok - glib/mem-overflow.test 2087s # Running test: glib/genmarshal.py.test 2087s TAP version 13 2087s ok 1 __main__.TestGenmarshal.test_empty_list 2087s # tmpdir: /tmp/tmpla7syiu3 2087s # genmarshal: /usr/bin/glib-genmarshal 2087s # /tmp/tmpla7syiu3/tmpw_qsq4dy.list: 2087s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpla7syiu3/tmpw_qsq4dy.list', '--header', '--quiet'] 2087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2087s # 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. */ 2087s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2087s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2087s # 2087s # #include 2087s # 2087s # G_BEGIN_DECLS 2087s # 2087s # 2087s # G_END_DECLS 2087s # 2087s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2087s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpla7syiu3/tmpw_qsq4dy.list', '--body', '--quiet'] 2087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2087s # 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. */ 2087s # #include 2087s # 2087s # #ifdef G_ENABLE_DEBUG 2087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2087s # #else /* !G_ENABLE_DEBUG */ 2087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2087s # * Do not access GValues directly in your code. Instead, use the 2087s # * g_value_get_*() functions 2087s # */ 2087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2087s # #endif /* !G_ENABLE_DEBUG */ 2087s ok 2 __main__.TestGenmarshal.test_help 2087s # tmpdir: /tmp/tmpbxpg_uw5 2087s # genmarshal: /usr/bin/glib-genmarshal 2087s # Running: ['/usr/bin/glib-genmarshal', '--help'] 2087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2087s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 2087s # [--internal] [--valist-marshallers] [-v] 2087s # [--g-fatal-warnings] [--include-header [HEADER]] 2087s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 2087s # [--prototypes] [--header] [--body] 2087s # [--stdinc | --nostdinc] [--quiet | --verbose] 2087s # [FILE ...] 2087s # 2087s # Generate signal marshallers for GObject 2087s # 2087s # positional arguments: 2087s # FILE Files with lists of marshallers to generate, or "-" 2087s # for standard input 2087s # 2087s # options: 2087s # -h, --help show this help message and exit 2087s # --prefix STRING Specify marshaller prefix 2087s # --output FILE Write output into the specified file 2087s # --skip-source Skip source location comments 2087s # --internal Mark generated functions as internal 2087s # --valist-marshallers Generate va_list marshallers 2087s # -v, --version Print version information, and exit 2087s # --g-fatal-warnings Make warnings fatal 2087s # --include-header [HEADER] 2087s # Include the specified header in the body 2087s # --pragma-once Use "pragma once" as the inclusion guard 2087s # -D CPP_DEFINES Pre-processor define 2087s # -U CPP_UNDEFINES Pre-processor undefine 2087s # --prototypes Generate the marshallers prototype in the C code 2087s # --header Generate C headers 2087s # --body Generate C code 2087s # --stdinc Include standard marshallers 2087s # --nostdinc Use standard marshallers 2087s # --quiet Only print warnings and errors 2087s # --verbose Be verbose, and include debugging information 2087s ok 3 __main__.TestGenmarshal.test_no_args 2087s # tmpdir: /tmp/tmpj5ufm1l6 2087s # genmarshal: /usr/bin/glib-genmarshal 2087s # Running: ['/usr/bin/glib-genmarshal'] 2087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2087s # Output: 2087s ok 4 __main__.TestGenmarshal.test_void_boolean 2087s # tmpdir: /tmp/tmppsr__4pm 2087s # genmarshal: /usr/bin/glib-genmarshal 2087s # /tmp/tmppsr__4pm/tmpbpkjl_oz.list: VOID:BOOLEAN 2087s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppsr__4pm/tmpbpkjl_oz.list', '--header', '--quiet'] 2087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2087s # 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. */ 2087s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2087s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2087s # 2087s # #include 2087s # 2087s # G_BEGIN_DECLS 2087s # 2087s # /* VOID:BOOLEAN (/tmp/tmppsr__4pm/tmpbpkjl_oz.list:1) */ 2087s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 2087s # 2087s # 2087s # G_END_DECLS 2087s # 2087s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2087s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppsr__4pm/tmpbpkjl_oz.list', '--body', '--quiet'] 2087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2087s # 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. */ 2087s # #include 2087s # 2087s # #ifdef G_ENABLE_DEBUG 2087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2087s # #else /* !G_ENABLE_DEBUG */ 2087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2087s # * Do not access GValues directly in your code. Instead, use the 2087s # * g_value_get_*() functions 2087s # */ 2087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2087s # #endif /* !G_ENABLE_DEBUG */ 2088s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 2088s # tmpdir: /tmp/tmplf3r0yf2 2088s # genmarshal: /usr/bin/glib-genmarshal 2088s # /tmp/tmplf3r0yf2/tmpgz2e3r_p.list: VOID:BOOLEAN,INT64 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplf3r0yf2/tmpgz2e3r_p.list', '--header', '--quiet'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # 2088s # #include 2088s # 2088s # G_BEGIN_DECLS 2088s # 2088s # /* VOID:BOOLEAN,INT64 (/tmp/tmplf3r0yf2/tmpgz2e3r_p.list:1) */ 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 2088s # GValue *return_value, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint, 2088s # gpointer marshal_data); 2088s # 2088s # 2088s # G_END_DECLS 2088s # 2088s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplf3r0yf2/tmpgz2e3r_p.list', '--body', '--quiet'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #include 2088s # 2088s # #ifdef G_ENABLE_DEBUG 2088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2088s # #else /* !G_ENABLE_DEBUG */ 2088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2088s # * Do not access GValues directly in your code. Instead, use the 2088s # * g_value_get_*() functions 2088s # */ 2088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2088s # #endif /* !G_ENABLE_DEBUG */ 2088s # 2088s # /* VOID:BOOLEAN,INT64 (/tmp/tmplf3r0yf2/tmpgz2e3r_p.list:1) */ 2088s # void 2088s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint G_GNUC_UNUSED, 2088s # gpointer marshal_data) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 2088s # gboolean arg1, 2088s # gint64 arg2, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 2088s # 2088s # g_return_if_fail (n_param_values == 3); 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = g_value_peek_pointer (param_values + 0); 2088s # } 2088s # else 2088s # { 2088s # data1 = g_value_peek_pointer (param_values + 0); 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # g_marshal_value_peek_boolean (param_values + 1), 2088s # g_marshal_value_peek_int64 (param_values + 2), 2088s # data2); 2088s # } 2088s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 2088s # tmpdir: /tmp/tmp8a5vixm_ 2088s # genmarshal: /usr/bin/glib-genmarshal 2088s # /tmp/tmp8a5vixm_/tmpqlwqktzd.list: VOID:PARAM 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8a5vixm_/tmpqlwqktzd.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # 2088s # G_BEGIN_DECLS 2088s # 2088s # /* VOID:PARAM (/tmp/tmp8a5vixm_/tmpqlwqktzd.list:1) */ 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 2088s # GValue *return_value, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint, 2088s # gpointer marshal_data); 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 2088s # GValue *return_value, 2088s # gpointer instance, 2088s # va_list args, 2088s # gpointer marshal_data, 2088s # int n_params, 2088s # GType *param_types); 2088s # 2088s # 2088s # G_END_DECLS 2088s # 2088s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8a5vixm_/tmpqlwqktzd.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifdef G_ENABLE_DEBUG 2088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2088s # #else /* !G_ENABLE_DEBUG */ 2088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2088s # * Do not access GValues directly in your code. Instead, use the 2088s # * g_value_get_*() functions 2088s # */ 2088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2088s # #endif /* !G_ENABLE_DEBUG */ 2088s # 2088s # /* VOID:PARAM (/tmp/tmp8a5vixm_/tmpqlwqktzd.list:1) */ 2088s # void 2088s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint G_GNUC_UNUSED, 2088s # gpointer marshal_data) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 2088s # gpointer arg1, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__PARAM callback; 2088s # 2088s # g_return_if_fail (n_param_values == 2); 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = g_value_peek_pointer (param_values + 0); 2088s # } 2088s # else 2088s # { 2088s # data1 = g_value_peek_pointer (param_values + 0); 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # g_marshal_value_peek_param (param_values + 1), 2088s # data2); 2088s # } 2088s # 2088s # void 2088s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # gpointer instance, 2088s # va_list args, 2088s # gpointer marshal_data, 2088s # int n_params, 2088s # GType *param_types) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 2088s # gpointer arg1, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__PARAM callback; 2088s # gpointer arg0; 2088s # va_list args_copy; 2088s # 2088s # va_copy (args_copy, args); 2088s # arg0 = (gpointer) va_arg (args_copy, gpointer); 2088s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2088s # arg0 = g_param_spec_ref (arg0); 2088s # va_end (args_copy); 2088s # 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = instance; 2088s # } 2088s # else 2088s # { 2088s # data1 = instance; 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # arg0, 2088s # data2); 2088s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2088s # g_param_spec_unref (arg0); 2088s # } 2088s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 2088s # tmpdir: /tmp/tmpq0g4vmlj 2088s # genmarshal: /usr/bin/glib-genmarshal 2088s # /tmp/tmpq0g4vmlj/tmp7dh05hmk.list: VOID:STRING 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq0g4vmlj/tmp7dh05hmk.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # 2088s # G_BEGIN_DECLS 2088s # 2088s # /* VOID:STRING (/tmp/tmpq0g4vmlj/tmp7dh05hmk.list:1) */ 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 2088s # GValue *return_value, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint, 2088s # gpointer marshal_data); 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 2088s # GValue *return_value, 2088s # gpointer instance, 2088s # va_list args, 2088s # gpointer marshal_data, 2088s # int n_params, 2088s # GType *param_types); 2088s # 2088s # 2088s # G_END_DECLS 2088s # 2088s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq0g4vmlj/tmp7dh05hmk.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifdef G_ENABLE_DEBUG 2088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2088s # #else /* !G_ENABLE_DEBUG */ 2088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2088s # * Do not access GValues directly in your code. Instead, use the 2088s # * g_value_get_*() functions 2088s # */ 2088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2088s # #endif /* !G_ENABLE_DEBUG */ 2088s # 2088s # /* VOID:STRING (/tmp/tmpq0g4vmlj/tmp7dh05hmk.list:1) */ 2088s # void 2088s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint G_GNUC_UNUSED, 2088s # gpointer marshal_data) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 2088s # gpointer arg1, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__STRING callback; 2088s # 2088s # g_return_if_fail (n_param_values == 2); 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = g_value_peek_pointer (param_values + 0); 2088s # } 2088s # else 2088s # { 2088s # data1 = g_value_peek_pointer (param_values + 0); 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # g_marshal_value_peek_string (param_values + 1), 2088s # data2); 2088s # } 2088s # 2088s # void 2088s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # gpointer instance, 2088s # va_list args, 2088s # gpointer marshal_data, 2088s # int n_params, 2088s # GType *param_types) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 2088s # gpointer arg1, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__STRING callback; 2088s # gpointer arg0; 2088s # va_list args_copy; 2088s # 2088s # va_copy (args_copy, args); 2088s # arg0 = (gpointer) va_arg (args_copy, gpointer); 2088s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2088s # arg0 = g_strdup (arg0); 2088s # va_end (args_copy); 2088s # 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = instance; 2088s # } 2088s # else 2088s # { 2088s # data1 = instance; 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # arg0, 2088s # data2); 2088s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2088s # g_free (arg0); 2088s # } 2088s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 2088s # tmpdir: /tmp/tmprio8ffr3 2088s # genmarshal: /usr/bin/glib-genmarshal 2088s # /tmp/tmprio8ffr3/tmp6596bgwb.list: VOID:VARIANT 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprio8ffr3/tmp6596bgwb.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2088s # 2088s # G_BEGIN_DECLS 2088s # 2088s # /* VOID:VARIANT (/tmp/tmprio8ffr3/tmp6596bgwb.list:1) */ 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 2088s # GValue *return_value, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint, 2088s # gpointer marshal_data); 2088s # extern 2088s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 2088s # GValue *return_value, 2088s # gpointer instance, 2088s # va_list args, 2088s # gpointer marshal_data, 2088s # int n_params, 2088s # GType *param_types); 2088s # 2088s # 2088s # G_END_DECLS 2088s # 2088s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2088s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprio8ffr3/tmp6596bgwb.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 2088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2088s # 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. */ 2088s # #ifdef G_ENABLE_DEBUG 2088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2088s # #else /* !G_ENABLE_DEBUG */ 2088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2088s # * Do not access GValues directly in your code. Instead, use the 2088s # * g_value_get_*() functions 2088s # */ 2088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2088s # #endif /* !G_ENABLE_DEBUG */ 2088s # 2088s # /* VOID:VARIANT (/tmp/tmprio8ffr3/tmp6596bgwb.list:1) */ 2088s # void 2088s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # guint n_param_values, 2088s # const GValue *param_values, 2088s # gpointer invocation_hint G_GNUC_UNUSED, 2088s # gpointer marshal_data) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 2088s # gpointer arg1, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__VARIANT callback; 2088s # 2088s # g_return_if_fail (n_param_values == 2); 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = g_value_peek_pointer (param_values + 0); 2088s # } 2088s # else 2088s # { 2088s # data1 = g_value_peek_pointer (param_values + 0); 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # g_marshal_value_peek_variant (param_values + 1), 2088s # data2); 2088s # } 2088s # 2088s # void 2088s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 2088s # GValue *return_value G_GNUC_UNUSED, 2088s # gpointer instance, 2088s # va_list args, 2088s # gpointer marshal_data, 2088s # int n_params, 2088s # GType *param_types) 2088s # { 2088s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 2088s # gpointer arg1, 2088s # gpointer data2); 2088s # GCClosure *cc = (GCClosure *) closure; 2088s # gpointer data1, data2; 2088s # GMarshalFunc_VOID__VARIANT callback; 2088s # gpointer arg0; 2088s # va_list args_copy; 2088s # 2088s # va_copy (args_copy, args); 2088s # arg0 = (gpointer) va_arg (args_copy, gpointer); 2088s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2088s # arg0 = g_variant_ref_sink (arg0); 2088s # va_end (args_copy); 2088s # 2088s # 2088s # if (G_CCLOSURE_SWAP_DATA (closure)) 2088s # { 2088s # data1 = closure->data; 2088s # data2 = instance; 2088s # } 2088s # else 2088s # { 2088s # data1 = instance; 2088s # data2 = closure->data; 2088s # } 2088s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 2088s # 2088s # callback (data1, 2088s # arg0, 2088s # data2); 2088s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2088s # g_variant_unref (arg0); 2088s # } 2088s 1..8 2088s ok - glib/genmarshal.py.test 2088s # Running test: glib/data-input-stream.test 2088s TAP version 14 2088s # random seed: R02S005a4195a20b0ac6e46d21d5aecada91 2088s 1..10 2088s # Start of data-input-stream tests 2088s ok 1 /data-input-stream/basic 2088s ok 2 /data-input-stream/read-lines-LF 2088s ok 3 /data-input-stream/read-lines-LF-valid-utf8 2088s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 2088s ok 5 /data-input-stream/read-lines-CR 2088s ok 6 /data-input-stream/read-lines-CR-LF 2088s ok 7 /data-input-stream/read-lines-any 2088s ok 8 /data-input-stream/read-until 2088s ok 9 /data-input-stream/read-upto 2088s ok 10 /data-input-stream/read-int 2088s # End of data-input-stream tests 2088s ok - glib/data-input-stream.test 2088s # Running test: glib/slist.test 2088s TAP version 14 2088s # random seed: R02Scfeef32f1e22b1bb607e4868cc36878b 2088s 1..14 2088s # Start of slist tests 2088s ok 1 /slist/sort 2088s ok 2 /slist/sort-with-data 2088s ok 3 /slist/insert-sorted 2088s ok 4 /slist/insert-sorted-with-data 2088s ok 5 /slist/reverse 2088s ok 6 /slist/nth 2088s ok 7 /slist/remove 2088s ok 8 /slist/remove-all 2088s ok 9 /slist/insert 2088s ok 10 /slist/position 2088s ok 11 /slist/concat 2088s ok 12 /slist/copy 2088s # Start of sort tests 2088s ok 13 /slist/sort/stable 2088s # End of sort tests 2088s # Start of copy tests 2088s ok 14 /slist/copy/deep 2088s # End of copy tests 2088s # End of slist tests 2088s ok - glib/slist.test 2088s # Running test: glib/environment.test 2088s TAP version 14 2088s # random seed: R02Sf72875e96fe3b84323ca27c03b070829 2088s 1..6 2088s # Start of environ tests 2088s # /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. 2088s ok 1 /environ/listenv 2088s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 2088s ok 2 /environ/getenv 2088s ok 3 /environ/setenv 2088s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 2088s ok 4 /environ/array 2088s # /environ/null summary: Test getting and setting variables on a NULL envp array. 2088s ok 5 /environ/null 2088s # /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. 2088s ok 6 /environ/case 2088s # End of environ tests 2088s ok - glib/environment.test 2088s # Running test: glib/memory-output-stream.test 2088s TAP version 14 2088s # random seed: R02S3cf6ca0a830199013a0651235c1a5cea 2088s 1..10 2088s # Start of memory-output-stream tests 2088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 2088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 2088s ok 1 /memory-output-stream/truncate 2088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 2088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 2088s ok 2 /memory-output-stream/get-data-size 2088s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 2088s ok 3 /memory-output-stream/properties 2088s ok 4 /memory-output-stream/write-bytes 2088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 2088s ok 5 /memory-output-stream/write-null 2088s ok 6 /memory-output-stream/writev 2088s ok 7 /memory-output-stream/writev_nonblocking 2088s ok 8 /memory-output-stream/steal_as_bytes 2088s # Start of seek tests 2088s ok 9 /memory-output-stream/seek/fixed 2088s ok 10 /memory-output-stream/seek/resizable 2088s # End of seek tests 2088s # End of memory-output-stream tests 2088s ok - glib/memory-output-stream.test 2088s # Running test: glib/autoptr-girepository.test 2088s TAP version 14 2088s # random seed: R02Sf350e11c6a7608e475010a01b4893b69 2088s 1..24 2088s # Start of autoptr tests 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/repository/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 1 /autoptr/repository 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/typelib/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 2 /autoptr/typelib 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/base-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 3 /autoptr/base-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/arg-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 4 /autoptr/arg-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callable-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 5 /autoptr/callable-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/callback-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 6 /autoptr/callback-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/constant-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 7 /autoptr/constant-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/enum-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 8 /autoptr/enum-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/field-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 9 /autoptr/field-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/flags-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 10 /autoptr/flags-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/function-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 11 /autoptr/function-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/interface-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 12 /autoptr/interface-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/object-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 13 /autoptr/object-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/property-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 14 /autoptr/property-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/registered-type-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 15 /autoptr/registered-type-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/signal-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 16 /autoptr/signal-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/struct-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 17 /autoptr/struct-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/type-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 18 /autoptr/type-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/union-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 19 /autoptr/union-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/value-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 20 /autoptr/value-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/autoptr/vfunc-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 21 /autoptr/vfunc-info 2088s # End of autoptr tests 2088s # Start of auto tests 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/auto/arg-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 22 /auto/arg-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/auto/type-info/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 23 /auto/type-info 2088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/home 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/cache 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/system-config2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/config 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/system-data2 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/data 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/state 2088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y2RXX2/auto/function-invoker/.dirs/runtime 2088s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2088s ok 24 /auto/function-invoker 2088s # End of auto tests 2088s ok - glib/autoptr-girepository.test 2088s # Running test: glib/cxx-98.test 2088s TAP version 14 2088s # random seed: R02Sa65724db24308794e63c1a920114f3d3 2088s 1..2 2088s # Start of gtask tests 2088s # 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. 2088s ok 1 /gtask/name 2088s # Start of name tests 2088s # 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. 2088s ok 2 /gtask/name/macro-wrapper 2088s # End of name tests 2088s # End of gtask tests 2088s ok - glib/cxx-98.test 2088s # Running test: glib/actions.test 2088s TAP version 14 2088s # random seed: R02S4088be7efacae0f8e72d32e0b9dacd5c 2088s 1..13 2088s # Start of actions tests 2088s ok 1 /actions/basic 2088s ok 2 /actions/name 2088s ok 3 /actions/simplegroup 2088s ok 4 /actions/stateful 2088s ok 5 /actions/default-activate 2088s ok 6 /actions/entries 2088s ok 7 /actions/parse-detailed 2088s ok 8 /actions/property 2088s ok 9 /actions/no-properties 2088s # Start of dbus tests 2088s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s ok 10 /actions/dbus/export 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2088s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s ok 11 /actions/dbus/threaded 2089s # slow test /actions/dbus/threaded executed in 1.00 secs 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s ok 12 /actions/dbus/bug679509 2089s # Start of export tests 2089s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 2089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2089s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2089s ok 13 /actions/dbus/export/error-handling 2089s # End of export tests 2089s # End of dbus tests 2089s # End of actions tests 2089s ok - glib/actions.test 2089s # Running test: glib/permission.test 2089s TAP version 14 2089s # random seed: R02S0c2d8dfa0de503cc0758c1a1df35a05a 2089s 1..1 2089s # Start of permission tests 2089s ok 1 /permission/simple 2089s # End of permission tests 2089s ok - glib/permission.test 2089s # Running test: glib/rcbox.test 2089s TAP version 14 2089s # random seed: R02Sf876fadd332040f8e6aad0cd864349cb 2089s 1..8 2089s # Start of rcbox tests 2089s ok 1 /rcbox/new 2089s # global_point = 0x635db4fee840 2089s ok 2 /rcbox/release-full 2089s # global_point_a = 0x635db4fee840 2089s # global_point_b = 0x635db4fee800 2089s ok 3 /rcbox/dup 2089s ok 4 /rcbox/alignment 2089s # End of rcbox tests 2089s # Start of atomic-rcbox tests 2089s ok 5 /atomic-rcbox/new 2089s # global_point = 0x635db4feea10 2089s ok 6 /atomic-rcbox/release-full 2089s # global_point_a = 0x635db4feea10 2089s # global_point_b = 0x635db4fee9d0 2089s ok 7 /atomic-rcbox/dup 2089s ok 8 /atomic-rcbox/alignment 2089s # End of atomic-rcbox tests 2089s ok - glib/rcbox.test 2089s # Running test: glib/properties-refcount1.test 2089s TAP version 14 2089s # random seed: R02S1cce990d45181a06e55e717478f20442 2089s 1..1 2089s # Start of gobject tests 2089s # Start of refcount tests 2089s # .b 2089s # .d 2089s # .e 2089s # .c 2089s # .f 2089s # .b 2089s # .d 2089s # .b 2089s # .d 2089s # .d 2089s # .b 2089s # .e 2089s # .c 2089s # .d 2089s # .b 2089s # .f 2089s # .d 2089s # .b 2089s # .e 2089s # .c 2089s # .d 2089s # .f 2089s # .b 2089s # .f 2089s # .e 2089s # .c 2089s # .d 2089s # .b 2089s # .f 2089s # .e 2089s # .f 2090s # .c 2090s # .d 2090s # .f 2090s # .b 2090s # .e 2090s # .f 2090s # .c 2090s # .d 2090s # .e 2090s # .b 2090s # .f 2090s # .c 2090s # .f 2090s # .b 2090s # .d 2090s # .e 2090s # .f 2090s # .d 2090s # .b 2090s # .c 2090s # .b 2090s # .f 2090s # .d 2090s # .e 2090s # .c 2090s # .b 2090s # .f 2090s # .d 2090s # .c 2090s # .e 2090s # .b 2090s # .d 2090s # .f 2090s # .c 2090s # .b 2090s # .e 2090s # .f 2090s # .d 2090s # .b 2090s # .e 2090s # .c 2090s # .f 2090s # .f 2090s # .d 2090s # .b 2090s # .c 2090s # .e 2090s # .d 2090s # .f 2090s # .c 2090s # .e 2090s # .b 2090s # .f 2090s # .c 2090s # .d 2090s # .e 2090s # .f 2090s # .c 2090s # .b 2090s # .d 2090s # .f 2090s # .e 2090s # .c 2090s # .b 2090s # .c 2090s # .f 2090s # .d 2090s # .e 2090s # .c 2090s # .f 2090s # .b 2090s # .e 2090s # .d 2090s # .f 2090s # .e 2090s # .c 2090s # .f 2090s # .b 2090s # .e 2090s # .f 2090s # .d 2090s # .c 2090s # .e 2090s # .f 2090s # .b 2090s # .d 2090s # .e 2090s # .c 2090s # .f 2090s # .b 2090s # .d 2090s # .c 2090s # .e 2090s # .f 2090s # Executing: glib/properties-refcount1.test 2090s # .d 2090s # .b 2090s # .f 2090s # .c 2090s # .e 2090s # .d 2090s # .b 2090s # .f 2090s # .d 2090s # .e 2090s # .c 2090s # .f 2090s # .d 2090s # .b 2090s # .e 2090s # .c 2090s # .f 2090s # .b 2090s # .d 2090s # .e 2090s # .b 2090s # .f 2090s # .c 2090s # .d 2090s # .e 2090s # .f 2090s # .d 2091s # .c 2091s # .b 2091s # .e 2091s # .d 2091s # .f 2091s # .b 2091s # .e 2091s # .c 2091s # .e 2091s # .f 2091s # .b 2091s # .d 2091s # .c 2091s # .e 2091s # .b 2091s # .c 2091s # .f 2091s # .d 2091s # .e 2091s # .b 2091s # .c 2091s # .e 2091s # .d 2091s # .f 2091s # .b 2091s # .c 2091s # .e 2091s # .b 2091s # .d 2091s # .e 2091s # .c 2091s # .f 2091s # .b 2091s # .d 2091s # .e 2091s # .c 2091s # .f 2091s # .b 2091s # .d 2091s # .e 2091s # .c 2091s # .d 2091s # .f 2091s # .b 2091s # .e 2091s # .b 2091s # .f 2091s # .c 2091s # .d 2091s # .e 2091s # .f 2091s # .b 2091s # .c 2091s # .e 2091s # .d 2091s # .c 2091s # .b 2091s # .f 2091s # .e 2091s # .d 2091s # .b 2091s # .f 2091s # .c 2091s # .e 2091s # .d 2091s # .b 2091s # .e 2091s # .f 2091s # .c 2091s # .b 2091s # .d 2091s # .f 2091s # .e 2091s # .c 2091s # .b 2091s # .e 2091s # .b 2091s # .d 2091s # .e 2091s # .b 2091s # .f 2091s # .c 2091s # .e 2091s # .b 2091s # .d 2091s # .f 2091s # .e 2091s # .c 2091s # .b 2091s # .e 2091s # .d 2091s # .e 2091s # .f 2091s # .e 2091s # .c 2091s # .b 2091s # .e 2091s # .e 2091s # .d 2091s # .c 2091s # .f 2091s # .b 2091s # .e 2091s # .c 2091s # .f 2091s # .d 2091s # .e 2091s # .b 2091s # .f 2091s # .c 2091s # .b 2091s # .d 2091s # .e 2091s # .f 2091s # .b 2091s # .c 2091s # .f 2091s # .b 2091s # .e 2091s # .d 2091s # .f 2092s # .b 2092s # .d 2092s # .c 2092s # .b 2092s # .e 2092s # .f 2092s # .d 2092s # .b 2092s # .f 2092s # .c 2092s # .e 2092s # .f 2092s # .c 2092s # .d 2092s # .b 2092s # .c 2092s # .e 2092s # .c 2092s # .f 2092s # .c 2092s # .c 2092s # .d 2092s # .e 2092s # .b 2092s # .c 2092s # .f 2092s # .b 2092s # .e 2092s # .d 2092s # .b 2092s # .b 2092s # .c 2092s # .b 2092s # .f 2092s # .e 2092s # .b 2092s # .d 2092s # .b 2092s # .b 2092s # .c 2092s # .e 2092s # .f 2092s # .d 2092s # .b 2092s # .e 2092s # .c 2092s # .d 2092s # .f 2092s # .c 2092s # .b 2092s # .d 2092s # .e 2092s # .f 2092s # .c 2092s # .b 2092s # .e 2092s # .d 2092s # .c 2092s # .f 2092s # .d 2092s # .b 2092s # .e 2092s # .c 2092s # .d 2092s # .e 2092s ok 1 /gobject/refcount/properties-1 2092s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 2092s # End of refcount tests 2092s # End of gobject tests 2092s ok - glib/properties-refcount1.test 2092s # Running test: glib/properties-introspection.test 2092s TAP version 14 2092s # random seed: R02S383383047de55ed4489440ac2d568b33 2092s 1..2 2092s # Start of properties tests 2092s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 2092s ok 1 /properties/introspection 2092s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 2092s ok 2 /properties/collision 2092s # End of properties tests 2092s ok - glib/properties-introspection.test 2092s # Running test: glib/refcount.test 2092s TAP version 14 2092s # random seed: R02Se7e3acbd5afae8d78756082269093f1a 2092s 1..4 2092s # Start of refcount tests 2092s ok 1 /refcount/grefcount 2092s ok 2 /refcount/gatomicrefcount 2092s # Start of grefcount tests 2092s ok 3 /refcount/grefcount/saturation 2092s # End of grefcount tests 2092s # Start of gatomicrefcount tests 2092s ok 4 /refcount/gatomicrefcount/saturation 2092s # End of gatomicrefcount tests 2092s # End of refcount tests 2092s ok - glib/refcount.test 2092s # Running test: glib/unix-mounts.test 2092s TAP version 14 2092s # random seed: R02S3e6d79e9b09cecea42797c49dd869021 2092s 1..4 2092s # Start of unix-mounts tests 2092s ok 1 /unix-mounts/is-system-fs-type 2092s ok 2 /unix-mounts/is-system-device-path 2092s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 2092s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2092s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2092s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2092s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2092s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2092s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2092s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2092s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2092s ok 3 /unix-mounts/get-mount-points 2092s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 2092s ok 4 /unix-mounts/get-mount-entries 2092s # End of unix-mounts tests 2092s ok - glib/unix-mounts.test 2092s # Running test: glib/singleton.test 2092s TAP version 14 2092s # random seed: R02S9207d43f7034232570d55727e47a0c7f 2092s 1..2 2092s # Start of gobject tests 2092s # Start of singleton tests 2092s ok 1 /gobject/singleton/construction 2092s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 2092s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 2092s ok 2 /gobject/singleton/construct-property 2092s # End of singleton tests 2092s # End of gobject tests 2092s ok - glib/singleton.test 2092s # Running test: glib/checksum.test 2092s TAP version 14 2092s # random seed: R02S66f4649e2b80595003aefbd5b77d6485 2092s 1..1851 2092s # Start of checksum tests 2092s ok 1 /checksum/unsupported 2092s # Start of MD5 tests 2092s ok 2 /checksum/MD5/0 2092s ok 3 /checksum/MD5/1 2092s ok 4 /checksum/MD5/2 2092s ok 5 /checksum/MD5/3 2092s ok 6 /checksum/MD5/4 2092s ok 7 /checksum/MD5/5 2092s ok 8 /checksum/MD5/6 2092s ok 9 /checksum/MD5/7 2092s ok 10 /checksum/MD5/8 2092s ok 11 /checksum/MD5/9 2092s ok 12 /checksum/MD5/10 2092s ok 13 /checksum/MD5/11 2092s ok 14 /checksum/MD5/12 2092s ok 15 /checksum/MD5/13 2092s ok 16 /checksum/MD5/14 2092s ok 17 /checksum/MD5/15 2092s ok 18 /checksum/MD5/16 2092s ok 19 /checksum/MD5/17 2092s ok 20 /checksum/MD5/18 2092s ok 21 /checksum/MD5/19 2092s ok 22 /checksum/MD5/20 2092s ok 23 /checksum/MD5/21 2092s ok 24 /checksum/MD5/22 2092s ok 25 /checksum/MD5/23 2092s ok 26 /checksum/MD5/24 2092s ok 27 /checksum/MD5/25 2092s ok 28 /checksum/MD5/26 2092s ok 29 /checksum/MD5/27 2092s ok 30 /checksum/MD5/28 2092s ok 31 /checksum/MD5/29 2092s ok 32 /checksum/MD5/30 2092s ok 33 /checksum/MD5/31 2092s ok 34 /checksum/MD5/32 2092s ok 35 /checksum/MD5/33 2092s ok 36 /checksum/MD5/34 2092s ok 37 /checksum/MD5/35 2092s ok 38 /checksum/MD5/36 2092s ok 39 /checksum/MD5/37 2092s ok 40 /checksum/MD5/38 2092s ok 41 /checksum/MD5/39 2092s ok 42 /checksum/MD5/40 2092s ok 43 /checksum/MD5/41 2092s ok 44 /checksum/MD5/42 2092s ok 45 /checksum/MD5/43 2092s ok 46 /checksum/MD5/44 2092s ok 47 /checksum/MD5/45 2092s ok 48 /checksum/MD5/46 2092s ok 49 /checksum/MD5/47 2092s ok 50 /checksum/MD5/48 2092s ok 51 /checksum/MD5/49 2092s ok 52 /checksum/MD5/50 2092s ok 53 /checksum/MD5/51 2092s ok 54 /checksum/MD5/52 2092s ok 55 /checksum/MD5/53 2092s ok 56 /checksum/MD5/54 2092s ok 57 /checksum/MD5/55 2092s ok 58 /checksum/MD5/56 2092s ok 59 /checksum/MD5/57 2092s ok 60 /checksum/MD5/58 2092s ok 61 /checksum/MD5/59 2092s ok 62 /checksum/MD5/60 2092s ok 63 /checksum/MD5/61 2092s ok 64 /checksum/MD5/62 2092s ok 65 /checksum/MD5/63 2092s ok 66 /checksum/MD5/64 2092s ok 67 /checksum/MD5/65 2092s ok 68 /checksum/MD5/66 2092s ok 69 /checksum/MD5/67 2092s ok 70 /checksum/MD5/68 2092s ok 71 /checksum/MD5/69 2092s ok 72 /checksum/MD5/70 2092s ok 73 /checksum/MD5/71 2092s ok 74 /checksum/MD5/72 2092s ok 75 /checksum/MD5/73 2092s ok 76 /checksum/MD5/74 2092s ok 77 /checksum/MD5/75 2092s ok 78 /checksum/MD5/76 2092s ok 79 /checksum/MD5/77 2092s ok 80 /checksum/MD5/78 2092s ok 81 /checksum/MD5/79 2092s ok 82 /checksum/MD5/80 2092s ok 83 /checksum/MD5/81 2092s ok 84 /checksum/MD5/82 2092s ok 85 /checksum/MD5/83 2092s ok 86 /checksum/MD5/84 2092s ok 87 /checksum/MD5/85 2092s ok 88 /checksum/MD5/86 2092s ok 89 /checksum/MD5/87 2092s ok 90 /checksum/MD5/88 2092s ok 91 /checksum/MD5/89 2092s ok 92 /checksum/MD5/90 2092s ok 93 /checksum/MD5/91 2092s ok 94 /checksum/MD5/92 2092s ok 95 /checksum/MD5/93 2092s ok 96 /checksum/MD5/94 2092s ok 97 /checksum/MD5/95 2092s ok 98 /checksum/MD5/96 2092s ok 99 /checksum/MD5/97 2092s ok 100 /checksum/MD5/98 2092s ok 101 /checksum/MD5/99 2092s ok 102 /checksum/MD5/100 2092s ok 103 /checksum/MD5/101 2092s ok 104 /checksum/MD5/102 2092s ok 105 /checksum/MD5/103 2092s ok 106 /checksum/MD5/104 2092s ok 107 /checksum/MD5/105 2092s ok 108 /checksum/MD5/106 2092s ok 109 /checksum/MD5/107 2092s ok 110 /checksum/MD5/108 2092s ok 111 /checksum/MD5/109 2092s ok 112 /checksum/MD5/110 2092s ok 113 /checksum/MD5/111 2092s ok 114 /checksum/MD5/112 2092s ok 115 /checksum/MD5/113 2092s ok 116 /checksum/MD5/114 2092s ok 117 /checksum/MD5/115 2092s ok 118 /checksum/MD5/116 2092s ok 119 /checksum/MD5/117 2092s ok 120 /checksum/MD5/118 2092s ok 121 /checksum/MD5/119 2092s ok 122 /checksum/MD5/120 2092s ok 123 /checksum/MD5/121 2092s ok 124 /checksum/MD5/122 2092s ok 125 /checksum/MD5/123 2092s ok 126 /checksum/MD5/124 2092s ok 127 /checksum/MD5/125 2092s ok 128 /checksum/MD5/126 2092s ok 129 /checksum/MD5/127 2092s ok 130 /checksum/MD5/128 2092s ok 131 /checksum/MD5/129 2092s ok 132 /checksum/MD5/130 2092s ok 133 /checksum/MD5/131 2092s ok 134 /checksum/MD5/132 2092s ok 135 /checksum/MD5/133 2092s ok 136 /checksum/MD5/134 2092s ok 137 /checksum/MD5/135 2092s ok 138 /checksum/MD5/136 2092s ok 139 /checksum/MD5/137 2092s ok 140 /checksum/MD5/138 2092s ok 141 /checksum/MD5/139 2092s ok 142 /checksum/MD5/140 2092s ok 143 /checksum/MD5/141 2092s ok 144 /checksum/MD5/142 2092s ok 145 /checksum/MD5/143 2092s ok 146 /checksum/MD5/144 2092s ok 147 /checksum/MD5/145 2092s ok 148 /checksum/MD5/146 2092s ok 149 /checksum/MD5/147 2092s ok 150 /checksum/MD5/148 2092s ok 151 /checksum/MD5/149 2092s ok 152 /checksum/MD5/150 2092s ok 153 /checksum/MD5/151 2092s ok 154 /checksum/MD5/152 2092s ok 155 /checksum/MD5/153 2092s ok 156 /checksum/MD5/154 2092s ok 157 /checksum/MD5/155 2092s ok 158 /checksum/MD5/156 2092s ok 159 /checksum/MD5/157 2092s ok 160 /checksum/MD5/158 2092s ok 161 /checksum/MD5/159 2092s ok 162 /checksum/MD5/160 2092s ok 163 /checksum/MD5/161 2092s ok 164 /checksum/MD5/162 2092s ok 165 /checksum/MD5/163 2092s ok 166 /checksum/MD5/164 2092s ok 167 /checksum/MD5/165 2092s ok 168 /checksum/MD5/166 2092s ok 169 /checksum/MD5/167 2092s ok 170 /checksum/MD5/168 2092s ok 171 /checksum/MD5/169 2092s ok 172 /checksum/MD5/170 2092s ok 173 /checksum/MD5/171 2092s ok 174 /checksum/MD5/172 2092s ok 175 /checksum/MD5/173 2092s ok 176 /checksum/MD5/174 2092s ok 177 /checksum/MD5/175 2092s ok 178 /checksum/MD5/176 2092s ok 179 /checksum/MD5/177 2092s ok 180 /checksum/MD5/178 2092s ok 181 /checksum/MD5/179 2092s ok 182 /checksum/MD5/180 2092s ok 183 /checksum/MD5/181 2092s ok 184 /checksum/MD5/182 2092s ok 185 /checksum/MD5/183 2092s ok 186 /checksum/MD5/string 2092s ok 187 /checksum/MD5/bytes 2092s # Start of reset tests 2092s ok 188 /checksum/MD5/reset/0 2092s ok 189 /checksum/MD5/reset/1 2092s ok 190 /checksum/MD5/reset/2 2092s ok 191 /checksum/MD5/reset/3 2092s ok 192 /checksum/MD5/reset/4 2092s ok 193 /checksum/MD5/reset/5 2092s ok 194 /checksum/MD5/reset/6 2092s ok 195 /checksum/MD5/reset/7 2092s ok 196 /checksum/MD5/reset/8 2092s ok 197 /checksum/MD5/reset/9 2092s ok 198 /checksum/MD5/reset/10 2092s ok 199 /checksum/MD5/reset/11 2092s ok 200 /checksum/MD5/reset/12 2092s ok 201 /checksum/MD5/reset/13 2092s ok 202 /checksum/MD5/reset/14 2092s ok 203 /checksum/MD5/reset/15 2092s ok 204 /checksum/MD5/reset/16 2092s ok 205 /checksum/MD5/reset/17 2092s ok 206 /checksum/MD5/reset/18 2092s ok 207 /checksum/MD5/reset/19 2092s ok 208 /checksum/MD5/reset/20 2092s ok 209 /checksum/MD5/reset/21 2092s ok 210 /checksum/MD5/reset/22 2092s ok 211 /checksum/MD5/reset/23 2092s ok 212 /checksum/MD5/reset/24 2092s ok 213 /checksum/MD5/reset/25 2092s ok 214 /checksum/MD5/reset/26 2092s ok 215 /checksum/MD5/reset/27 2092s ok 216 /checksum/MD5/reset/28 2092s ok 217 /checksum/MD5/reset/29 2092s ok 218 /checksum/MD5/reset/30 2092s ok 219 /checksum/MD5/reset/31 2092s ok 220 /checksum/MD5/reset/32 2092s ok 221 /checksum/MD5/reset/33 2092s ok 222 /checksum/MD5/reset/34 2092s ok 223 /checksum/MD5/reset/35 2092s ok 224 /checksum/MD5/reset/36 2092s ok 225 /checksum/MD5/reset/37 2092s ok 226 /checksum/MD5/reset/38 2092s ok 227 /checksum/MD5/reset/39 2092s ok 228 /checksum/MD5/reset/40 2092s ok 229 /checksum/MD5/reset/41 2092s ok 230 /checksum/MD5/reset/42 2092s ok 231 /checksum/MD5/reset/43 2092s ok 232 /checksum/MD5/reset/44 2092s ok 233 /checksum/MD5/reset/45 2092s ok 234 /checksum/MD5/reset/46 2092s ok 235 /checksum/MD5/reset/47 2092s ok 236 /checksum/MD5/reset/48 2092s ok 237 /checksum/MD5/reset/49 2092s ok 238 /checksum/MD5/reset/50 2092s ok 239 /checksum/MD5/reset/51 2092s ok 240 /checksum/MD5/reset/52 2092s ok 241 /checksum/MD5/reset/53 2092s ok 242 /checksum/MD5/reset/54 2092s ok 243 /checksum/MD5/reset/55 2092s ok 244 /checksum/MD5/reset/56 2092s ok 245 /checksum/MD5/reset/57 2092s ok 246 /checksum/MD5/reset/58 2092s ok 247 /checksum/MD5/reset/59 2092s ok 248 /checksum/MD5/reset/60 2092s ok 249 /checksum/MD5/reset/61 2092s ok 250 /checksum/MD5/reset/62 2092s ok 251 /checksum/MD5/reset/63 2092s ok 252 /checksum/MD5/reset/64 2092s ok 253 /checksum/MD5/reset/65 2092s ok 254 /checksum/MD5/reset/66 2092s ok 255 /checksum/MD5/reset/67 2092s ok 256 /checksum/MD5/reset/68 2092s ok 257 /checksum/MD5/reset/69 2092s ok 258 /checksum/MD5/reset/70 2092s ok 259 /checksum/MD5/reset/71 2092s ok 260 /checksum/MD5/reset/72 2092s ok 261 /checksum/MD5/reset/73 2092s ok 262 /checksum/MD5/reset/74 2092s ok 263 /checksum/MD5/reset/75 2092s ok 264 /checksum/MD5/reset/76 2092s ok 265 /checksum/MD5/reset/77 2092s ok 266 /checksum/MD5/reset/78 2092s ok 267 /checksum/MD5/reset/79 2092s ok 268 /checksum/MD5/reset/80 2092s ok 269 /checksum/MD5/reset/81 2092s ok 270 /checksum/MD5/reset/82 2092s ok 271 /checksum/MD5/reset/83 2092s ok 272 /checksum/MD5/reset/84 2092s ok 273 /checksum/MD5/reset/85 2092s ok 274 /checksum/MD5/reset/86 2092s ok 275 /checksum/MD5/reset/87 2092s ok 276 /checksum/MD5/reset/88 2092s ok 277 /checksum/MD5/reset/89 2092s ok 278 /checksum/MD5/reset/90 2092s ok 279 /checksum/MD5/reset/91 2092s ok 280 /checksum/MD5/reset/92 2092s ok 281 /checksum/MD5/reset/93 2092s ok 282 /checksum/MD5/reset/94 2092s ok 283 /checksum/MD5/reset/95 2092s ok 284 /checksum/MD5/reset/96 2092s ok 285 /checksum/MD5/reset/97 2092s ok 286 /checksum/MD5/reset/98 2092s ok 287 /checksum/MD5/reset/99 2092s ok 288 /checksum/MD5/reset/100 2092s ok 289 /checksum/MD5/reset/101 2092s ok 290 /checksum/MD5/reset/102 2092s ok 291 /checksum/MD5/reset/103 2092s ok 292 /checksum/MD5/reset/104 2092s ok 293 /checksum/MD5/reset/105 2092s ok 294 /checksum/MD5/reset/106 2092s ok 295 /checksum/MD5/reset/107 2092s ok 296 /checksum/MD5/reset/108 2092s ok 297 /checksum/MD5/reset/109 2092s ok 298 /checksum/MD5/reset/110 2092s ok 299 /checksum/MD5/reset/111 2092s ok 300 /checksum/MD5/reset/112 2092s ok 301 /checksum/MD5/reset/113 2092s ok 302 /checksum/MD5/reset/114 2092s ok 303 /checksum/MD5/reset/115 2092s ok 304 /checksum/MD5/reset/116 2092s ok 305 /checksum/MD5/reset/117 2092s ok 306 /checksum/MD5/reset/118 2092s ok 307 /checksum/MD5/reset/119 2092s ok 308 /checksum/MD5/reset/120 2092s ok 309 /checksum/MD5/reset/121 2092s ok 310 /checksum/MD5/reset/122 2092s ok 311 /checksum/MD5/reset/123 2092s ok 312 /checksum/MD5/reset/124 2092s ok 313 /checksum/MD5/reset/125 2092s ok 314 /checksum/MD5/reset/126 2092s ok 315 /checksum/MD5/reset/127 2092s ok 316 /checksum/MD5/reset/128 2092s ok 317 /checksum/MD5/reset/129 2092s ok 318 /checksum/MD5/reset/130 2092s ok 319 /checksum/MD5/reset/131 2092s ok 320 /checksum/MD5/reset/132 2092s ok 321 /checksum/MD5/reset/133 2092s ok 322 /checksum/MD5/reset/134 2092s ok 323 /checksum/MD5/reset/135 2092s ok 324 /checksum/MD5/reset/136 2092s ok 325 /checksum/MD5/reset/137 2092s ok 326 /checksum/MD5/reset/138 2092s ok 327 /checksum/MD5/reset/139 2092s ok 328 /checksum/MD5/reset/140 2092s ok 329 /checksum/MD5/reset/141 2092s ok 330 /checksum/MD5/reset/142 2092s ok 331 /checksum/MD5/reset/143 2092s ok 332 /checksum/MD5/reset/144 2092s ok 333 /checksum/MD5/reset/145 2092s ok 334 /checksum/MD5/reset/146 2092s ok 335 /checksum/MD5/reset/147 2092s ok 336 /checksum/MD5/reset/148 2092s ok 337 /checksum/MD5/reset/149 2092s ok 338 /checksum/MD5/reset/150 2092s ok 339 /checksum/MD5/reset/151 2092s ok 340 /checksum/MD5/reset/152 2092s ok 341 /checksum/MD5/reset/153 2092s ok 342 /checksum/MD5/reset/154 2092s ok 343 /checksum/MD5/reset/155 2092s ok 344 /checksum/MD5/reset/156 2092s ok 345 /checksum/MD5/reset/157 2092s ok 346 /checksum/MD5/reset/158 2092s ok 347 /checksum/MD5/reset/159 2092s ok 348 /checksum/MD5/reset/160 2092s ok 349 /checksum/MD5/reset/161 2092s ok 350 /checksum/MD5/reset/162 2092s ok 351 /checksum/MD5/reset/163 2092s ok 352 /checksum/MD5/reset/164 2092s ok 353 /checksum/MD5/reset/165 2092s ok 354 /checksum/MD5/reset/166 2092s ok 355 /checksum/MD5/reset/167 2092s ok 356 /checksum/MD5/reset/168 2092s ok 357 /checksum/MD5/reset/169 2092s ok 358 /checksum/MD5/reset/170 2092s ok 359 /checksum/MD5/reset/171 2092s ok 360 /checksum/MD5/reset/172 2092s ok 361 /checksum/MD5/reset/173 2092s ok 362 /checksum/MD5/reset/174 2092s ok 363 /checksum/MD5/reset/175 2092s ok 364 /checksum/MD5/reset/176 2092s ok 365 /checksum/MD5/reset/177 2092s ok 366 /checksum/MD5/reset/178 2092s ok 367 /checksum/MD5/reset/179 2092s ok 368 /checksum/MD5/reset/180 2092s ok 369 /checksum/MD5/reset/181 2092s ok 370 /checksum/MD5/reset/182 2092s ok 371 /checksum/MD5/reset/183 2092s # End of reset tests 2092s # End of MD5 tests 2092s # Start of SHA1 tests 2092s ok 372 /checksum/SHA1/0 2092s ok 373 /checksum/SHA1/1 2092s ok 374 /checksum/SHA1/2 2092s ok 375 /checksum/SHA1/3 2092s ok 376 /checksum/SHA1/4 2092s ok 377 /checksum/SHA1/5 2092s ok 378 /checksum/SHA1/6 2092s ok 379 /checksum/SHA1/7 2092s ok 380 /checksum/SHA1/8 2092s ok 381 /checksum/SHA1/9 2092s ok 382 /checksum/SHA1/10 2092s ok 383 /checksum/SHA1/11 2092s ok 384 /checksum/SHA1/12 2092s ok 385 /checksum/SHA1/13 2092s ok 386 /checksum/SHA1/14 2092s ok 387 /checksum/SHA1/15 2092s ok 388 /checksum/SHA1/16 2092s ok 389 /checksum/SHA1/17 2092s ok 390 /checksum/SHA1/18 2092s ok 391 /checksum/SHA1/19 2092s ok 392 /checksum/SHA1/20 2092s ok 393 /checksum/SHA1/21 2092s ok 394 /checksum/SHA1/22 2092s ok 395 /checksum/SHA1/23 2092s ok 396 /checksum/SHA1/24 2092s ok 397 /checksum/SHA1/25 2092s ok 398 /checksum/SHA1/26 2092s ok 399 /checksum/SHA1/27 2092s ok 400 /checksum/SHA1/28 2092s ok 401 /checksum/SHA1/29 2092s ok 402 /checksum/SHA1/30 2092s ok 403 /checksum/SHA1/31 2092s ok 404 /checksum/SHA1/32 2092s ok 405 /checksum/SHA1/33 2092s ok 406 /checksum/SHA1/34 2092s ok 407 /checksum/SHA1/35 2092s ok 408 /checksum/SHA1/36 2092s ok 409 /checksum/SHA1/37 2092s ok 410 /checksum/SHA1/38 2092s ok 411 /checksum/SHA1/39 2092s ok 412 /checksum/SHA1/40 2092s ok 413 /checksum/SHA1/41 2092s ok 414 /checksum/SHA1/42 2092s ok 415 /checksum/SHA1/43 2092s ok 416 /checksum/SHA1/44 2092s ok 417 /checksum/SHA1/45 2092s ok 418 /checksum/SHA1/46 2092s ok 419 /checksum/SHA1/47 2092s ok 420 /checksum/SHA1/48 2092s ok 421 /checksum/SHA1/49 2092s ok 422 /checksum/SHA1/50 2092s ok 423 /checksum/SHA1/51 2092s ok 424 /checksum/SHA1/52 2092s ok 425 /checksum/SHA1/53 2092s ok 426 /checksum/SHA1/54 2092s ok 427 /checksum/SHA1/55 2092s ok 428 /checksum/SHA1/56 2092s ok 429 /checksum/SHA1/57 2092s ok 430 /checksum/SHA1/58 2092s ok 431 /checksum/SHA1/59 2092s ok 432 /checksum/SHA1/60 2092s ok 433 /checksum/SHA1/61 2092s ok 434 /checksum/SHA1/62 2092s ok 435 /checksum/SHA1/63 2092s ok 436 /checksum/SHA1/64 2092s ok 437 /checksum/SHA1/65 2092s ok 438 /checksum/SHA1/66 2092s ok 439 /checksum/SHA1/67 2092s ok 440 /checksum/SHA1/68 2092s ok 441 /checksum/SHA1/69 2092s ok 442 /checksum/SHA1/70 2092s ok 443 /checksum/SHA1/71 2092s ok 444 /checksum/SHA1/72 2092s ok 445 /checksum/SHA1/73 2092s ok 446 /checksum/SHA1/74 2092s ok 447 /checksum/SHA1/75 2092s ok 448 /checksum/SHA1/76 2092s ok 449 /checksum/SHA1/77 2092s ok 450 /checksum/SHA1/78 2092s ok 451 /checksum/SHA1/79 2092s ok 452 /checksum/SHA1/80 2092s ok 453 /checksum/SHA1/81 2092s ok 454 /checksum/SHA1/82 2092s ok 455 /checksum/SHA1/83 2092s ok 456 /checksum/SHA1/84 2092s ok 457 /checksum/SHA1/85 2092s ok 458 /checksum/SHA1/86 2092s ok 459 /checksum/SHA1/87 2092s ok 460 /checksum/SHA1/88 2092s ok 461 /checksum/SHA1/89 2092s ok 462 /checksum/SHA1/90 2092s ok 463 /checksum/SHA1/91 2092s ok 464 /checksum/SHA1/92 2092s ok 465 /checksum/SHA1/93 2092s ok 466 /checksum/SHA1/94 2092s ok 467 /checksum/SHA1/95 2092s ok 468 /checksum/SHA1/96 2092s ok 469 /checksum/SHA1/97 2092s ok 470 /checksum/SHA1/98 2092s ok 471 /checksum/SHA1/99 2092s ok 472 /checksum/SHA1/100 2092s ok 473 /checksum/SHA1/101 2092s ok 474 /checksum/SHA1/102 2092s ok 475 /checksum/SHA1/103 2092s ok 476 /checksum/SHA1/104 2092s ok 477 /checksum/SHA1/105 2092s ok 478 /checksum/SHA1/106 2092s ok 479 /checksum/SHA1/107 2092s ok 480 /checksum/SHA1/108 2092s ok 481 /checksum/SHA1/109 2092s ok 482 /checksum/SHA1/110 2092s ok 483 /checksum/SHA1/111 2092s ok 484 /checksum/SHA1/112 2092s ok 485 /checksum/SHA1/113 2092s ok 486 /checksum/SHA1/114 2092s ok 487 /checksum/SHA1/115 2092s ok 488 /checksum/SHA1/116 2092s ok 489 /checksum/SHA1/117 2092s ok 490 /checksum/SHA1/118 2092s ok 491 /checksum/SHA1/119 2092s ok 492 /checksum/SHA1/120 2092s ok 493 /checksum/SHA1/121 2092s ok 494 /checksum/SHA1/122 2092s ok 495 /checksum/SHA1/123 2092s ok 496 /checksum/SHA1/124 2092s ok 497 /checksum/SHA1/125 2092s ok 498 /checksum/SHA1/126 2092s ok 499 /checksum/SHA1/127 2092s ok 500 /checksum/SHA1/128 2092s ok 501 /checksum/SHA1/129 2092s ok 502 /checksum/SHA1/130 2092s ok 503 /checksum/SHA1/131 2092s ok 504 /checksum/SHA1/132 2092s ok 505 /checksum/SHA1/133 2092s ok 506 /checksum/SHA1/134 2092s ok 507 /checksum/SHA1/135 2092s ok 508 /checksum/SHA1/136 2092s ok 509 /checksum/SHA1/137 2092s ok 510 /checksum/SHA1/138 2092s ok 511 /checksum/SHA1/139 2092s ok 512 /checksum/SHA1/140 2092s ok 513 /checksum/SHA1/141 2092s ok 514 /checksum/SHA1/142 2092s ok 515 /checksum/SHA1/143 2092s ok 516 /checksum/SHA1/144 2092s ok 517 /checksum/SHA1/145 2092s ok 518 /checksum/SHA1/146 2092s ok 519 /checksum/SHA1/147 2092s ok 520 /checksum/SHA1/148 2092s ok 521 /checksum/SHA1/149 2092s ok 522 /checksum/SHA1/150 2092s ok 523 /checksum/SHA1/151 2092s ok 524 /checksum/SHA1/152 2092s ok 525 /checksum/SHA1/153 2092s ok 526 /checksum/SHA1/154 2092s ok 527 /checksum/SHA1/155 2092s ok 528 /checksum/SHA1/156 2092s ok 529 /checksum/SHA1/157 2092s ok 530 /checksum/SHA1/158 2092s ok 531 /checksum/SHA1/159 2092s ok 532 /checksum/SHA1/160 2092s ok 533 /checksum/SHA1/161 2092s ok 534 /checksum/SHA1/162 2092s ok 535 /checksum/SHA1/163 2092s ok 536 /checksum/SHA1/164 2092s ok 537 /checksum/SHA1/165 2092s ok 538 /checksum/SHA1/166 2092s ok 539 /checksum/SHA1/167 2092s ok 540 /checksum/SHA1/168 2092s ok 541 /checksum/SHA1/169 2092s ok 542 /checksum/SHA1/170 2092s ok 543 /checksum/SHA1/171 2092s ok 544 /checksum/SHA1/172 2092s ok 545 /checksum/SHA1/173 2092s ok 546 /checksum/SHA1/174 2092s ok 547 /checksum/SHA1/175 2092s ok 548 /checksum/SHA1/176 2092s ok 549 /checksum/SHA1/177 2092s ok 550 /checksum/SHA1/178 2092s ok 551 /checksum/SHA1/179 2092s ok 552 /checksum/SHA1/180 2092s ok 553 /checksum/SHA1/181 2092s ok 554 /checksum/SHA1/182 2092s ok 555 /checksum/SHA1/183 2092s ok 556 /checksum/SHA1/string 2092s ok 557 /checksum/SHA1/bytes 2092s # Start of reset tests 2092s ok 558 /checksum/SHA1/reset/0 2092s ok 559 /checksum/SHA1/reset/1 2092s ok 560 /checksum/SHA1/reset/2 2092s ok 561 /checksum/SHA1/reset/3 2092s ok 562 /checksum/SHA1/reset/4 2092s ok 563 /checksum/SHA1/reset/5 2092s ok 564 /checksum/SHA1/reset/6 2092s ok 565 /checksum/SHA1/reset/7 2092s ok 566 /checksum/SHA1/reset/8 2092s ok 567 /checksum/SHA1/reset/9 2092s ok 568 /checksum/SHA1/reset/10 2092s ok 569 /checksum/SHA1/reset/11 2092s ok 570 /checksum/SHA1/reset/12 2092s ok 571 /checksum/SHA1/reset/13 2092s ok 572 /checksum/SHA1/reset/14 2092s ok 573 /checksum/SHA1/reset/15 2092s ok 574 /checksum/SHA1/reset/16 2092s ok 575 /checksum/SHA1/reset/17 2092s ok 576 /checksum/SHA1/reset/18 2092s ok 577 /checksum/SHA1/reset/19 2092s ok 578 /checksum/SHA1/reset/20 2092s ok 579 /checksum/SHA1/reset/21 2092s ok 580 /checksum/SHA1/reset/22 2092s ok 581 /checksum/SHA1/reset/23 2092s ok 582 /checksum/SHA1/reset/24 2092s ok 583 /checksum/SHA1/reset/25 2092s ok 584 /checksum/SHA1/reset/26 2092s ok 585 /checksum/SHA1/reset/27 2092s ok 586 /checksum/SHA1/reset/28 2092s ok 587 /checksum/SHA1/reset/29 2092s ok 588 /checksum/SHA1/reset/30 2092s ok 589 /checksum/SHA1/reset/31 2092s ok 590 /checksum/SHA1/reset/32 2092s ok 591 /checksum/SHA1/reset/33 2092s ok 592 /checksum/SHA1/reset/34 2092s ok 593 /checksum/SHA1/reset/35 2092s ok 594 /checksum/SHA1/reset/36 2092s ok 595 /checksum/SHA1/reset/37 2092s ok 596 /checksum/SHA1/reset/38 2092s ok 597 /checksum/SHA1/reset/39 2092s ok 598 /checksum/SHA1/reset/40 2092s ok 599 /checksum/SHA1/reset/41 2092s ok 600 /checksum/SHA1/reset/42 2092s ok 601 /checksum/SHA1/reset/43 2092s ok 602 /checksum/SHA1/reset/44 2092s ok 603 /checksum/SHA1/reset/45 2092s ok 604 /checksum/SHA1/reset/46 2092s ok 605 /checksum/SHA1/reset/47 2092s ok 606 /checksum/SHA1/reset/48 2092s ok 607 /checksum/SHA1/reset/49 2092s ok 608 /checksum/SHA1/reset/50 2092s ok 609 /checksum/SHA1/reset/51 2092s ok 610 /checksum/SHA1/reset/52 2092s ok 611 /checksum/SHA1/reset/53 2092s ok 612 /checksum/SHA1/reset/54 2092s ok 613 /checksum/SHA1/reset/55 2092s ok 614 /checksum/SHA1/reset/56 2092s ok 615 /checksum/SHA1/reset/57 2092s ok 616 /checksum/SHA1/reset/58 2092s ok 617 /checksum/SHA1/reset/59 2092s ok 618 /checksum/SHA1/reset/60 2092s ok 619 /checksum/SHA1/reset/61 2092s ok 620 /checksum/SHA1/reset/62 2092s ok 621 /checksum/SHA1/reset/63 2092s ok 622 /checksum/SHA1/reset/64 2092s ok 623 /checksum/SHA1/reset/65 2092s ok 624 /checksum/SHA1/reset/66 2092s ok 625 /checksum/SHA1/reset/67 2092s ok 626 /checksum/SHA1/reset/68 2092s ok 627 /checksum/SHA1/reset/69 2092s ok 628 /checksum/SHA1/reset/70 2092s ok 629 /checksum/SHA1/reset/71 2092s ok 630 /checksum/SHA1/reset/72 2092s ok 631 /checksum/SHA1/reset/73 2092s ok 632 /checksum/SHA1/reset/74 2092s ok 633 /checksum/SHA1/reset/75 2092s ok 634 /checksum/SHA1/reset/76 2092s ok 635 /checksum/SHA1/reset/77 2092s ok 636 /checksum/SHA1/reset/78 2092s ok 637 /checksum/SHA1/reset/79 2092s ok 638 /checksum/SHA1/reset/80 2092s ok 639 /checksum/SHA1/reset/81 2092s ok 640 /checksum/SHA1/reset/82 2092s ok 641 /checksum/SHA1/reset/83 2092s ok 642 /checksum/SHA1/reset/84 2092s ok 643 /checksum/SHA1/reset/85 2092s ok 644 /checksum/SHA1/reset/86 2092s ok 645 /checksum/SHA1/reset/87 2092s ok 646 /checksum/SHA1/reset/88 2092s ok 647 /checksum/SHA1/reset/89 2092s ok 648 /checksum/SHA1/reset/90 2092s ok 649 /checksum/SHA1/reset/91 2092s ok 650 /checksum/SHA1/reset/92 2092s ok 651 /checksum/SHA1/reset/93 2092s ok 652 /checksum/SHA1/reset/94 2092s ok 653 /checksum/SHA1/reset/95 2092s ok 654 /checksum/SHA1/reset/96 2092s ok 655 /checksum/SHA1/reset/97 2092s ok 656 /checksum/SHA1/reset/98 2092s ok 657 /checksum/SHA1/reset/99 2092s ok 658 /checksum/SHA1/reset/100 2092s ok 659 /checksum/SHA1/reset/101 2092s ok 660 /checksum/SHA1/reset/102 2092s ok 661 /checksum/SHA1/reset/103 2092s ok 662 /checksum/SHA1/reset/104 2092s ok 663 /checksum/SHA1/reset/105 2092s ok 664 /checksum/SHA1/reset/106 2092s ok 665 /checksum/SHA1/reset/107 2092s ok 666 /checksum/SHA1/reset/108 2092s ok 667 /checksum/SHA1/reset/109 2092s ok 668 /checksum/SHA1/reset/110 2092s ok 669 /checksum/SHA1/reset/111 2092s ok 670 /checksum/SHA1/reset/112 2092s ok 671 /checksum/SHA1/reset/113 2092s ok 672 /checksum/SHA1/reset/114 2092s ok 673 /checksum/SHA1/reset/115 2092s ok 674 /checksum/SHA1/reset/116 2092s ok 675 /checksum/SHA1/reset/117 2092s ok 676 /checksum/SHA1/reset/118 2092s ok 677 /checksum/SHA1/reset/119 2092s ok 678 /checksum/SHA1/reset/120 2092s ok 679 /checksum/SHA1/reset/121 2092s ok 680 /checksum/SHA1/reset/122 2092s ok 681 /checksum/SHA1/reset/123 2092s ok 682 /checksum/SHA1/reset/124 2092s ok 683 /checksum/SHA1/reset/125 2092s ok 684 /checksum/SHA1/reset/126 2092s ok 685 /checksum/SHA1/reset/127 2092s ok 686 /checksum/SHA1/reset/128 2092s ok 687 /checksum/SHA1/reset/129 2092s ok 688 /checksum/SHA1/reset/130 2092s ok 689 /checksum/SHA1/reset/131 2092s ok 690 /checksum/SHA1/reset/132 2092s ok 691 /checksum/SHA1/reset/133 2092s ok 692 /checksum/SHA1/reset/134 2092s ok 693 /checksum/SHA1/reset/135 2092s ok 694 /checksum/SHA1/reset/136 2092s ok 695 /checksum/SHA1/reset/137 2092s ok 696 /checksum/SHA1/reset/138 2092s ok 697 /checksum/SHA1/reset/139 2092s ok 698 /checksum/SHA1/reset/140 2092s ok 699 /checksum/SHA1/reset/141 2092s ok 700 /checksum/SHA1/reset/142 2092s ok 701 /checksum/SHA1/reset/143 2092s ok 702 /checksum/SHA1/reset/144 2092s ok 703 /checksum/SHA1/reset/145 2092s ok 704 /checksum/SHA1/reset/146 2092s ok 705 /checksum/SHA1/reset/147 2092s ok 706 /checksum/SHA1/reset/148 2092s ok 707 /checksum/SHA1/reset/149 2092s ok 708 /checksum/SHA1/reset/150 2092s ok 709 /checksum/SHA1/reset/151 2092s ok 710 /checksum/SHA1/reset/152 2092s ok 711 /checksum/SHA1/reset/153 2092s ok 712 /checksum/SHA1/reset/154 2092s ok 713 /checksum/SHA1/reset/155 2092s ok 714 /checksum/SHA1/reset/156 2092s ok 715 /checksum/SHA1/reset/157 2092s ok 716 /checksum/SHA1/reset/158 2092s ok 717 /checksum/SHA1/reset/159 2092s ok 718 /checksum/SHA1/reset/160 2092s ok 719 /checksum/SHA1/reset/161 2092s ok 720 /checksum/SHA1/reset/162 2092s ok 721 /checksum/SHA1/reset/163 2092s ok 722 /checksum/SHA1/reset/164 2092s ok 723 /checksum/SHA1/reset/165 2092s ok 724 /checksum/SHA1/reset/166 2092s ok 725 /checksum/SHA1/reset/167 2092s ok 726 /checksum/SHA1/reset/168 2092s ok 727 /checksum/SHA1/reset/169 2092s ok 728 /checksum/SHA1/reset/170 2092s ok 729 /checksum/SHA1/reset/171 2092s ok 730 /checksum/SHA1/reset/172 2092s ok 731 /checksum/SHA1/reset/173 2092s ok 732 /checksum/SHA1/reset/174 2092s ok 733 /checksum/SHA1/reset/175 2092s ok 734 /checksum/SHA1/reset/176 2092s ok 735 /checksum/SHA1/reset/177 2092s ok 736 /checksum/SHA1/reset/178 2092s ok 737 /checksum/SHA1/reset/179 2092s ok 738 /checksum/SHA1/reset/180 2092s ok 739 /checksum/SHA1/reset/181 2092s ok 740 /checksum/SHA1/reset/182 2092s ok 741 /checksum/SHA1/reset/183 2092s # End of reset tests 2092s # End of SHA1 tests 2092s # Start of SHA256 tests 2092s ok 742 /checksum/SHA256/0 2092s ok 743 /checksum/SHA256/1 2092s ok 744 /checksum/SHA256/2 2092s ok 745 /checksum/SHA256/3 2092s ok 746 /checksum/SHA256/4 2092s ok 747 /checksum/SHA256/5 2092s ok 748 /checksum/SHA256/6 2092s ok 749 /checksum/SHA256/7 2092s ok 750 /checksum/SHA256/8 2092s ok 751 /checksum/SHA256/9 2092s ok 752 /checksum/SHA256/10 2092s ok 753 /checksum/SHA256/11 2092s ok 754 /checksum/SHA256/12 2092s ok 755 /checksum/SHA256/13 2092s ok 756 /checksum/SHA256/14 2092s ok 757 /checksum/SHA256/15 2092s ok 758 /checksum/SHA256/16 2092s ok 759 /checksum/SHA256/17 2092s ok 760 /checksum/SHA256/18 2092s ok 761 /checksum/SHA256/19 2092s ok 762 /checksum/SHA256/20 2092s ok 763 /checksum/SHA256/21 2092s ok 764 /checksum/SHA256/22 2092s ok 765 /checksum/SHA256/23 2092s ok 766 /checksum/SHA256/24 2092s ok 767 /checksum/SHA256/25 2092s ok 768 /checksum/SHA256/26 2092s ok 769 /checksum/SHA256/27 2092s ok 770 /checksum/SHA256/28 2092s ok 771 /checksum/SHA256/29 2092s ok 772 /checksum/SHA256/30 2092s ok 773 /checksum/SHA256/31 2092s ok 774 /checksum/SHA256/32 2092s ok 775 /checksum/SHA256/33 2092s ok 776 /checksum/SHA256/34 2092s ok 777 /checksum/SHA256/35 2092s ok 778 /checksum/SHA256/36 2092s ok 779 /checksum/SHA256/37 2092s ok 780 /checksum/SHA256/38 2092s ok 781 /checksum/SHA256/39 2092s ok 782 /checksum/SHA256/40 2092s ok 783 /checksum/SHA256/41 2092s ok 784 /checksum/SHA256/42 2092s ok 785 /checksum/SHA256/43 2092s ok 786 /checksum/SHA256/44 2092s ok 787 /checksum/SHA256/45 2092s ok 788 /checksum/SHA256/46 2092s ok 789 /checksum/SHA256/47 2092s ok 790 /checksum/SHA256/48 2092s ok 791 /checksum/SHA256/49 2092s ok 792 /checksum/SHA256/50 2092s ok 793 /checksum/SHA256/51 2092s ok 794 /checksum/SHA256/52 2092s ok 795 /checksum/SHA256/53 2092s ok 796 /checksum/SHA256/54 2092s ok 797 /checksum/SHA256/55 2092s ok 798 /checksum/SHA256/56 2092s ok 799 /checksum/SHA256/57 2092s ok 800 /checksum/SHA256/58 2092s ok 801 /checksum/SHA256/59 2092s ok 802 /checksum/SHA256/60 2092s ok 803 /checksum/SHA256/61 2092s ok 804 /checksum/SHA256/62 2092s ok 805 /checksum/SHA256/63 2092s ok 806 /checksum/SHA256/64 2092s ok 807 /checksum/SHA256/65 2092s ok 808 /checksum/SHA256/66 2092s ok 809 /checksum/SHA256/67 2092s ok 810 /checksum/SHA256/68 2092s ok 811 /checksum/SHA256/69 2092s ok 812 /checksum/SHA256/70 2092s ok 813 /checksum/SHA256/71 2092s ok 814 /checksum/SHA256/72 2092s ok 815 /checksum/SHA256/73 2092s ok 816 /checksum/SHA256/74 2092s ok 817 /checksum/SHA256/75 2092s ok 818 /checksum/SHA256/76 2092s ok 819 /checksum/SHA256/77 2092s ok 820 /checksum/SHA256/78 2092s ok 821 /checksum/SHA256/79 2092s ok 822 /checksum/SHA256/80 2092s ok 823 /checksum/SHA256/81 2092s ok 824 /checksum/SHA256/82 2092s ok 825 /checksum/SHA256/83 2092s ok 826 /checksum/SHA256/84 2092s ok 827 /checksum/SHA256/85 2092s ok 828 /checksum/SHA256/86 2092s ok 829 /checksum/SHA256/87 2092s ok 830 /checksum/SHA256/88 2092s ok 831 /checksum/SHA256/89 2092s ok 832 /checksum/SHA256/90 2092s ok 833 /checksum/SHA256/91 2092s ok 834 /checksum/SHA256/92 2092s ok 835 /checksum/SHA256/93 2092s ok 836 /checksum/SHA256/94 2092s ok 837 /checksum/SHA256/95 2092s ok 838 /checksum/SHA256/96 2092s ok 839 /checksum/SHA256/97 2092s ok 840 /checksum/SHA256/98 2092s ok 841 /checksum/SHA256/99 2092s ok 842 /checksum/SHA256/100 2092s ok 843 /checksum/SHA256/101 2092s ok 844 /checksum/SHA256/102 2092s ok 845 /checksum/SHA256/103 2092s ok 846 /checksum/SHA256/104 2092s ok 847 /checksum/SHA256/105 2092s ok 848 /checksum/SHA256/106 2092s ok 849 /checksum/SHA256/107 2092s ok 850 /checksum/SHA256/108 2092s ok 851 /checksum/SHA256/109 2092s ok 852 /checksum/SHA256/110 2092s ok 853 /checksum/SHA256/111 2092s ok 854 /checksum/SHA256/112 2092s ok 855 /checksum/SHA256/113 2092s ok 856 /checksum/SHA256/114 2092s ok 857 /checksum/SHA256/115 2092s ok 858 /checksum/SHA256/116 2092s ok 859 /checksum/SHA256/117 2092s ok 860 /checksum/SHA256/118 2092s ok 861 /checksum/SHA256/119 2092s ok 862 /checksum/SHA256/120 2092s ok 863 /checksum/SHA256/121 2092s ok 864 /checksum/SHA256/122 2092s ok 865 /checksum/SHA256/123 2092s ok 866 /checksum/SHA256/124 2092s ok 867 /checksum/SHA256/125 2092s ok 868 /checksum/SHA256/126 2092s ok 869 /checksum/SHA256/127 2092s ok 870 /checksum/SHA256/128 2092s ok 871 /checksum/SHA256/129 2092s ok 872 /checksum/SHA256/130 2092s ok 873 /checksum/SHA256/131 2092s ok 874 /checksum/SHA256/132 2092s ok 875 /checksum/SHA256/133 2092s ok 876 /checksum/SHA256/134 2092s ok 877 /checksum/SHA256/135 2092s ok 878 /checksum/SHA256/136 2092s ok 879 /checksum/SHA256/137 2092s ok 880 /checksum/SHA256/138 2092s ok 881 /checksum/SHA256/139 2092s ok 882 /checksum/SHA256/140 2092s ok 883 /checksum/SHA256/141 2092s ok 884 /checksum/SHA256/142 2092s ok 885 /checksum/SHA256/143 2092s ok 886 /checksum/SHA256/144 2092s ok 887 /checksum/SHA256/145 2092s ok 888 /checksum/SHA256/146 2092s ok 889 /checksum/SHA256/147 2092s ok 890 /checksum/SHA256/148 2092s ok 891 /checksum/SHA256/149 2092s ok 892 /checksum/SHA256/150 2092s ok 893 /checksum/SHA256/151 2092s ok 894 /checksum/SHA256/152 2092s ok 895 /checksum/SHA256/153 2092s ok 896 /checksum/SHA256/154 2092s ok 897 /checksum/SHA256/155 2092s ok 898 /checksum/SHA256/156 2092s ok 899 /checksum/SHA256/157 2092s ok 900 /checksum/SHA256/158 2092s ok 901 /checksum/SHA256/159 2092s ok 902 /checksum/SHA256/160 2092s ok 903 /checksum/SHA256/161 2092s ok 904 /checksum/SHA256/162 2092s ok 905 /checksum/SHA256/163 2092s ok 906 /checksum/SHA256/164 2092s ok 907 /checksum/SHA256/165 2092s ok 908 /checksum/SHA256/166 2092s ok 909 /checksum/SHA256/167 2092s ok 910 /checksum/SHA256/168 2092s ok 911 /checksum/SHA256/169 2092s ok 912 /checksum/SHA256/170 2092s ok 913 /checksum/SHA256/171 2092s ok 914 /checksum/SHA256/172 2092s ok 915 /checksum/SHA256/173 2092s ok 916 /checksum/SHA256/174 2092s ok 917 /checksum/SHA256/175 2092s ok 918 /checksum/SHA256/176 2092s ok 919 /checksum/SHA256/177 2092s ok 920 /checksum/SHA256/178 2092s ok 921 /checksum/SHA256/179 2092s ok 922 /checksum/SHA256/180 2092s ok 923 /checksum/SHA256/181 2092s ok 924 /checksum/SHA256/182 2092s ok 925 /checksum/SHA256/183 2092s ok 926 /checksum/SHA256/string 2092s ok 927 /checksum/SHA256/bytes 2092s # Start of reset tests 2092s ok 928 /checksum/SHA256/reset/0 2092s ok 929 /checksum/SHA256/reset/1 2092s ok 930 /checksum/SHA256/reset/2 2092s ok 931 /checksum/SHA256/reset/3 2092s ok 932 /checksum/SHA256/reset/4 2092s ok 933 /checksum/SHA256/reset/5 2092s ok 934 /checksum/SHA256/reset/6 2092s ok 935 /checksum/SHA256/reset/7 2092s ok 936 /checksum/SHA256/reset/8 2092s ok 937 /checksum/SHA256/reset/9 2092s ok 938 /checksum/SHA256/reset/10 2092s ok 939 /checksum/SHA256/reset/11 2092s ok 940 /checksum/SHA256/reset/12 2092s ok 941 /checksum/SHA256/reset/13 2092s ok 942 /checksum/SHA256/reset/14 2092s ok 943 /checksum/SHA256/reset/15 2092s ok 944 /checksum/SHA256/reset/16 2092s ok 945 /checksum/SHA256/reset/17 2092s ok 946 /checksum/SHA256/reset/18 2092s ok 947 /checksum/SHA256/reset/19 2092s ok 948 /checksum/SHA256/reset/20 2092s ok 949 /checksum/SHA256/reset/21 2092s ok 950 /checksum/SHA256/reset/22 2092s ok 951 /checksum/SHA256/reset/23 2092s ok 952 /checksum/SHA256/reset/24 2092s ok 953 /checksum/SHA256/reset/25 2092s ok 954 /checksum/SHA256/reset/26 2092s ok 955 /checksum/SHA256/reset/27 2092s ok 956 /checksum/SHA256/reset/28 2092s ok 957 /checksum/SHA256/reset/29 2092s ok 958 /checksum/SHA256/reset/30 2092s ok 959 /checksum/SHA256/reset/31 2092s ok 960 /checksum/SHA256/reset/32 2092s ok 961 /checksum/SHA256/reset/33 2092s ok 962 /checksum/SHA256/reset/34 2092s ok 963 /checksum/SHA256/reset/35 2092s ok 964 /checksum/SHA256/reset/36 2092s ok 965 /checksum/SHA256/reset/37 2092s ok 966 /checksum/SHA256/reset/38 2092s ok 967 /checksum/SHA256/reset/39 2092s ok 968 /checksum/SHA256/reset/40 2092s ok 969 /checksum/SHA256/reset/41 2092s ok 970 /checksum/SHA256/reset/42 2092s ok 971 /checksum/SHA256/reset/43 2092s ok 972 /checksum/SHA256/reset/44 2092s ok 973 /checksum/SHA256/reset/45 2092s ok 974 /checksum/SHA256/reset/46 2092s ok 975 /checksum/SHA256/reset/47 2092s ok 976 /checksum/SHA256/reset/48 2092s ok 977 /checksum/SHA256/reset/49 2092s ok 978 /checksum/SHA256/reset/50 2092s ok 979 /checksum/SHA256/reset/51 2092s ok 980 /checksum/SHA256/reset/52 2092s ok 981 /checksum/SHA256/reset/53 2092s ok 982 /checksum/SHA256/reset/54 2092s ok 983 /checksum/SHA256/reset/55 2092s ok 984 /checksum/SHA256/reset/56 2092s ok 985 /checksum/SHA256/reset/57 2092s ok 986 /checksum/SHA256/reset/58 2092s ok 987 /checksum/SHA256/reset/59 2092s ok 988 /checksum/SHA256/reset/60 2092s ok 989 /checksum/SHA256/reset/61 2092s ok 990 /checksum/SHA256/reset/62 2092s ok 991 /checksum/SHA256/reset/63 2092s ok 992 /checksum/SHA256/reset/64 2092s ok 993 /checksum/SHA256/reset/65 2092s ok 994 /checksum/SHA256/reset/66 2092s ok 995 /checksum/SHA256/reset/67 2092s ok 996 /checksum/SHA256/reset/68 2092s ok 997 /checksum/SHA256/reset/69 2092s ok 998 /checksum/SHA256/reset/70 2092s ok 999 /checksum/SHA256/reset/71 2092s ok 1000 /checksum/SHA256/reset/72 2092s ok 1001 /checksum/SHA256/reset/73 2092s ok 1002 /checksum/SHA256/reset/74 2092s ok 1003 /checksum/SHA256/reset/75 2092s ok 1004 /checksum/SHA256/reset/76 2092s ok 1005 /checksum/SHA256/reset/77 2092s ok 1006 /checksum/SHA256/reset/78 2092s ok 1007 /checksum/SHA256/reset/79 2092s ok 1008 /checksum/SHA256/reset/80 2092s ok 1009 /checksum/SHA256/reset/81 2092s ok 1010 /checksum/SHA256/reset/82 2092s ok 1011 /checksum/SHA256/reset/83 2092s ok 1012 /checksum/SHA256/reset/84 2092s ok 1013 /checksum/SHA256/reset/85 2092s ok 1014 /checksum/SHA256/reset/86 2092s ok 1015 /checksum/SHA256/reset/87 2092s ok 1016 /checksum/SHA256/reset/88 2092s ok 1017 /checksum/SHA256/reset/89 2092s ok 1018 /checksum/SHA256/reset/90 2092s ok 1019 /checksum/SHA256/reset/91 2092s ok 1020 /checksum/SHA256/reset/92 2092s ok 1021 /checksum/SHA256/reset/93 2092s ok 1022 /checksum/SHA256/reset/94 2092s ok 1023 /checksum/SHA256/reset/95 2092s ok 1024 /checksum/SHA256/reset/96 2092s ok 1025 /checksum/SHA256/reset/97 2092s ok 1026 /checksum/SHA256/reset/98 2092s ok 1027 /checksum/SHA256/reset/99 2092s ok 1028 /checksum/SHA256/reset/100 2092s ok 1029 /checksum/SHA256/reset/101 2092s ok 1030 /checksum/SHA256/reset/102 2092s ok 1031 /checksum/SHA256/reset/103 2092s ok 1032 /checksum/SHA256/reset/104 2092s ok 1033 /checksum/SHA256/reset/105 2092s ok 1034 /checksum/SHA256/reset/106 2092s ok 1035 /checksum/SHA256/reset/107 2092s ok 1036 /checksum/SHA256/reset/108 2092s ok 1037 /checksum/SHA256/reset/109 2092s ok 1038 /checksum/SHA256/reset/110 2092s ok 1039 /checksum/SHA256/reset/111 2092s ok 1040 /checksum/SHA256/reset/112 2092s ok 1041 /checksum/SHA256/reset/113 2092s ok 1042 /checksum/SHA256/reset/114 2092s ok 1043 /checksum/SHA256/reset/115 2092s ok 1044 /checksum/SHA256/reset/116 2092s ok 1045 /checksum/SHA256/reset/117 2092s ok 1046 /checksum/SHA256/reset/118 2092s ok 1047 /checksum/SHA256/reset/119 2092s ok 1048 /checksum/SHA256/reset/120 2092s ok 1049 /checksum/SHA256/reset/121 2092s ok 1050 /checksum/SHA256/reset/122 2092s ok 1051 /checksum/SHA256/reset/123 2092s ok 1052 /checksum/SHA256/reset/124 2092s ok 1053 /checksum/SHA256/reset/125 2092s ok 1054 /checksum/SHA256/reset/126 2092s ok 1055 /checksum/SHA256/reset/127 2092s ok 1056 /checksum/SHA256/reset/128 2092s ok 1057 /checksum/SHA256/reset/129 2092s ok 1058 /checksum/SHA256/reset/130 2092s ok 1059 /checksum/SHA256/reset/131 2092s ok 1060 /checksum/SHA256/reset/132 2092s ok 1061 /checksum/SHA256/reset/133 2092s ok 1062 /checksum/SHA256/reset/134 2092s ok 1063 /checksum/SHA256/reset/135 2092s ok 1064 /checksum/SHA256/reset/136 2092s ok 1065 /checksum/SHA256/reset/137 2092s ok 1066 /checksum/SHA256/reset/138 2092s ok 1067 /checksum/SHA256/reset/139 2092s ok 1068 /checksum/SHA256/reset/140 2092s ok 1069 /checksum/SHA256/reset/141 2092s ok 1070 /checksum/SHA256/reset/142 2092s ok 1071 /checksum/SHA256/reset/143 2092s ok 1072 /checksum/SHA256/reset/144 2092s ok 1073 /checksum/SHA256/reset/145 2092s ok 1074 /checksum/SHA256/reset/146 2092s ok 1075 /checksum/SHA256/reset/147 2092s ok 1076 /checksum/SHA256/reset/148 2092s ok 1077 /checksum/SHA256/reset/149 2092s ok 1078 /checksum/SHA256/reset/150 2092s ok 1079 /checksum/SHA256/reset/151 2092s ok 1080 /checksum/SHA256/reset/152 2092s ok 1081 /checksum/SHA256/reset/153 2092s ok 1082 /checksum/SHA256/reset/154 2092s ok 1083 /checksum/SHA256/reset/155 2092s ok 1084 /checksum/SHA256/reset/156 2092s ok 1085 /checksum/SHA256/reset/157 2092s ok 1086 /checksum/SHA256/reset/158 2092s ok 1087 /checksum/SHA256/reset/159 2092s ok 1088 /checksum/SHA256/reset/160 2092s ok 1089 /checksum/SHA256/reset/161 2092s ok 1090 /checksum/SHA256/reset/162 2092s ok 1091 /checksum/SHA256/reset/163 2092s ok 1092 /checksum/SHA256/reset/164 2092s ok 1093 /checksum/SHA256/reset/165 2092s ok 1094 /checksum/SHA256/reset/166 2092s ok 1095 /checksum/SHA256/reset/167 2092s ok 1096 /checksum/SHA256/reset/168 2092s ok 1097 /checksum/SHA256/reset/169 2092s ok 1098 /checksum/SHA256/reset/170 2092s ok 1099 /checksum/SHA256/reset/171 2092s ok 1100 /checksum/SHA256/reset/172 2092s ok 1101 /checksum/SHA256/reset/173 2092s ok 1102 /checksum/SHA256/reset/174 2092s ok 1103 /checksum/SHA256/reset/175 2092s ok 1104 /checksum/SHA256/reset/176 2092s ok 1105 /checksum/SHA256/reset/177 2092s ok 1106 /checksum/SHA256/reset/178 2092s ok 1107 /checksum/SHA256/reset/179 2092s ok 1108 /checksum/SHA256/reset/180 2092s ok 1109 /checksum/SHA256/reset/181 2092s ok 1110 /checksum/SHA256/reset/182 2092s ok 1111 /checksum/SHA256/reset/183 2092s # End of reset tests 2092s # End of SHA256 tests 2092s # Start of SHA384 tests 2092s ok 1112 /checksum/SHA384/0 2092s ok 1113 /checksum/SHA384/1 2092s ok 1114 /checksum/SHA384/2 2092s ok 1115 /checksum/SHA384/3 2092s ok 1116 /checksum/SHA384/4 2092s ok 1117 /checksum/SHA384/5 2092s ok 1118 /checksum/SHA384/6 2092s ok 1119 /checksum/SHA384/7 2092s ok 1120 /checksum/SHA384/8 2092s ok 1121 /checksum/SHA384/9 2092s ok 1122 /checksum/SHA384/10 2092s ok 1123 /checksum/SHA384/11 2092s ok 1124 /checksum/SHA384/12 2092s ok 1125 /checksum/SHA384/13 2092s ok 1126 /checksum/SHA384/14 2092s ok 1127 /checksum/SHA384/15 2092s ok 1128 /checksum/SHA384/16 2092s ok 1129 /checksum/SHA384/17 2092s ok 1130 /checksum/SHA384/18 2092s ok 1131 /checksum/SHA384/19 2092s ok 1132 /checksum/SHA384/20 2092s ok 1133 /checksum/SHA384/21 2092s ok 1134 /checksum/SHA384/22 2092s ok 1135 /checksum/SHA384/23 2092s ok 1136 /checksum/SHA384/24 2092s ok 1137 /checksum/SHA384/25 2092s ok 1138 /checksum/SHA384/26 2092s ok 1139 /checksum/SHA384/27 2092s ok 1140 /checksum/SHA384/28 2092s ok 1141 /checksum/SHA384/29 2092s ok 1142 /checksum/SHA384/30 2092s ok 1143 /checksum/SHA384/31 2092s ok 1144 /checksum/SHA384/32 2092s ok 1145 /checksum/SHA384/33 2092s ok 1146 /checksum/SHA384/34 2092s ok 1147 /checksum/SHA384/35 2092s ok 1148 /checksum/SHA384/36 2092s ok 1149 /checksum/SHA384/37 2092s ok 1150 /checksum/SHA384/38 2092s ok 1151 /checksum/SHA384/39 2092s ok 1152 /checksum/SHA384/40 2092s ok 1153 /checksum/SHA384/41 2092s ok 1154 /checksum/SHA384/42 2092s ok 1155 /checksum/SHA384/43 2092s ok 1156 /checksum/SHA384/44 2092s ok 1157 /checksum/SHA384/45 2092s ok 1158 /checksum/SHA384/46 2092s ok 1159 /checksum/SHA384/47 2092s ok 1160 /checksum/SHA384/48 2092s ok 1161 /checksum/SHA384/49 2092s ok 1162 /checksum/SHA384/50 2092s ok 1163 /checksum/SHA384/51 2092s ok 1164 /checksum/SHA384/52 2092s ok 1165 /checksum/SHA384/53 2092s ok 1166 /checksum/SHA384/54 2092s ok 1167 /checksum/SHA384/55 2092s ok 1168 /checksum/SHA384/56 2092s ok 1169 /checksum/SHA384/57 2092s ok 1170 /checksum/SHA384/58 2092s ok 1171 /checksum/SHA384/59 2092s ok 1172 /checksum/SHA384/60 2092s ok 1173 /checksum/SHA384/61 2092s ok 1174 /checksum/SHA384/62 2092s ok 1175 /checksum/SHA384/63 2092s ok 1176 /checksum/SHA384/64 2092s ok 1177 /checksum/SHA384/65 2092s ok 1178 /checksum/SHA384/66 2092s ok 1179 /checksum/SHA384/67 2092s ok 1180 /checksum/SHA384/68 2092s ok 1181 /checksum/SHA384/69 2092s ok 1182 /checksum/SHA384/70 2092s ok 1183 /checksum/SHA384/71 2092s ok 1184 /checksum/SHA384/72 2092s ok 1185 /checksum/SHA384/73 2092s ok 1186 /checksum/SHA384/74 2092s ok 1187 /checksum/SHA384/75 2092s ok 1188 /checksum/SHA384/76 2092s ok 1189 /checksum/SHA384/77 2092s ok 1190 /checksum/SHA384/78 2092s ok 1191 /checksum/SHA384/79 2092s ok 1192 /checksum/SHA384/80 2092s ok 1193 /checksum/SHA384/81 2092s ok 1194 /checksum/SHA384/82 2092s ok 1195 /checksum/SHA384/83 2092s ok 1196 /checksum/SHA384/84 2092s ok 1197 /checksum/SHA384/85 2092s ok 1198 /checksum/SHA384/86 2092s ok 1199 /checksum/SHA384/87 2092s ok 1200 /checksum/SHA384/88 2092s ok 1201 /checksum/SHA384/89 2092s ok 1202 /checksum/SHA384/90 2092s ok 1203 /checksum/SHA384/91 2092s ok 1204 /checksum/SHA384/92 2092s ok 1205 /checksum/SHA384/93 2092s ok 1206 /checksum/SHA384/94 2092s ok 1207 /checksum/SHA384/95 2092s ok 1208 /checksum/SHA384/96 2092s ok 1209 /checksum/SHA384/97 2092s ok 1210 /checksum/SHA384/98 2092s ok 1211 /checksum/SHA384/99 2092s ok 1212 /checksum/SHA384/100 2092s ok 1213 /checksum/SHA384/101 2092s ok 1214 /checksum/SHA384/102 2092s ok 1215 /checksum/SHA384/103 2092s ok 1216 /checksum/SHA384/104 2092s ok 1217 /checksum/SHA384/105 2092s ok 1218 /checksum/SHA384/106 2092s ok 1219 /checksum/SHA384/107 2092s ok 1220 /checksum/SHA384/108 2092s ok 1221 /checksum/SHA384/109 2092s ok 1222 /checksum/SHA384/110 2092s ok 1223 /checksum/SHA384/111 2092s ok 1224 /checksum/SHA384/112 2092s ok 1225 /checksum/SHA384/113 2092s ok 1226 /checksum/SHA384/114 2092s ok 1227 /checksum/SHA384/115 2092s ok 1228 /checksum/SHA384/116 2092s ok 1229 /checksum/SHA384/117 2092s ok 1230 /checksum/SHA384/118 2092s ok 1231 /checksum/SHA384/119 2092s ok 1232 /checksum/SHA384/120 2092s ok 1233 /checksum/SHA384/121 2092s ok 1234 /checksum/SHA384/122 2092s ok 1235 /checksum/SHA384/123 2092s ok 1236 /checksum/SHA384/124 2092s ok 1237 /checksum/SHA384/125 2092s ok 1238 /checksum/SHA384/126 2092s ok 1239 /checksum/SHA384/127 2092s ok 1240 /checksum/SHA384/128 2092s ok 1241 /checksum/SHA384/129 2092s ok 1242 /checksum/SHA384/130 2092s ok 1243 /checksum/SHA384/131 2092s ok 1244 /checksum/SHA384/132 2092s ok 1245 /checksum/SHA384/133 2092s ok 1246 /checksum/SHA384/134 2092s ok 1247 /checksum/SHA384/135 2092s ok 1248 /checksum/SHA384/136 2092s ok 1249 /checksum/SHA384/137 2092s ok 1250 /checksum/SHA384/138 2092s ok 1251 /checksum/SHA384/139 2092s ok 1252 /checksum/SHA384/140 2092s ok 1253 /checksum/SHA384/141 2092s ok 1254 /checksum/SHA384/142 2092s ok 1255 /checksum/SHA384/143 2092s ok 1256 /checksum/SHA384/144 2092s ok 1257 /checksum/SHA384/145 2092s ok 1258 /checksum/SHA384/146 2092s ok 1259 /checksum/SHA384/147 2092s ok 1260 /checksum/SHA384/148 2092s ok 1261 /checksum/SHA384/149 2092s ok 1262 /checksum/SHA384/150 2092s ok 1263 /checksum/SHA384/151 2092s ok 1264 /checksum/SHA384/152 2092s ok 1265 /checksum/SHA384/153 2092s ok 1266 /checksum/SHA384/154 2092s ok 1267 /checksum/SHA384/155 2092s ok 1268 /checksum/SHA384/156 2092s ok 1269 /checksum/SHA384/157 2092s ok 1270 /checksum/SHA384/158 2092s ok 1271 /checksum/SHA384/159 2092s ok 1272 /checksum/SHA384/160 2092s ok 1273 /checksum/SHA384/161 2092s ok 1274 /checksum/SHA384/162 2092s ok 1275 /checksum/SHA384/163 2092s ok 1276 /checksum/SHA384/164 2092s ok 1277 /checksum/SHA384/165 2092s ok 1278 /checksum/SHA384/166 2092s ok 1279 /checksum/SHA384/167 2092s ok 1280 /checksum/SHA384/168 2092s ok 1281 /checksum/SHA384/169 2092s ok 1282 /checksum/SHA384/170 2092s ok 1283 /checksum/SHA384/171 2092s ok 1284 /checksum/SHA384/172 2092s ok 1285 /checksum/SHA384/173 2092s ok 1286 /checksum/SHA384/174 2092s ok 1287 /checksum/SHA384/175 2092s ok 1288 /checksum/SHA384/176 2092s ok 1289 /checksum/SHA384/177 2092s ok 1290 /checksum/SHA384/178 2092s ok 1291 /checksum/SHA384/179 2092s ok 1292 /checksum/SHA384/180 2092s ok 1293 /checksum/SHA384/181 2092s ok 1294 /checksum/SHA384/182 2092s ok 1295 /checksum/SHA384/183 2092s ok 1296 /checksum/SHA384/string 2092s ok 1297 /checksum/SHA384/bytes 2092s # Start of reset tests 2092s ok 1298 /checksum/SHA384/reset/0 2092s ok 1299 /checksum/SHA384/reset/1 2092s ok 1300 /checksum/SHA384/reset/2 2092s ok 1301 /checksum/SHA384/reset/3 2092s ok 1302 /checksum/SHA384/reset/4 2092s ok 1303 /checksum/SHA384/reset/5 2092s ok 1304 /checksum/SHA384/reset/6 2092s ok 1305 /checksum/SHA384/reset/7 2092s ok 1306 /checksum/SHA384/reset/8 2092s ok 1307 /checksum/SHA384/reset/9 2092s ok 1308 /checksum/SHA384/reset/10 2092s ok 1309 /checksum/SHA384/reset/11 2092s ok 1310 /checksum/SHA384/reset/12 2092s ok 1311 /checksum/SHA384/reset/13 2092s ok 1312 /checksum/SHA384/reset/14 2092s ok 1313 /checksum/SHA384/reset/15 2092s ok 1314 /checksum/SHA384/reset/16 2092s ok 1315 /checksum/SHA384/reset/17 2092s ok 1316 /checksum/SHA384/reset/18 2092s ok 1317 /checksum/SHA384/reset/19 2092s ok 1318 /checksum/SHA384/reset/20 2092s ok 1319 /checksum/SHA384/reset/21 2092s ok 1320 /checksum/SHA384/reset/22 2092s ok 1321 /checksum/SHA384/reset/23 2092s ok 1322 /checksum/SHA384/reset/24 2092s ok 1323 /checksum/SHA384/reset/25 2092s ok 1324 /checksum/SHA384/reset/26 2092s ok 1325 /checksum/SHA384/reset/27 2092s ok 1326 /checksum/SHA384/reset/28 2092s ok 1327 /checksum/SHA384/reset/29 2092s ok 1328 /checksum/SHA384/reset/30 2092s ok 1329 /checksum/SHA384/reset/31 2092s ok 1330 /checksum/SHA384/reset/32 2092s ok 1331 /checksum/SHA384/reset/33 2092s ok 1332 /checksum/SHA384/reset/34 2092s ok 1333 /checksum/SHA384/reset/35 2092s ok 1334 /checksum/SHA384/reset/36 2092s ok 1335 /checksum/SHA384/reset/37 2092s ok 1336 /checksum/SHA384/reset/38 2092s ok 1337 /checksum/SHA384/reset/39 2092s ok 1338 /checksum/SHA384/reset/40 2092s ok 1339 /checksum/SHA384/reset/41 2092s ok 1340 /checksum/SHA384/reset/42 2092s ok 1341 /checksum/SHA384/reset/43 2092s ok 1342 /checksum/SHA384/reset/44 2092s ok 1343 /checksum/SHA384/reset/45 2092s ok 1344 /checksum/SHA384/reset/46 2092s ok 1345 /checksum/SHA384/reset/47 2092s ok 1346 /checksum/SHA384/reset/48 2092s ok 1347 /checksum/SHA384/reset/49 2092s ok 1348 /checksum/SHA384/reset/50 2092s ok 1349 /checksum/SHA384/reset/51 2092s ok 1350 /checksum/SHA384/reset/52 2092s ok 1351 /checksum/SHA384/reset/53 2092s ok 1352 /checksum/SHA384/reset/54 2092s ok 1353 /checksum/SHA384/reset/55 2092s ok 1354 /checksum/SHA384/reset/56 2092s ok 1355 /checksum/SHA384/reset/57 2092s ok 1356 /checksum/SHA384/reset/58 2092s ok 1357 /checksum/SHA384/reset/59 2092s ok 1358 /checksum/SHA384/reset/60 2092s ok 1359 /checksum/SHA384/reset/61 2092s ok 1360 /checksum/SHA384/reset/62 2092s ok 1361 /checksum/SHA384/reset/63 2092s ok 1362 /checksum/SHA384/reset/64 2092s ok 1363 /checksum/SHA384/reset/65 2092s ok 1364 /checksum/SHA384/reset/66 2092s ok 1365 /checksum/SHA384/reset/67 2092s ok 1366 /checksum/SHA384/reset/68 2092s ok 1367 /checksum/SHA384/reset/69 2092s ok 1368 /checksum/SHA384/reset/70 2092s ok 1369 /checksum/SHA384/reset/71 2092s ok 1370 /checksum/SHA384/reset/72 2092s ok 1371 /checksum/SHA384/reset/73 2092s ok 1372 /checksum/SHA384/reset/74 2092s ok 1373 /checksum/SHA384/reset/75 2092s ok 1374 /checksum/SHA384/reset/76 2092s ok 1375 /checksum/SHA384/reset/77 2092s ok 1376 /checksum/SHA384/reset/78 2092s ok 1377 /checksum/SHA384/reset/79 2092s ok 1378 /checksum/SHA384/reset/80 2092s ok 1379 /checksum/SHA384/reset/81 2092s ok 1380 /checksum/SHA384/reset/82 2092s ok 1381 /checksum/SHA384/reset/83 2092s ok 1382 /checksum/SHA384/reset/84 2092s ok 1383 /checksum/SHA384/reset/85 2092s ok 1384 /checksum/SHA384/reset/86 2092s ok 1385 /checksum/SHA384/reset/87 2092s ok 1386 /checksum/SHA384/reset/88 2092s ok 1387 /checksum/SHA384/reset/89 2092s ok 1388 /checksum/SHA384/reset/90 2092s ok 1389 /checksum/SHA384/reset/91 2092s ok 1390 /checksum/SHA384/reset/92 2092s ok 1391 /checksum/SHA384/reset/93 2092s ok 1392 /checksum/SHA384/reset/94 2092s ok 1393 /checksum/SHA384/reset/95 2092s ok 1394 /checksum/SHA384/reset/96 2092s ok 1395 /checksum/SHA384/reset/97 2092s ok 1396 /checksum/SHA384/reset/98 2092s ok 1397 /checksum/SHA384/reset/99 2092s ok 1398 /checksum/SHA384/reset/100 2092s ok 1399 /checksum/SHA384/reset/101 2092s ok 1400 /checksum/SHA384/reset/102 2092s ok 1401 /checksum/SHA384/reset/103 2092s ok 1402 /checksum/SHA384/reset/104 2092s ok 1403 /checksum/SHA384/reset/105 2092s ok 1404 /checksum/SHA384/reset/106 2092s ok 1405 /checksum/SHA384/reset/107 2092s ok 1406 /checksum/SHA384/reset/108 2092s ok 1407 /checksum/SHA384/reset/109 2092s ok 1408 /checksum/SHA384/reset/110 2092s ok 1409 /checksum/SHA384/reset/111 2092s ok 1410 /checksum/SHA384/reset/112 2092s ok 1411 /checksum/SHA384/reset/113 2092s ok 1412 /checksum/SHA384/reset/114 2092s ok 1413 /checksum/SHA384/reset/115 2092s ok 1414 /checksum/SHA384/reset/116 2092s ok 1415 /checksum/SHA384/reset/117 2092s ok 1416 /checksum/SHA384/reset/118 2092s ok 1417 /checksum/SHA384/reset/119 2092s ok 1418 /checksum/SHA384/reset/120 2092s ok 1419 /checksum/SHA384/reset/121 2092s ok 1420 /checksum/SHA384/reset/122 2092s ok 1421 /checksum/SHA384/reset/123 2092s ok 1422 /checksum/SHA384/reset/124 2092s ok 1423 /checksum/SHA384/reset/125 2092s ok 1424 /checksum/SHA384/reset/126 2092s ok 1425 /checksum/SHA384/reset/127 2092s ok 1426 /checksum/SHA384/reset/128 2092s ok 1427 /checksum/SHA384/reset/129 2092s ok 1428 /checksum/SHA384/reset/130 2092s ok 1429 /checksum/SHA384/reset/131 2092s ok 1430 /checksum/SHA384/reset/132 2092s ok 1431 /checksum/SHA384/reset/133 2092s ok 1432 /checksum/SHA384/reset/134 2092s ok 1433 /checksum/SHA384/reset/135 2092s ok 1434 /checksum/SHA384/reset/136 2092s ok 1435 /checksum/SHA384/reset/137 2092s ok 1436 /checksum/SHA384/reset/138 2092s ok 1437 /checksum/SHA384/reset/139 2092s ok 1438 /checksum/SHA384/reset/140 2092s ok 1439 /checksum/SHA384/reset/141 2092s ok 1440 /checksum/SHA384/reset/142 2092s ok 1441 /checksum/SHA384/reset/143 2092s ok 1442 /checksum/SHA384/reset/144 2092s ok 1443 /checksum/SHA384/reset/145 2092s ok 1444 /checksum/SHA384/reset/146 2092s ok 1445 /checksum/SHA384/reset/147 2092s ok 1446 /checksum/SHA384/reset/148 2092s ok 1447 /checksum/SHA384/reset/149 2092s ok 1448 /checksum/SHA384/reset/150 2092s ok 1449 /checksum/SHA384/reset/151 2092s ok 1450 /checksum/SHA384/reset/152 2092s ok 1451 /checksum/SHA384/reset/153 2092s ok 1452 /checksum/SHA384/reset/154 2092s ok 1453 /checksum/SHA384/reset/155 2092s ok 1454 /checksum/SHA384/reset/156 2092s ok 1455 /checksum/SHA384/reset/157 2092s ok 1456 /checksum/SHA384/reset/158 2092s ok 1457 /checksum/SHA384/reset/159 2092s ok 1458 /checksum/SHA384/reset/160 2092s ok 1459 /checksum/SHA384/reset/161 2092s ok 1460 /checksum/SHA384/reset/162 2092s ok 1461 /checksum/SHA384/reset/163 2092s ok 1462 /checksum/SHA384/reset/164 2092s ok 1463 /checksum/SHA384/reset/165 2092s ok 1464 /checksum/SHA384/reset/166 2092s ok 1465 /checksum/SHA384/reset/167 2092s ok 1466 /checksum/SHA384/reset/168 2092s ok 1467 /checksum/SHA384/reset/169 2092s ok 1468 /checksum/SHA384/reset/170 2092s ok 1469 /checksum/SHA384/reset/171 2092s ok 1470 /checksum/SHA384/reset/172 2092s ok 1471 /checksum/SHA384/reset/173 2092s ok 1472 /checksum/SHA384/reset/174 2092s ok 1473 /checksum/SHA384/reset/175 2092s ok 1474 /checksum/SHA384/reset/176 2092s ok 1475 /checksum/SHA384/reset/177 2092s ok 1476 /checksum/SHA384/reset/178 2092s ok 1477 /checksum/SHA384/reset/179 2092s ok 1478 /checksum/SHA384/reset/180 2092s ok 1479 /checksum/SHA384/reset/181 2092s ok 1480 /checksum/SHA384/reset/182 2092s ok 1481 /checksum/SHA384/reset/183 2092s # End of reset tests 2092s # End of SHA384 tests 2092s # Start of SHA512 tests 2092s ok 1482 /checksum/SHA512/0 2092s ok 1483 /checksum/SHA512/1 2092s ok 1484 /checksum/SHA512/2 2092s ok 1485 /checksum/SHA512/3 2092s ok 1486 /checksum/SHA512/4 2092s ok 1487 /checksum/SHA512/5 2092s ok 1488 /checksum/SHA512/6 2092s ok 1489 /checksum/SHA512/7 2092s ok 1490 /checksum/SHA512/8 2092s ok 1491 /checksum/SHA512/9 2092s ok 1492 /checksum/SHA512/10 2092s ok 1493 /checksum/SHA512/11 2092s ok 1494 /checksum/SHA512/12 2092s ok 1495 /checksum/SHA512/13 2092s ok 1496 /checksum/SHA512/14 2092s ok 1497 /checksum/SHA512/15 2092s ok 1498 /checksum/SHA512/16 2092s ok 1499 /checksum/SHA512/17 2092s ok 1500 /checksum/SHA512/18 2092s ok 1501 /checksum/SHA512/19 2092s ok 1502 /checksum/SHA512/20 2092s ok 1503 /checksum/SHA512/21 2092s ok 1504 /checksum/SHA512/22 2092s ok 1505 /checksum/SHA512/23 2092s ok 1506 /checksum/SHA512/24 2092s ok 1507 /checksum/SHA512/25 2092s ok 1508 /checksum/SHA512/26 2092s ok 1509 /checksum/SHA512/27 2092s ok 1510 /checksum/SHA512/28 2092s ok 1511 /checksum/SHA512/29 2092s ok 1512 /checksum/SHA512/30 2092s ok 1513 /checksum/SHA512/31 2092s ok 1514 /checksum/SHA512/32 2092s ok 1515 /checksum/SHA512/33 2092s ok 1516 /checksum/SHA512/34 2092s ok 1517 /checksum/SHA512/35 2092s ok 1518 /checksum/SHA512/36 2092s ok 1519 /checksum/SHA512/37 2092s ok 1520 /checksum/SHA512/38 2092s ok 1521 /checksum/SHA512/39 2092s ok 1522 /checksum/SHA512/40 2092s ok 1523 /checksum/SHA512/41 2092s ok 1524 /checksum/SHA512/42 2092s ok 1525 /checksum/SHA512/43 2092s ok 1526 /checksum/SHA512/44 2092s ok 1527 /checksum/SHA512/45 2092s ok 1528 /checksum/SHA512/46 2092s ok 1529 /checksum/SHA512/47 2092s ok 1530 /checksum/SHA512/48 2092s ok 1531 /checksum/SHA512/49 2092s ok 1532 /checksum/SHA512/50 2092s ok 1533 /checksum/SHA512/51 2092s ok 1534 /checksum/SHA512/52 2092s ok 1535 /checksum/SHA512/53 2092s ok 1536 /checksum/SHA512/54 2092s ok 1537 /checksum/SHA512/55 2092s ok 1538 /checksum/SHA512/56 2092s ok 1539 /checksum/SHA512/57 2092s ok 1540 /checksum/SHA512/58 2092s ok 1541 /checksum/SHA512/59 2092s ok 1542 /checksum/SHA512/60 2092s ok 1543 /checksum/SHA512/61 2092s ok 1544 /checksum/SHA512/62 2092s ok 1545 /checksum/SHA512/63 2092s ok 1546 /checksum/SHA512/64 2092s ok 1547 /checksum/SHA512/65 2092s ok 1548 /checksum/SHA512/66 2092s ok 1549 /checksum/SHA512/67 2092s ok 1550 /checksum/SHA512/68 2092s ok 1551 /checksum/SHA512/69 2092s ok 1552 /checksum/SHA512/70 2092s ok 1553 /checksum/SHA512/71 2092s ok 1554 /checksum/SHA512/72 2092s ok 1555 /checksum/SHA512/73 2092s ok 1556 /checksum/SHA512/74 2092s ok 1557 /checksum/SHA512/75 2092s ok 1558 /checksum/SHA512/76 2092s ok 1559 /checksum/SHA512/77 2092s ok 1560 /checksum/SHA512/78 2092s ok 1561 /checksum/SHA512/79 2092s ok 1562 /checksum/SHA512/80 2092s ok 1563 /checksum/SHA512/81 2092s ok 1564 /checksum/SHA512/82 2092s ok 1565 /checksum/SHA512/83 2092s ok 1566 /checksum/SHA512/84 2092s ok 1567 /checksum/SHA512/85 2092s ok 1568 /checksum/SHA512/86 2092s ok 1569 /checksum/SHA512/87 2092s ok 1570 /checksum/SHA512/88 2092s ok 1571 /checksum/SHA512/89 2092s ok 1572 /checksum/SHA512/90 2092s ok 1573 /checksum/SHA512/91 2092s ok 1574 /checksum/SHA512/92 2092s ok 1575 /checksum/SHA512/93 2092s ok 1576 /checksum/SHA512/94 2092s ok 1577 /checksum/SHA512/95 2092s ok 1578 /checksum/SHA512/96 2092s ok 1579 /checksum/SHA512/97 2092s ok 1580 /checksum/SHA512/98 2092s ok 1581 /checksum/SHA512/99 2092s ok 1582 /checksum/SHA512/100 2092s ok 1583 /checksum/SHA512/101 2092s ok 1584 /checksum/SHA512/102 2092s ok 1585 /checksum/SHA512/103 2092s ok 1586 /checksum/SHA512/104 2092s ok 1587 /checksum/SHA512/105 2092s ok 1588 /checksum/SHA512/106 2092s ok 1589 /checksum/SHA512/107 2092s ok 1590 /checksum/SHA512/108 2092s ok 1591 /checksum/SHA512/109 2092s ok 1592 /checksum/SHA512/110 2092s ok 1593 /checksum/SHA512/111 2092s ok 1594 /checksum/SHA512/112 2092s ok 1595 /checksum/SHA512/113 2092s ok 1596 /checksum/SHA512/114 2092s ok 1597 /checksum/SHA512/115 2092s ok 1598 /checksum/SHA512/116 2092s ok 1599 /checksum/SHA512/117 2092s ok 1600 /checksum/SHA512/118 2092s ok 1601 /checksum/SHA512/119 2092s ok 1602 /checksum/SHA512/120 2092s ok 1603 /checksum/SHA512/121 2092s ok 1604 /checksum/SHA512/122 2092s ok 1605 /checksum/SHA512/123 2092s ok 1606 /checksum/SHA512/124 2092s ok 1607 /checksum/SHA512/125 2092s ok 1608 /checksum/SHA512/126 2092s ok 1609 /checksum/SHA512/127 2092s ok 1610 /checksum/SHA512/128 2092s ok 1611 /checksum/SHA512/129 2092s ok 1612 /checksum/SHA512/130 2092s ok 1613 /checksum/SHA512/131 2092s ok 1614 /checksum/SHA512/132 2092s ok 1615 /checksum/SHA512/133 2092s ok 1616 /checksum/SHA512/134 2092s ok 1617 /checksum/SHA512/135 2092s ok 1618 /checksum/SHA512/136 2092s ok 1619 /checksum/SHA512/137 2092s ok 1620 /checksum/SHA512/138 2092s ok 1621 /checksum/SHA512/139 2092s ok 1622 /checksum/SHA512/140 2092s ok 1623 /checksum/SHA512/141 2092s ok 1624 /checksum/SHA512/142 2092s ok 1625 /checksum/SHA512/143 2092s ok 1626 /checksum/SHA512/144 2092s ok 1627 /checksum/SHA512/145 2092s ok 1628 /checksum/SHA512/146 2092s ok 1629 /checksum/SHA512/147 2092s ok 1630 /checksum/SHA512/148 2092s ok 1631 /checksum/SHA512/149 2092s ok 1632 /checksum/SHA512/150 2092s ok 1633 /checksum/SHA512/151 2092s ok 1634 /checksum/SHA512/152 2092s ok 1635 /checksum/SHA512/153 2092s ok 1636 /checksum/SHA512/154 2092s ok 1637 /checksum/SHA512/155 2092s ok 1638 /checksum/SHA512/156 2092s ok 1639 /checksum/SHA512/157 2092s ok 1640 /checksum/SHA512/158 2092s ok 1641 /checksum/SHA512/159 2092s ok 1642 /checksum/SHA512/160 2092s ok 1643 /checksum/SHA512/161 2092s ok 1644 /checksum/SHA512/162 2092s ok 1645 /checksum/SHA512/163 2092s ok 1646 /checksum/SHA512/164 2092s ok 1647 /checksum/SHA512/165 2092s ok 1648 /checksum/SHA512/166 2092s ok 1649 /checksum/SHA512/167 2092s ok 1650 /checksum/SHA512/168 2092s ok 1651 /checksum/SHA512/169 2092s ok 1652 /checksum/SHA512/170 2092s ok 1653 /checksum/SHA512/171 2092s ok 1654 /checksum/SHA512/172 2092s ok 1655 /checksum/SHA512/173 2092s ok 1656 /checksum/SHA512/174 2092s ok 1657 /checksum/SHA512/175 2092s ok 1658 /checksum/SHA512/176 2092s ok 1659 /checksum/SHA512/177 2092s ok 1660 /checksum/SHA512/178 2092s ok 1661 /checksum/SHA512/179 2092s ok 1662 /checksum/SHA512/180 2092s ok 1663 /checksum/SHA512/181 2092s ok 1664 /checksum/SHA512/182 2092s ok 1665 /checksum/SHA512/183 2092s ok 1666 /checksum/SHA512/string 2092s ok 1667 /checksum/SHA512/bytes 2092s # Start of reset tests 2092s ok 1668 /checksum/SHA512/reset/0 2092s ok 1669 /checksum/SHA512/reset/1 2092s ok 1670 /checksum/SHA512/reset/2 2092s ok 1671 /checksum/SHA512/reset/3 2092s ok 1672 /checksum/SHA512/reset/4 2092s ok 1673 /checksum/SHA512/reset/5 2092s ok 1674 /checksum/SHA512/reset/6 2092s ok 1675 /checksum/SHA512/reset/7 2092s ok 1676 /checksum/SHA512/reset/8 2092s ok 1677 /checksum/SHA512/reset/9 2092s ok 1678 /checksum/SHA512/reset/10 2092s ok 1679 /checksum/SHA512/reset/11 2092s ok 1680 /checksum/SHA512/reset/12 2092s ok 1681 /checksum/SHA512/reset/13 2092s ok 1682 /checksum/SHA512/reset/14 2092s ok 1683 /checksum/SHA512/reset/15 2092s ok 1684 /checksum/SHA512/reset/16 2092s ok 1685 /checksum/SHA512/reset/17 2092s ok 1686 /checksum/SHA512/reset/18 2092s ok 1687 /checksum/SHA512/reset/19 2092s ok 1688 /checksum/SHA512/reset/20 2092s ok 1689 /checksum/SHA512/reset/21 2092s ok 1690 /checksum/SHA512/reset/22 2092s ok 1691 /checksum/SHA512/reset/23 2092s ok 1692 /checksum/SHA512/reset/24 2092s ok 1693 /checksum/SHA512/reset/25 2092s ok 1694 /checksum/SHA512/reset/26 2092s ok 1695 /checksum/SHA512/reset/27 2092s ok 1696 /checksum/SHA512/reset/28 2092s ok 1697 /checksum/SHA512/reset/29 2092s ok 1698 /checksum/SHA512/reset/30 2092s ok 1699 /checksum/SHA512/reset/31 2092s ok 1700 /checksum/SHA512/reset/32 2092s ok 1701 /checksum/SHA512/reset/33 2092s ok 1702 /checksum/SHA512/reset/34 2092s ok 1703 /checksum/SHA512/reset/35 2092s ok 1704 /checksum/SHA512/reset/36 2092s ok 1705 /checksum/SHA512/reset/37 2092s ok 1706 /checksum/SHA512/reset/38 2092s ok 1707 /checksum/SHA512/reset/39 2092s ok 1708 /checksum/SHA512/reset/40 2092s ok 1709 /checksum/SHA512/reset/41 2092s ok 1710 /checksum/SHA512/reset/42 2092s ok 1711 /checksum/SHA512/reset/43 2092s ok 1712 /checksum/SHA512/reset/44 2092s ok 1713 /checksum/SHA512/reset/45 2092s ok 1714 /checksum/SHA512/reset/46 2092s ok 1715 /checksum/SHA512/reset/47 2092s ok 1716 /checksum/SHA512/reset/48 2092s ok 1717 /checksum/SHA512/reset/49 2092s ok 1718 /checksum/SHA512/reset/50 2092s ok 1719 /checksum/SHA512/reset/51 2092s ok 1720 /checksum/SHA512/reset/52 2092s ok 1721 /checksum/SHA512/reset/53 2092s ok 1722 /checksum/SHA512/reset/54 2092s ok 1723 /checksum/SHA512/reset/55 2092s ok 1724 /checksum/SHA512/reset/56 2092s ok 1725 /checksum/SHA512/reset/57 2092s ok 1726 /checksum/SHA512/reset/58 2092s ok 1727 /checksum/SHA512/reset/59 2092s ok 1728 /checksum/SHA512/reset/60 2092s ok 1729 /checksum/SHA512/reset/61 2092s ok 1730 /checksum/SHA512/reset/62 2092s ok 1731 /checksum/SHA512/reset/63 2092s ok 1732 /checksum/SHA512/reset/64 2092s ok 1733 /checksum/SHA512/reset/65 2092s ok 1734 /checksum/SHA512/reset/66 2092s ok 1735 /checksum/SHA512/reset/67 2092s ok 1736 /checksum/SHA512/reset/68 2092s ok 1737 /checksum/SHA512/reset/69 2092s ok 1738 /checksum/SHA512/reset/70 2092s ok 1739 /checksum/SHA512/reset/71 2092s ok 1740 /checksum/SHA512/reset/72 2092s ok 1741 /checksum/SHA512/reset/73 2092s ok 1742 /checksum/SHA512/reset/74 2092s ok 1743 /checksum/SHA512/reset/75 2092s ok 1744 /checksum/SHA512/reset/76 2092s ok 1745 /checksum/SHA512/reset/77 2092s ok 1746 /checksum/SHA512/reset/78 2092s ok 1747 /checksum/SHA512/reset/79 2092s ok 1748 /checksum/SHA512/reset/80 2092s ok 1749 /checksum/SHA512/reset/81 2092s ok 1750 /checksum/SHA512/reset/82 2092s ok 1751 /checksum/SHA512/reset/83 2092s ok 1752 /checksum/SHA512/reset/84 2092s ok 1753 /checksum/SHA512/reset/85 2092s ok 1754 /checksum/SHA512/reset/86 2092s ok 1755 /checksum/SHA512/reset/87 2092s ok 1756 /checksum/SHA512/reset/88 2092s ok 1757 /checksum/SHA512/reset/89 2092s ok 1758 /checksum/SHA512/reset/90 2092s ok 1759 /checksum/SHA512/reset/91 2092s ok 1760 /checksum/SHA512/reset/92 2092s ok 1761 /checksum/SHA512/reset/93 2092s ok 1762 /checksum/SHA512/reset/94 2092s ok 1763 /checksum/SHA512/reset/95 2092s ok 1764 /checksum/SHA512/reset/96 2092s ok 1765 /checksum/SHA512/reset/97 2092s ok 1766 /checksum/SHA512/reset/98 2092s ok 1767 /checksum/SHA512/reset/99 2092s ok 1768 /checksum/SHA512/reset/100 2092s ok 1769 /checksum/SHA512/reset/101 2092s ok 1770 /checksum/SHA512/reset/102 2092s ok 1771 /checksum/SHA512/reset/103 2092s ok 1772 /checksum/SHA512/reset/104 2092s ok 1773 /checksum/SHA512/reset/105 2092s ok 1774 /checksum/SHA512/reset/106 2092s ok 1775 /checksum/SHA512/reset/107 2092s ok 1776 /checksum/SHA512/reset/108 2092s ok 1777 /checksum/SHA512/reset/109 2092s ok 1778 /checksum/SHA512/reset/110 2092s ok 1779 /checksum/SHA512/reset/111 2092s ok 1780 /checksum/SHA512/reset/112 2092s ok 1781 /checksum/SHA512/reset/113 2092s ok 1782 /checksum/SHA512/reset/114 2092s ok 1783 /checksum/SHA512/reset/115 2092s ok 1784 /checksum/SHA512/reset/116 2092s ok 1785 /checksum/SHA512/reset/117 2092s ok 1786 /checksum/SHA512/reset/118 2092s ok 1787 /checksum/SHA512/reset/119 2092s ok 1788 /checksum/SHA512/reset/120 2092s ok 1789 /checksum/SHA512/reset/121 2092s ok 1790 /checksum/SHA512/reset/122 2092s ok 1791 /checksum/SHA512/reset/123 2092s ok 1792 /checksum/SHA512/reset/124 2092s ok 1793 /checksum/SHA512/reset/125 2092s ok 1794 /checksum/SHA512/reset/126 2092s ok 1795 /checksum/SHA512/reset/127 2092s ok 1796 /checksum/SHA512/reset/128 2092s ok 1797 /checksum/SHA512/reset/129 2092s ok 1798 /checksum/SHA512/reset/130 2092s ok 1799 /checksum/SHA512/reset/131 2092s ok 1800 /checksum/SHA512/reset/132 2092s ok 1801 /checksum/SHA512/reset/133 2092s ok 1802 /checksum/SHA512/reset/134 2092s ok 1803 /checksum/SHA512/reset/135 2092s ok 1804 /checksum/SHA512/reset/136 2092s ok 1805 /checksum/SHA512/reset/137 2092s ok 1806 /checksum/SHA512/reset/138 2092s ok 1807 /checksum/SHA512/reset/139 2092s ok 1808 /checksum/SHA512/reset/140 2092s ok 1809 /checksum/SHA512/reset/141 2092s ok 1810 /checksum/SHA512/reset/142 2092s ok 1811 /checksum/SHA512/reset/143 2092s ok 1812 /checksum/SHA512/reset/144 2092s ok 1813 /checksum/SHA512/reset/145 2092s ok 1814 /checksum/SHA512/reset/146 2092s ok 1815 /checksum/SHA512/reset/147 2092s ok 1816 /checksum/SHA512/reset/148 2092s ok 1817 /checksum/SHA512/reset/149 2092s ok 1818 /checksum/SHA512/reset/150 2092s ok 1819 /checksum/SHA512/reset/151 2092s ok 1820 /checksum/SHA512/reset/152 2092s ok 1821 /checksum/SHA512/reset/153 2092s ok 1822 /checksum/SHA512/reset/154 2092s ok 1823 /checksum/SHA512/reset/155 2092s ok 1824 /checksum/SHA512/reset/156 2092s ok 1825 /checksum/SHA512/reset/157 2092s ok 1826 /checksum/SHA512/reset/158 2092s ok 1827 /checksum/SHA512/reset/159 2092s ok 1828 /checksum/SHA512/reset/160 2092s ok 1829 /checksum/SHA512/reset/161 2092s ok 1830 /checksum/SHA512/reset/162 2092s ok 1831 /checksum/SHA512/reset/163 2092s ok 1832 /checksum/SHA512/reset/164 2092s ok 1833 /checksum/SHA512/reset/165 2092s ok 1834 /checksum/SHA512/reset/166 2092s ok 1835 /checksum/SHA512/reset/167 2092s ok 1836 /checksum/SHA512/reset/168 2092s ok 1837 /checksum/SHA512/reset/169 2092s ok 1838 /checksum/SHA512/reset/170 2092s ok 1839 /checksum/SHA512/reset/171 2092s ok 1840 /checksum/SHA512/reset/172 2092s ok 1841 /checksum/SHA512/reset/173 2092s ok 1842 /checksum/SHA512/reset/174 2092s ok 1843 /checksum/SHA512/reset/175 2092s ok 1844 /checksum/SHA512/reset/176 2092s ok 1845 /checksum/SHA512/reset/177 2092s ok 1846 /checksum/SHA512/reset/178 2092s ok 1847 /checksum/SHA512/reset/179 2092s ok 1848 /checksum/SHA512/reset/180 2092s ok 1849 /checksum/SHA512/reset/181 2092s ok 1850 /checksum/SHA512/reset/182 2092s ok 1851 /checksum/SHA512/reset/183 2092s # End of reset tests 2092s # End of SHA512 tests 2092s # End of checksum tests 2092s ok - glib/checksum.test 2092s # Running test: glib/macros-c-99.test 2092s TAP version 14 2092s # random seed: R02S060d8a233dbfa4ff528db9dddbab0587 2092s 1..4 2092s # Start of C tests 2092s ok 1 /C/standard-99 2092s # End of C tests 2092s # Start of alignof tests 2092s ok 2 /alignof/fallback 2092s # End of alignof tests 2092s # Start of assert tests 2092s ok 3 /assert/static 2092s # End of assert tests 2092s # Start of struct tests 2092s ok 4 /struct/sizeof_member 2092s # End of struct tests 2092s ok - glib/macros-c-99.test 2092s # Running test: glib/type-flags.test 2092s TAP version 14 2092s # random seed: R02S01d2e8de4557e40b6dafb74209da0d32 2092s 1..4 2092s # Start of type tests 2092s # Start of flags tests 2092s ok 1 /type/flags/interface 2092s ok 2 /type/flags/final 2092s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 2092s ok 3 /type/flags/deprecated 2092s # Start of final tests 2092s ok 4 /type/flags/final/instance-check 2092s # End of final tests 2092s # End of flags tests 2092s # End of type tests 2092s ok - glib/type-flags.test 2092s # Running test: glib/deftype.test 2092s ok - glib/deftype.test 2092s # Running test: glib/spawn-singlethread.test 2092s TAP version 14 2092s # random seed: R02S0a64d29e8cf9f1d56754aa0fb3d8b0f8 2092s 1..9 2092s # Start of gthread tests 2092s ok 1 /gthread/spawn-single-sync 2092s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 2092s ok 2 /gthread/spawn-stderr-socket 2092s ok 3 /gthread/spawn-single-async 2092s # thread 1 2092s # thread 1 2092s ok 4 /gthread/spawn-single-async-with-fds 2092s ok 5 /gthread/spawn-async-with-invalid-fds 2092s ok 6 /gthread/spawn-script 2092s ok 7 /gthread/spawn-posix-spawn 2092s # Start of spawn tests 2092s ok 8 /gthread/spawn/nonexistent 2092s # FD map: 2092s # • 5 → 15 2092s # • 6 → 16 2092s # • 7 → 17 2092s # • 8 → 18 2092s # • 9 → 19 2092s # • 10 → 20 2092s # • 11 → 21 2092s # • 12 → 22 2092s # • 13 → 23 2092s # • 3 → 13 2092s ok 9 /gthread/spawn/fd-assignment-clash 2092s # End of spawn tests 2092s # End of gthread tests 2092s ok - glib/spawn-singlethread.test 2092s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 2093s TAP version 14 2093s # random seed: R02Se432cfa846d73ff82d1faa1245dacc11 2093s 1..8 2093s # Start of gdbus tests 2093s # Start of codegen tests 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/annotations/.dirs/runtime 2093s ok 1 /gdbus/codegen/annotations 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/interface_stability/.dirs/runtime 2093s ok 2 /gdbus/codegen/interface_stability 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/object-manager/.dirs/runtime 2093s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2093s ok 3 /gdbus/codegen/object-manager 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/property-naming/.dirs/runtime 2093s ok 4 /gdbus/codegen/property-naming 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/autocleanups/.dirs/runtime 2093s ok 5 /gdbus/codegen/autocleanups 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/deprecations/.dirs/runtime 2093s ok 6 /gdbus/codegen/deprecations 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 2093s ok 7 /gdbus/codegen/standalone-interface-info 2093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/home 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/cache 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/config 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/data 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/state 2093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_89DNX2/gdbus/codegen/unix-fd-list/.dirs/runtime 2093s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 2093s ok 8 /gdbus/codegen/unix-fd-list 2093s # End of codegen tests 2093s # End of gdbus tests 2093s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2093s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2093s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2093s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2093s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2093s ok - glib/gdbus-test-codegen-min-required-2-64.test 2093s # Running test: glib/hostutils.test 2093s TAP version 14 2093s # random seed: R02Sedd0bda3d05705e825da127ba9ad5d7d 2093s 1..3 2093s # Start of hostutils tests 2093s ok 1 /hostutils/to_ascii 2093s ok 2 /hostutils/to_unicode 2093s ok 3 /hostutils/is_ip_addr 2093s # End of hostutils tests 2093s ok - glib/hostutils.test 2093s # Running test: glib/flags.test 2093s TAP version 14 2093s # random seed: R02S9f4a19b30f54c645831f4108d1f11afd 2093s 1..1 2093s # Start of gobject tests 2093s # Start of flags tests 2093s ok 1 /gobject/flags/validate 2093s # End of flags tests 2093s # End of gobject tests 2093s ok - glib/flags.test 2093s # Running test: glib/filter-streams.test 2093s TAP version 14 2093s # random seed: R02S44b0e39b02beaae5567fa46c7cb73596 2093s 1..4 2093s # Start of filter-stream tests 2093s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 2093s ok 1 /filter-stream/input 2093s ok 2 /filter-stream/output 2093s ok 3 /filter-stream/async-input 2093s ok 4 /filter-stream/async-output 2093s # End of filter-stream tests 2093s ok - glib/filter-streams.test 2093s # Running test: glib/socket-service.test 2093s TAP version 14 2093s # random seed: R02S53c7508aaa573519850892b6ef23dc15 2093s 1..4 2093s # Start of socket-service tests 2093s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2093s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d0d0d7d4370 and GSocketClientAsyncConnectData 0x5d0d0d7cc620 2093s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2093s ok 1 /socket-service/start-stop 2093s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d0d0d7d5ed0 and GSocketClientAsyncConnectData 0x5d0d0d7d5c70 2093s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2093s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2093s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d0d0d7d63e0 for GSocketClientAsyncConnectData 0x5d0d0d7cc620 2093s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2093s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2093s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2093s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2093s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2093s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d0d0d7d7260 for GSocketClientAsyncConnectData 0x5d0d0d7d5c70 2093s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2093s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2093s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2093s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2093s ok 2 /socket-service/read_write_async 2093s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d0d0d7d9fb0 and GSocketClientAsyncConnectData 0x5d0d0d7d79d0 2093s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2093s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2093s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d0d0d7d8190 for GSocketClientAsyncConnectData 0x5d0d0d7d79d0 2093s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2093s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2093s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2093s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2093s ok 3 /socket-service/read_writev_async 2093s # Start of threaded tests 2093s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 2093s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5d0d0d7db710 and GSocketClientAsyncConnectData 0x5d0d0d7d7d50 2093s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2093s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2093s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5d0d0d7db940 for GSocketClientAsyncConnectData 0x5d0d0d7d7d50 2093s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2093s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2093s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2093s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2093s ok 4 /socket-service/threaded/712570 2093s # End of threaded tests 2093s # End of socket-service tests 2093s ok - glib/socket-service.test 2093s # Running test: glib/vfs.test 2093s TAP version 14 2093s # random seed: R02S84b137556c1032fb043669203cc189bf 2093s 1..3 2093s # Start of gvfs tests 2093s ok 1 /gvfs/local 2093s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2093s ok 2 /gvfs/register-scheme 2093s # Start of resource tests 2093s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 2093s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 2093s ok 3 /gvfs/resource/malformed-escaping 2093s # End of resource tests 2093s # End of gvfs tests 2093s ok - glib/vfs.test 2093s # Running test: glib/relation.test 2093s TAP version 14 2093s # random seed: R02Sc50ef2f379d0c74a5a76a1fe380e4697 2093s 1..1 2093s # Start of glib tests 2093s ok 1 /glib/relation 2093s # End of glib tests 2093s ok - glib/relation.test 2093s # Running test: glib/references.test 2093s TAP version 14 2093s # random seed: R02Sc972117f12cb90b8040dd3af83389734 2093s 1..1 2093s # Start of gobject tests 2093s ok 1 /gobject/references 2093s # End of gobject tests 2093s ok - glib/references.test 2093s # Running test: glib/assert-msg-test.py.test 2093s TAP version 13 2093s ok 1 __main__.TestAssertMessage.test_gassert 2093s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 2093s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 2093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 2093s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 2093s # Error: ** 2093s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 2093s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 2093s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 2093s 1..2 2093s ok - glib/assert-msg-test.py.test 2093s # Running test: glib/642026-ec.test 2093s TAP version 14 2093s # random seed: R02Sc0367b60bab76ee72b5b49b15bc92cb4 2093s 1..1 2093s # Start of glib tests 2093s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 2093s ok 1 /glib/642026 2093s # End of glib tests 2093s ok - glib/642026-ec.test 2093s # Running test: glib/unix.test 2093s TAP version 14 2093s # random seed: R02S77f242a4afaca30a0ac82159bdf25137 2093s 1..20 2093s # Start of glib-unix tests 2093s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 2093s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 2093s ok 1 /glib-unix/closefrom 2093s ok 2 /glib-unix/pipe 2093s # /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 2093s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 2093s ok 3 /glib-unix/pipe-stdio-overwrite 2093s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 2093s ok 4 /glib-unix/pipe-struct 2093s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 2093s ok 5 /glib-unix/pipe-struct-auto 2093s ok 6 /glib-unix/error 2093s ok 7 /glib-unix/nonblocking 2093s ok 8 /glib-unix/sighup 2093s # slow test /glib-unix/sighup executed in 0.50 secs 2094s ok 9 /glib-unix/sigterm 2094s # slow test /glib-unix/sigterm executed in 0.50 secs 2094s ok 10 /glib-unix/sighup_again 2094s # slow test /glib-unix/sighup_again executed in 0.50 secs 2094s ok 11 /glib-unix/sighup_add_remove 2094s ok 12 /glib-unix/sighup_nested 2095s # Executing: glib/unix.test 2096s ok 13 /glib-unix/callback_after_signal 2096s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 2096s ok 14 /glib-unix/child-wait 2096s # Start of closefrom tests 2096s # Start of subprocess tests 2096s # End of subprocess tests 2096s # End of closefrom tests 2096s # Start of pipe tests 2096s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 2096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 2096s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 2096s ok 15 /glib-unix/pipe/fd-cloexec 2096s # End of pipe tests 2096s # Start of sighup tests 2097s ok 16 /glib-unix/sighup/alternate-stack 2097s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 2097s # End of sighup tests 2097s # Start of sigterm tests 2098s ok 17 /glib-unix/sigterm/alternate-stack 2098s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 2098s # End of sigterm tests 2098s # Start of sighup_again tests 2099s ok 18 /glib-unix/sighup_again/alternate-stack 2099s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 2099s # End of sighup_again tests 2099s # Start of get-passwd-entry tests 2099s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 2099s ok 19 /glib-unix/get-passwd-entry/root 2099s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 2099s ok 20 /glib-unix/get-passwd-entry/nonexistent 2099s # End of get-passwd-entry tests 2099s # End of glib-unix tests 2099s ok - glib/unix.test 2099s # Running test: glib/dataset.test 2099s TAP version 14 2099s # random seed: R02S49c75a01716d079fe529ed16049503c3 2099s 1..14 2099s # Start of quark tests 2099s ok 1 /quark/basic 2099s ok 2 /quark/string 2099s # End of quark tests 2099s # Start of dataset tests 2099s ok 3 /dataset/basic 2099s ok 4 /dataset/id 2099s ok 5 /dataset/full 2099s ok 6 /dataset/foreach 2099s ok 7 /dataset/destroy 2099s # End of dataset tests 2099s # Start of datalist tests 2099s ok 8 /datalist/basic 2099s ok 9 /datalist/id 2099s ok 10 /datalist/recursive-clear 2099s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 2099s ok 11 /datalist/id-remove-multiple 2099s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 2099s ok 12 /datalist/id-remove-multiple-destroy-order 2099s ok 13 /datalist/update-atomic 2099s # Start of id-remove-multiple tests 2099s ok 14 /datalist/id-remove-multiple/resize 2099s # End of id-remove-multiple tests 2099s # End of datalist tests 2099s ok - glib/dataset.test 2099s # Running test: glib/memory-settings-backend.test 2099s TAP version 14 2099s # random seed: R02S727c7c78c438ab4740a2a6b0bbb59fb0 2099s 1..1 2099s # Start of memory-settings-backend tests 2099s ok 1 /memory-settings-backend/extension-point-registered 2099s # End of memory-settings-backend tests 2099s ok - glib/memory-settings-backend.test 2099s # Running test: glib/volumemonitor.test 2099s TAP version 14 2099s # random seed: R02S13717c7f4b50e307ed4e962e05aa104e 2099s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2099s 1..3 2099s # Start of volumemonitor tests 2099s ok 1 /volumemonitor/connected_drives 2099s ok 2 /volumemonitor/volumes 2099s ok 3 /volumemonitor/mounts 2099s # End of volumemonitor tests 2099s ok - glib/volumemonitor.test 2099s # Running test: glib/cancellable.test 2099s TAP version 14 2099s # random seed: R02Saa29e28ea54b7ed632472ab8606185ff 2099s 1..10 2099s # Start of cancellable tests 2099s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 2099s ok 2 /cancellable/null 2099s # /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 2099s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 2099s # /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 2100s ok 4 /cancellable/resets-on-cancel-callback-hangs 2100s ok 5 /cancellable/poll-fd 2100s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 2100s ok 6 /cancellable/poll-fd-cancelled 2100s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 2100s ok 7 /cancellable/poll-fd-cancelled-threaded 2100s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 2100s ok 8 /cancellable/cancel-reset-races 2100s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 2100s ok 9 /cancellable/cancel-reset-connect-races 2100s # End of cancellable tests 2100s # Start of cancellable-source tests 2100s # /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) 2100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 2100s # Executing: glib/cancellable.test 2100s ok 10 /cancellable-source/threaded-dispose 2100s # slow test /cancellable-source/threaded-dispose executed in 0.67 secs 2100s # End of cancellable-source tests 2100s ok - glib/cancellable.test 2100s # Running test: glib/win32-appinfo.test 2100s TAP version 14 2100s # random seed: R02S7f4bed582f8f917a99ca06d270296ff5 2100s 1..5 2100s # Start of appinfo tests 2100s ok 1 /appinfo/utf16-strfuncs 2100s ok 2 /appinfo/win32-extract-executable 2100s ok 3 /appinfo/win32-rundll32-fixup 2100s ok 4 /appinfo/win32-parse-filename 2100s ok 5 /appinfo/win32-utf16-conversion-fail 2100s # Start of subprocess tests 2100s # End of subprocess tests 2100s # End of appinfo tests 2100s ok - glib/win32-appinfo.test 2100s # Running test: glib/gio-tool.py.test 2100s TAP version 13 2100s ok 1 __main__.TestGioTool.test_help 2100s # tmpdir: /tmp/tmpr50ualbg 2100s # gio: /usr/bin/gio 2100s # Running: ['/usr/bin/gio', '--help'] 2100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2100s # Output: Usage: 2100s # gio COMMAND [ARGS…] 2100s # 2100s # Commands: 2100s # help Print help 2100s # version Print version 2100s # cat Concatenate files to standard output 2100s # copy Copy one or more files 2100s # info Show information about locations 2100s # launch Launch an application from a desktop file 2100s # list List the contents of locations 2100s # mime Get or set the handler for a mimetype 2100s # mkdir Create directories 2100s # monitor Monitor files and directories for changes 2100s # mount Mount or unmount the locations 2100s # move Move one or more files 2100s # open Open files with the default application 2100s # rename Rename a file 2100s # remove Delete one or more files 2100s # save Read from standard input and save 2100s # set Set a file attribute 2100s # trash Move files or directories to the trash 2100s # tree Lists the contents of locations in a tree 2100s # 2100s # Use “gio help COMMAND†to get detailed help. 2100s # Running: ['/usr/bin/gio', 'help'] 2100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2100s # Output: Usage: 2100s # gio COMMAND [ARGS…] 2100s # 2100s # Commands: 2100s # help Print help 2100s # version Print version 2100s # cat Concatenate files to standard output 2100s # copy Copy one or more files 2100s # info Show information about locations 2100s # launch Launch an application from a desktop file 2100s # list List the contents of locations 2100s # mime Get or set the handler for a mimetype 2100s # mkdir Create directories 2100s # monitor Monitor files and directories for changes 2100s # mount Mount or unmount the locations 2100s # move Move one or more files 2100s # open Open files with the default application 2100s # rename Rename a file 2100s # remove Delete one or more files 2100s # save Read from standard input and save 2100s # set Set a file attribute 2100s # trash Move files or directories to the trash 2100s # tree Lists the contents of locations in a tree 2100s # 2100s # Use “gio help COMMAND†to get detailed help. 2100s ok 2 __main__.TestGioTool.test_info_non_default_attributes 2100s # tmpdir: /tmp/tmp65rhzzgs 2100s # gio: /usr/bin/gio 2100s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp65rhzzgs/tmp6xy6gzua'] 2100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2100s # Output: uri: file:///tmp/tmp65rhzzgs/tmp6xy6gzua 2100s # local path: /tmp/tmp65rhzzgs/tmp6xy6gzua 2100s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 2100s # attributes: 2100s # standard::content-type: application/x-zerosize 2100s ok 3 __main__.TestGioTool.test_no_args 2100s # tmpdir: /tmp/tmpg98loul2 2100s # gio: /usr/bin/gio 2100s # Running: ['/usr/bin/gio'] 2100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xauth/1:1.1.2-1.1', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-r3wNVmRj2c,guid=340d3173ed9c5fa61ea5bbb6674fb72a', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.C3znvm/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.xtuRqVykPp', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.6gmBIq/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.C3znvm/wrapper.sh --artifacts=/tmp/autopkgtest.C3znvm/installed-tests-artifacts --chdir=/tmp/autopkgtest.C3znvm/build.3m6/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.C3znvm/installed-tests-stderr --stdout=/tmp/autopkgtest.C3znvm/installed-tests-stdout --tmp=/tmp/autopkgtest.C3znvm/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests -- /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.C3znvm/build.3m6/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.C3znvm/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 2100s 1..3 2100s ok - glib/gio-tool.py.test 2100s # Running test: glib/portal-support-snap.test 2100s TAP version 14 2100s # random seed: R02Sa21f90c06ea52f6f43e88f4ac724780f 2100s 1..7 2100s # Start of portal-support tests 2100s # Start of snap tests 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/no-snapctl: No such file or directory 2100s ok 1 /portal-support/snap/no-snapctl 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none/.dirs/runtime/snapctl 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/none: No such file or directory 2100s ok 2 /portal-support/snap/none 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all/.dirs/runtime/snapctl 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/all: No such file or directory 2100s ok 3 /portal-support/snap/all 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/desktop-only: No such file or directory 2100s ok 4 /portal-support/snap/desktop-only 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only/.dirs/runtime/snapctl 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/network-only: No such file or directory 2100s ok 5 /portal-support/snap/network-only 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/gsettings-only: No such file or directory 2100s ok 6 /portal-support/snap/gsettings-only 2100s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/home 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/cache 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/system-config2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/config 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/system-data2 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/data 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/state 2100s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime 2100s # Created snap.yaml in /tmp/test_portal-support-snap_R4JQX2/meta/snap.yaml 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s # Created snapctl in /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2/portal-support/snap/updates-dynamically: No such file or directory 2100s ok 7 /portal-support/snap/updates-dynamically 2100s # End of snap tests 2100s # End of portal-support tests 2100s Unable to clean up temporary directory /tmp/test_portal-support-snap_R4JQX2: No such file or directory 2100s ok - glib/portal-support-snap.test 2100s # Running test: glib/thread-deprecated.test 2100s TAP version 14 2100s # random seed: R02Sd52e262044bd35f5912c3a7e9013f1cb 2100s 1..6 2100s # Start of thread tests 2101s ok 1 /thread/mutex 2101s ok 2 /thread/static-rec-mutex 2105s # Executing: glib/thread-deprecated.test 2105s ok 3 /thread/static-private 2105s # slow test /thread/static-private executed in 4.40 secs 2110s # Executing: glib/thread-deprecated.test 2110s ok 4 /thread/static-rw-lock 2110s # slow test /thread/static-rw-lock executed in 5.00 secs 2110s ok 5 /thread/once 2115s # Executing: glib/thread-deprecated.test 2121s # Executing: glib/thread-deprecated.test 2121s ok 6 /thread/rerun-all 2121s # slow test /thread/rerun-all executed in 9.82 secs 2121s # End of thread tests 2121s ok - glib/thread-deprecated.test 2121s # Running test: glib/memory-input-stream.test 2121s TAP version 14 2121s # random seed: R02Sa25518a0d966da2d66310d324a332b83 2121s 1..6 2121s # Start of memory-input-stream tests 2121s ok 1 /memory-input-stream/read-chunks 2121s ok 2 /memory-input-stream/async 2121s ok 3 /memory-input-stream/seek 2121s ok 4 /memory-input-stream/truncate 2121s ok 5 /memory-input-stream/read-bytes 2121s ok 6 /memory-input-stream/from-bytes 2121s # End of memory-input-stream tests 2121s ok - glib/memory-input-stream.test 2121s # Running test: glib/closure-refcount.test 2121s TAP version 14 2121s # random seed: R02Sa786e87278c69ad3dfbe6650e82a5733 2121s 1..1 2121s # Start of closure tests 2121s # Init 0x61757a0211d0 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread2 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from thread1 2121s # Yielding from main thread 2121s # Yielding from main thread 2121s # Yielding from main thread 2122s # Yielding from main thread 2122s # Yielding from thread2 2122s # Yielding from main thread 2122s # Yielding from main thread 2122s # Yielding from main thread 2122s # Yielding from main thread 2122s # Stopping 2122s # Stopped 2122s ok 1 /closure/refcount 2122s # slow test /closure/refcount executed in 1.25 secs 2122s # End of closure tests 2122s ok - glib/closure-refcount.test 2122s # Running test: glib/power-profile-monitor.test 2122s TAP version 14 2122s # random seed: R02Sabbba11a0d55eacd09cc99a19c6e0e06 2122s 1..1 2122s # Start of power-profile-monitor tests 2122s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 2122s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 2122s ok 1 /power-profile-monitor/default 2122s # End of power-profile-monitor tests 2122s ok - glib/power-profile-monitor.test 2122s # Running test: glib/gdbus-serialization.test 2122s TAP version 14 2122s # random seed: R02S378acdabe1d25ea6ffe1c447bfbd6114 2122s 1..18 2122s # Start of gdbus tests 2122s # Start of message-serialize tests 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/basic/.dirs/runtime 2122s ok 1 /gdbus/message-serialize/basic 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/complex/.dirs/runtime 2122s ok 2 /gdbus/message-serialize/complex 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/invalid/.dirs/runtime 2122s ok 3 /gdbus/message-serialize/invalid 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/.dirs/runtime 2122s ok 4 /gdbus/message-serialize/header-checks 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/double-array/.dirs/runtime 2122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 2122s ok 5 /gdbus/message-serialize/double-array 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/empty-structure/.dirs/runtime 2122s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 2122s ok 6 /gdbus/message-serialize/empty-structure 2122s # Start of header-checks tests 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 2122s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 2122s ok 7 /gdbus/message-serialize/header-checks/valid 2122s # End of header-checks tests 2122s # End of message-serialize tests 2122s # Start of message-parse tests 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 2122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 2122s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/non-signature-header/.dirs/runtime 2122s ok 9 /gdbus/message-parse/non-signature-header 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-signature-header/.dirs/runtime 2122s ok 10 /gdbus/message-parse/empty-signature-header 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 2122s ok 11 /gdbus/message-parse/multiple-signature-header 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 2122s ok 12 /gdbus/message-parse/over-long-signature-header 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 2122s ok 13 /gdbus/message-parse/deep-header-nesting 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 2122s ok 14 /gdbus/message-parse/deep-body-nesting 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/truncated/.dirs/runtime 2122s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 2122s ok 15 /gdbus/message-parse/truncated 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/empty-structure/.dirs/runtime 2122s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 2122s ok 16 /gdbus/message-parse/empty-structure 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/missing-header/.dirs/runtime 2122s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 2122s ok 17 /gdbus/message-parse/missing-header 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_5DT7X2/gdbus/message-parse/invalid-header-type/.dirs/runtime 2122s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 2122s ok 18 /gdbus/message-parse/invalid-header-type 2122s # End of message-parse tests 2122s # End of gdbus tests 2122s ok - glib/gdbus-serialization.test 2122s # Running test: glib/bookmarkfile.test 2122s TAP version 14 2122s # random seed: R02S7a27a6c4ad927965b66c5dd3ac6918ce 2122s 1..96 2122s # Start of bookmarks tests 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/load-from-data-dirs/.dirs/runtime 2122s ok 1 /bookmarks/load-from-data-dirs 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/to-file/.dirs/runtime 2122s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_6MS6X2/bookmarkfile-test-64S6X2.xbel 2122s # Roundtrip from a valid bookmark file 2122s ok 2 /bookmarks/to-file 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/move-item/.dirs/runtime 2122s ok 3 /bookmarks/move-item 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/corner-cases/.dirs/runtime 2122s ok 4 /bookmarks/corner-cases 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/misc/.dirs/runtime 2122s ok 5 /bookmarks/misc 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/deprecated/.dirs/runtime 2122s ok 6 /bookmarks/deprecated 2122s # Start of parse tests 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-40.xbel/.dirs/runtime 2122s ok 7 /bookmarks/parse/fail-40.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-19.xbel/.dirs/runtime 2122s ok 8 /bookmarks/parse/fail-19.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-23.xbel/.dirs/runtime 2122s ok 9 /bookmarks/parse/fail-23.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-05.xbel/.dirs/runtime 2122s ok 10 /bookmarks/parse/fail-05.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-25.xbel/.dirs/runtime 2122s ok 11 /bookmarks/parse/fail-25.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-12.xbel/.dirs/runtime 2122s ok 12 /bookmarks/parse/fail-12.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-10.xbel/.dirs/runtime 2122s ok 13 /bookmarks/parse/fail-10.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-28.xbel/.dirs/runtime 2122s ok 14 /bookmarks/parse/fail-28.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-02.xbel/.dirs/runtime 2122s ok 15 /bookmarks/parse/valid-02.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-32.xbel/.dirs/runtime 2122s ok 16 /bookmarks/parse/fail-32.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-33.xbel/.dirs/runtime 2122s ok 17 /bookmarks/parse/fail-33.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-15.xbel/.dirs/runtime 2122s ok 18 /bookmarks/parse/fail-15.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-03.xbel/.dirs/runtime 2122s ok 19 /bookmarks/parse/valid-03.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-41.xbel/.dirs/runtime 2122s ok 20 /bookmarks/parse/fail-41.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-09.xbel/.dirs/runtime 2122s ok 21 /bookmarks/parse/fail-09.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-30.xbel/.dirs/runtime 2122s ok 22 /bookmarks/parse/fail-30.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-03.xbel/.dirs/runtime 2122s ok 23 /bookmarks/parse/fail-03.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-20.xbel/.dirs/runtime 2122s ok 24 /bookmarks/parse/fail-20.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-37.xbel/.dirs/runtime 2122s ok 25 /bookmarks/parse/fail-37.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-13.xbel/.dirs/runtime 2122s ok 26 /bookmarks/parse/fail-13.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-26.xbel/.dirs/runtime 2122s ok 27 /bookmarks/parse/fail-26.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-38.xbel/.dirs/runtime 2122s ok 28 /bookmarks/parse/fail-38.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-29.xbel/.dirs/runtime 2122s ok 29 /bookmarks/parse/fail-29.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-39.xbel/.dirs/runtime 2122s ok 30 /bookmarks/parse/fail-39.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-01.xbel/.dirs/runtime 2122s ok 31 /bookmarks/parse/fail-01.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-35.xbel/.dirs/runtime 2122s ok 32 /bookmarks/parse/fail-35.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-24.xbel/.dirs/runtime 2122s ok 33 /bookmarks/parse/fail-24.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-18.xbel/.dirs/runtime 2122s ok 34 /bookmarks/parse/fail-18.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-22.xbel/.dirs/runtime 2122s ok 35 /bookmarks/parse/fail-22.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-42.xbel/.dirs/runtime 2122s ok 36 /bookmarks/parse/fail-42.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-34.xbel/.dirs/runtime 2122s ok 37 /bookmarks/parse/fail-34.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-31.xbel/.dirs/runtime 2122s ok 38 /bookmarks/parse/fail-31.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-21.xbel/.dirs/runtime 2122s ok 39 /bookmarks/parse/fail-21.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-04.xbel/.dirs/runtime 2122s ok 40 /bookmarks/parse/fail-04.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-16.xbel/.dirs/runtime 2122s ok 41 /bookmarks/parse/fail-16.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-08.xbel/.dirs/runtime 2122s ok 42 /bookmarks/parse/fail-08.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-06.xbel/.dirs/runtime 2122s ok 43 /bookmarks/parse/fail-06.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-36.xbel/.dirs/runtime 2122s ok 44 /bookmarks/parse/fail-36.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-14.xbel/.dirs/runtime 2122s ok 45 /bookmarks/parse/fail-14.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/valid-01.xbel/.dirs/runtime 2122s ok 46 /bookmarks/parse/valid-01.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-07.xbel/.dirs/runtime 2122s ok 47 /bookmarks/parse/fail-07.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-11.xbel/.dirs/runtime 2122s ok 48 /bookmarks/parse/fail-11.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-02.xbel/.dirs/runtime 2122s ok 49 /bookmarks/parse/fail-02.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-27.xbel/.dirs/runtime 2122s ok 50 /bookmarks/parse/fail-27.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/parse/fail-17.xbel/.dirs/runtime 2122s ok 51 /bookmarks/parse/fail-17.xbel 2122s # End of parse tests 2122s # Start of copy tests 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-40.xbel/.dirs/runtime 2122s ok 52 /bookmarks/copy/fail-40.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-19.xbel/.dirs/runtime 2122s ok 53 /bookmarks/copy/fail-19.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-23.xbel/.dirs/runtime 2122s ok 54 /bookmarks/copy/fail-23.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-05.xbel/.dirs/runtime 2122s ok 55 /bookmarks/copy/fail-05.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-25.xbel/.dirs/runtime 2122s ok 56 /bookmarks/copy/fail-25.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-12.xbel/.dirs/runtime 2122s ok 57 /bookmarks/copy/fail-12.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-10.xbel/.dirs/runtime 2122s ok 58 /bookmarks/copy/fail-10.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-28.xbel/.dirs/runtime 2122s ok 59 /bookmarks/copy/fail-28.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-02.xbel/.dirs/runtime 2122s ok 60 /bookmarks/copy/valid-02.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-32.xbel/.dirs/runtime 2122s ok 61 /bookmarks/copy/fail-32.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-33.xbel/.dirs/runtime 2122s ok 62 /bookmarks/copy/fail-33.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-15.xbel/.dirs/runtime 2122s ok 63 /bookmarks/copy/fail-15.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-03.xbel/.dirs/runtime 2122s ok 64 /bookmarks/copy/valid-03.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-41.xbel/.dirs/runtime 2122s ok 65 /bookmarks/copy/fail-41.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-09.xbel/.dirs/runtime 2122s ok 66 /bookmarks/copy/fail-09.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-30.xbel/.dirs/runtime 2122s ok 67 /bookmarks/copy/fail-30.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-03.xbel/.dirs/runtime 2122s ok 68 /bookmarks/copy/fail-03.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-20.xbel/.dirs/runtime 2122s ok 69 /bookmarks/copy/fail-20.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-37.xbel/.dirs/runtime 2122s ok 70 /bookmarks/copy/fail-37.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-13.xbel/.dirs/runtime 2122s ok 71 /bookmarks/copy/fail-13.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-26.xbel/.dirs/runtime 2122s ok 72 /bookmarks/copy/fail-26.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-38.xbel/.dirs/runtime 2122s ok 73 /bookmarks/copy/fail-38.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-29.xbel/.dirs/runtime 2122s ok 74 /bookmarks/copy/fail-29.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-39.xbel/.dirs/runtime 2122s ok 75 /bookmarks/copy/fail-39.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-01.xbel/.dirs/runtime 2122s ok 76 /bookmarks/copy/fail-01.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-35.xbel/.dirs/runtime 2122s ok 77 /bookmarks/copy/fail-35.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-24.xbel/.dirs/runtime 2122s ok 78 /bookmarks/copy/fail-24.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-18.xbel/.dirs/runtime 2122s ok 79 /bookmarks/copy/fail-18.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-22.xbel/.dirs/runtime 2122s ok 80 /bookmarks/copy/fail-22.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-42.xbel/.dirs/runtime 2122s ok 81 /bookmarks/copy/fail-42.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-34.xbel/.dirs/runtime 2122s ok 82 /bookmarks/copy/fail-34.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-31.xbel/.dirs/runtime 2122s ok 83 /bookmarks/copy/fail-31.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-21.xbel/.dirs/runtime 2122s ok 84 /bookmarks/copy/fail-21.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-04.xbel/.dirs/runtime 2122s ok 85 /bookmarks/copy/fail-04.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-16.xbel/.dirs/runtime 2122s ok 86 /bookmarks/copy/fail-16.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-08.xbel/.dirs/runtime 2122s ok 87 /bookmarks/copy/fail-08.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-06.xbel/.dirs/runtime 2122s ok 88 /bookmarks/copy/fail-06.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-36.xbel/.dirs/runtime 2122s ok 89 /bookmarks/copy/fail-36.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-14.xbel/.dirs/runtime 2122s ok 90 /bookmarks/copy/fail-14.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/valid-01.xbel/.dirs/runtime 2122s ok 91 /bookmarks/copy/valid-01.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-07.xbel/.dirs/runtime 2122s ok 92 /bookmarks/copy/fail-07.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-11.xbel/.dirs/runtime 2122s ok 93 /bookmarks/copy/fail-11.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-02.xbel/.dirs/runtime 2122s ok 94 /bookmarks/copy/fail-02.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-27.xbel/.dirs/runtime 2122s ok 95 /bookmarks/copy/fail-27.xbel 2122s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/home 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/cache 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/config 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/data 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/state 2122s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6MS6X2/bookmarks/copy/fail-17.xbel/.dirs/runtime 2122s ok 96 /bookmarks/copy/fail-17.xbel 2122s # End of copy tests 2122s # End of bookmarks tests 2122s ok - glib/bookmarkfile.test 2122s # Running test: glib/utils-c-89.test 2122s TAP version 14 2122s # random seed: R02S0aebe277812025194aecf8b2b96af98d 2122s 1..40 2122s # Start of utils tests 2122s ok 1 /utils/language-names 2122s ok 2 /utils/locale-variants 2122s ok 3 /utils/version 2122s ok 4 /utils/appname 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 2122s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 2122s ok 5 /utils/prgname-thread-safety 2122s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 2122s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 2122s ok 6 /utils/tmpdir 2122s ok 7 /utils/basic_bits 2122s ok 8 /utils/bits 2122s ok 9 /utils/swap 2122s ok 10 /utils/find-program 2122s ok 11 /utils/find-program-for-path 2122s ok 12 /utils/debug 2122s ok 13 /utils/codeset 2122s ok 14 /utils/codeset2 2122s ok 15 /utils/console-charset 2122s ok 16 /utils/gettext 2122s ok 17 /utils/username 2122s ok 18 /utils/realname 2122s ok 19 /utils/hostname 2122s ok 20 /utils/xdgdirs 2122s ok 21 /utils/specialdir 2122s # NAME: Ubuntu 2122s ok 22 /utils/os-info 2122s ok 23 /utils/clear-pointer 2122s ok 24 /utils/clear-pointer-cast 2122s ok 25 /utils/take-pointer 2122s ok 26 /utils/clear-source 2122s ok 27 /utils/misc-mem 2122s # /utils/aligned-mem summary: Aligned memory allocator 2122s # Alignment must not be zero 2122s # Alignment must be a power of two 2122s # Alignment must be a multiple of sizeof(void*) 2122s ok 28 /utils/aligned-mem 2122s # /utils/free-sized summary: Check that g_free_sized() works 2122s ok 29 /utils/free-sized 2122s ok 30 /utils/nullify 2122s ok 31 /utils/atexit 2122s ok 32 /utils/check-setuid 2122s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 2122s ok 33 /utils/int-limits 2122s ok 34 /utils/clear-list 2122s ok 35 /utils/clear-slist 2122s # Start of specialdir tests 2122s ok 36 /utils/specialdir/desktop 2122s # End of specialdir tests 2122s # Start of clear-pointer tests 2122s ok 37 /utils/clear-pointer/side-effects 2122s # End of clear-pointer tests 2122s # Start of aligned-mem tests 2122s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 2122s ok 38 /utils/aligned-mem/alignment 2122s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 2122s ok 39 /utils/aligned-mem/zeroed 2122s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 2122s ok 40 /utils/aligned-mem/free-sized 2122s # Start of subprocess tests 2122s # End of subprocess tests 2122s # End of aligned-mem tests 2122s # End of utils tests 2122s ok - glib/utils-c-89.test 2122s # Running test: glib/utf8-validate.test 2122s TAP version 14 2122s # random seed: R02S30950d684a1b5d39f55b69ae74d638d8 2122s 1..216 2122s # Start of utf8 tests 2122s # Vector 0 2122s # Vector 1 2122s # Vector 2 2122s # Vector 3 2122s # Vector 4 2122s # Vector 5 2122s # Vector 6 2122s # Vector 7 2122s # Vector 8 2122s # Vector 9 2122s # Vector 10 2122s # Vector 11 2122s # Vector 12 2122s # Vector 13 2122s # Vector 14 2122s # Vector 15 2122s # Vector 16 2122s # Vector 17 2122s # Vector 18 2122s # Vector 19 2122s # Vector 20 2122s # Vector 21 2122s # Vector 22 2122s # Vector 23 2122s # Vector 24 2122s # Vector 25 2122s # Vector 26 2122s # Vector 27 2122s ok 1 /utf8/get-char-validated 2122s # Start of validate tests 2122s ok 2 /utf8/validate/0 2122s ok 3 /utf8/validate/1 2122s ok 4 /utf8/validate/2 2122s ok 5 /utf8/validate/3 2122s ok 6 /utf8/validate/4 2122s ok 7 /utf8/validate/5 2122s ok 8 /utf8/validate/6 2122s ok 9 /utf8/validate/7 2122s ok 10 /utf8/validate/8 2122s ok 11 /utf8/validate/9 2122s ok 12 /utf8/validate/10 2122s ok 13 /utf8/validate/11 2122s ok 14 /utf8/validate/12 2122s ok 15 /utf8/validate/13 2122s ok 16 /utf8/validate/14 2122s ok 17 /utf8/validate/15 2122s ok 18 /utf8/validate/16 2122s ok 19 /utf8/validate/17 2122s ok 20 /utf8/validate/18 2122s ok 21 /utf8/validate/19 2122s ok 22 /utf8/validate/20 2122s ok 23 /utf8/validate/21 2122s ok 24 /utf8/validate/22 2122s ok 25 /utf8/validate/23 2122s ok 26 /utf8/validate/24 2122s ok 27 /utf8/validate/25 2122s ok 28 /utf8/validate/26 2122s ok 29 /utf8/validate/27 2122s ok 30 /utf8/validate/28 2122s ok 31 /utf8/validate/29 2122s ok 32 /utf8/validate/30 2122s ok 33 /utf8/validate/31 2122s ok 34 /utf8/validate/32 2122s ok 35 /utf8/validate/33 2122s ok 36 /utf8/validate/34 2122s ok 37 /utf8/validate/35 2122s ok 38 /utf8/validate/36 2122s ok 39 /utf8/validate/37 2122s ok 40 /utf8/validate/38 2122s ok 41 /utf8/validate/39 2122s ok 42 /utf8/validate/40 2122s ok 43 /utf8/validate/41 2122s ok 44 /utf8/validate/42 2122s ok 45 /utf8/validate/43 2122s ok 46 /utf8/validate/44 2122s ok 47 /utf8/validate/45 2122s ok 48 /utf8/validate/46 2122s ok 49 /utf8/validate/47 2122s ok 50 /utf8/validate/48 2122s ok 51 /utf8/validate/49 2122s ok 52 /utf8/validate/50 2122s ok 53 /utf8/validate/51 2122s ok 54 /utf8/validate/52 2122s ok 55 /utf8/validate/53 2122s ok 56 /utf8/validate/54 2122s ok 57 /utf8/validate/55 2122s ok 58 /utf8/validate/56 2122s ok 59 /utf8/validate/57 2122s ok 60 /utf8/validate/58 2122s ok 61 /utf8/validate/59 2122s ok 62 /utf8/validate/60 2122s ok 63 /utf8/validate/61 2122s ok 64 /utf8/validate/62 2122s ok 65 /utf8/validate/63 2122s ok 66 /utf8/validate/64 2122s ok 67 /utf8/validate/65 2122s ok 68 /utf8/validate/66 2122s ok 69 /utf8/validate/67 2122s ok 70 /utf8/validate/68 2122s ok 71 /utf8/validate/69 2122s ok 72 /utf8/validate/70 2122s ok 73 /utf8/validate/71 2122s ok 74 /utf8/validate/72 2122s ok 75 /utf8/validate/73 2122s ok 76 /utf8/validate/74 2122s ok 77 /utf8/validate/75 2122s ok 78 /utf8/validate/76 2122s ok 79 /utf8/validate/77 2122s ok 80 /utf8/validate/78 2122s ok 81 /utf8/validate/79 2122s ok 82 /utf8/validate/80 2122s ok 83 /utf8/validate/81 2122s ok 84 /utf8/validate/82 2122s ok 85 /utf8/validate/83 2122s ok 86 /utf8/validate/84 2122s ok 87 /utf8/validate/85 2122s ok 88 /utf8/validate/86 2122s ok 89 /utf8/validate/87 2122s ok 90 /utf8/validate/88 2122s ok 91 /utf8/validate/89 2122s ok 92 /utf8/validate/90 2122s ok 93 /utf8/validate/91 2122s ok 94 /utf8/validate/92 2122s ok 95 /utf8/validate/93 2122s ok 96 /utf8/validate/94 2122s ok 97 /utf8/validate/95 2122s ok 98 /utf8/validate/96 2122s ok 99 /utf8/validate/97 2122s ok 100 /utf8/validate/98 2122s ok 101 /utf8/validate/99 2122s ok 102 /utf8/validate/100 2122s ok 103 /utf8/validate/101 2122s ok 104 /utf8/validate/102 2122s ok 105 /utf8/validate/103 2122s ok 106 /utf8/validate/104 2122s ok 107 /utf8/validate/105 2122s ok 108 /utf8/validate/106 2122s ok 109 /utf8/validate/107 2122s ok 110 /utf8/validate/108 2122s ok 111 /utf8/validate/109 2122s ok 112 /utf8/validate/110 2122s ok 113 /utf8/validate/111 2122s ok 114 /utf8/validate/112 2122s ok 115 /utf8/validate/113 2122s ok 116 /utf8/validate/114 2122s ok 117 /utf8/validate/115 2122s ok 118 /utf8/validate/116 2122s ok 119 /utf8/validate/117 2122s ok 120 /utf8/validate/118 2122s ok 121 /utf8/validate/119 2122s ok 122 /utf8/validate/120 2122s ok 123 /utf8/validate/121 2122s ok 124 /utf8/validate/122 2122s ok 125 /utf8/validate/123 2122s ok 126 /utf8/validate/124 2122s ok 127 /utf8/validate/125 2122s ok 128 /utf8/validate/126 2122s ok 129 /utf8/validate/127 2122s ok 130 /utf8/validate/128 2122s ok 131 /utf8/validate/129 2122s ok 132 /utf8/validate/130 2122s ok 133 /utf8/validate/131 2122s ok 134 /utf8/validate/132 2122s ok 135 /utf8/validate/133 2122s ok 136 /utf8/validate/134 2122s ok 137 /utf8/validate/135 2122s ok 138 /utf8/validate/136 2122s ok 139 /utf8/validate/137 2122s ok 140 /utf8/validate/138 2122s ok 141 /utf8/validate/139 2122s ok 142 /utf8/validate/140 2122s ok 143 /utf8/validate/141 2122s ok 144 /utf8/validate/142 2122s ok 145 /utf8/validate/143 2122s ok 146 /utf8/validate/144 2122s ok 147 /utf8/validate/145 2122s ok 148 /utf8/validate/146 2122s ok 149 /utf8/validate/147 2122s ok 150 /utf8/validate/148 2122s ok 151 /utf8/validate/149 2122s ok 152 /utf8/validate/150 2122s ok 153 /utf8/validate/151 2122s ok 154 /utf8/validate/152 2122s ok 155 /utf8/validate/153 2122s ok 156 /utf8/validate/154 2122s ok 157 /utf8/validate/155 2122s ok 158 /utf8/validate/156 2122s ok 159 /utf8/validate/157 2122s ok 160 /utf8/validate/158 2122s ok 161 /utf8/validate/159 2122s ok 162 /utf8/validate/160 2122s ok 163 /utf8/validate/161 2122s ok 164 /utf8/validate/162 2122s ok 165 /utf8/validate/163 2122s ok 166 /utf8/validate/164 2122s ok 167 /utf8/validate/165 2122s ok 168 /utf8/validate/166 2122s ok 169 /utf8/validate/167 2122s ok 170 /utf8/validate/168 2122s ok 171 /utf8/validate/169 2122s ok 172 /utf8/validate/170 2122s ok 173 /utf8/validate/171 2122s ok 174 /utf8/validate/172 2122s ok 175 /utf8/validate/173 2122s ok 176 /utf8/validate/174 2122s ok 177 /utf8/validate/175 2122s ok 178 /utf8/validate/176 2122s ok 179 /utf8/validate/177 2122s ok 180 /utf8/validate/178 2122s ok 181 /utf8/validate/179 2122s ok 182 /utf8/validate/180 2122s ok 183 /utf8/validate/181 2122s ok 184 /utf8/validate/182 2122s ok 185 /utf8/validate/183 2122s ok 186 /utf8/validate/184 2122s ok 187 /utf8/validate/185 2122s ok 188 /utf8/validate/186 2122s ok 189 /utf8/validate/187 2122s ok 190 /utf8/validate/188 2122s ok 191 /utf8/validate/189 2122s ok 192 /utf8/validate/190 2122s ok 193 /utf8/validate/191 2122s ok 194 /utf8/validate/192 2122s ok 195 /utf8/validate/193 2122s ok 196 /utf8/validate/194 2122s ok 197 /utf8/validate/195 2122s ok 198 /utf8/validate/196 2122s ok 199 /utf8/validate/197 2122s ok 200 /utf8/validate/198 2122s ok 201 /utf8/validate/199 2122s ok 202 /utf8/validate/200 2122s ok 203 /utf8/validate/201 2122s ok 204 /utf8/validate/202 2122s ok 205 /utf8/validate/203 2122s ok 206 /utf8/validate/204 2122s ok 207 /utf8/validate/205 2122s ok 208 /utf8/validate/206 2122s ok 209 /utf8/validate/207 2122s ok 210 /utf8/validate/208 2122s ok 211 /utf8/validate/209 2122s ok 212 /utf8/validate/210 2122s ok 213 /utf8/validate/211 2122s ok 214 /utf8/validate/212 2122s ok 215 /utf8/validate/213 2122s ok 216 /utf8/validate/214 2122s # End of validate tests 2122s # End of utf8 tests 2122s ok - glib/utf8-validate.test 2122s # Running test: glib/1bit-mutex.test 2122s TAP version 14 2122s # random seed: R02Se77494af806f4ae5d0f44630f51ad899 2122s 1..2 2122s # Start of glib tests 2122s # Start of 1bit-mutex tests 2126s # Executing: glib/1bit-mutex.test 2127s ok 1 /glib/1bit-mutex/int 2127s # slow test /glib/1bit-mutex/int executed in 5.74 secs 2130s # Executing: glib/1bit-mutex.test 2133s ok 2 /glib/1bit-mutex/pointer 2133s # slow test /glib/1bit-mutex/pointer executed in 5.70 secs 2133s # End of 1bit-mutex tests 2133s # End of glib tests 2133s ok - glib/1bit-mutex.test 2133s # Running test: glib/appmonitor.test 2133s TAP version 14 2133s # random seed: R02Se7ca1e4e80fc1f2c53efffe7bff4b6bd 2133s 1..1 2133s # Start of monitor tests 2133s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/home 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/cache 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/system-config2 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/config 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/system-data2 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/data 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/state 2133s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/runtime 2133s # Using data directory: /tmp/test_appmonitor_L8PVX2/monitor/app/.dirs/data 2133s ok 1 /monitor/app 2133s # End of monitor tests 2133s ok - glib/appmonitor.test 2133s # Running test: glib/network-address.test 2133s TAP version 14 2133s # random seed: R02Sce925220050908f4e34d1d3710977abe 2133s 1..72 2133s # Start of network-address tests 2133s ok 1 /network-address/basic 2133s ok 2 /network-address/scope-id 2133s ok 3 /network-address/uri-scope-id 2133s ok 4 /network-address/to-string 2133s # Start of parse-host tests 2133s ok 5 /network-address/parse-host/0 2133s ok 6 /network-address/parse-host/1 2133s ok 7 /network-address/parse-host/2 2133s ok 8 /network-address/parse-host/3 2133s ok 9 /network-address/parse-host/4 2133s ok 10 /network-address/parse-host/5 2133s ok 11 /network-address/parse-host/6 2133s ok 12 /network-address/parse-host/7 2133s ok 13 /network-address/parse-host/8 2133s ok 14 /network-address/parse-host/9 2133s ok 15 /network-address/parse-host/10 2133s ok 16 /network-address/parse-host/11 2133s ok 17 /network-address/parse-host/12 2133s ok 18 /network-address/parse-host/13 2133s # End of parse-host tests 2133s # Start of parse-uri tests 2133s ok 19 /network-address/parse-uri/0 2133s ok 20 /network-address/parse-uri/1 2133s ok 21 /network-address/parse-uri/2 2133s ok 22 /network-address/parse-uri/3 2133s ok 23 /network-address/parse-uri/4 2133s ok 24 /network-address/parse-uri/5 2133s ok 25 /network-address/parse-uri/6 2133s ok 26 /network-address/parse-uri/7 2133s ok 27 /network-address/parse-uri/8 2133s ok 28 /network-address/parse-uri/9 2133s # End of parse-uri tests 2133s # Start of resolve-address tests 2133s # Input: 192.168.1.2 2133s ok 29 /network-address/resolve-address/0 2133s # Input: fe80::42 2133s ok 30 /network-address/resolve-address/1 2133s # Input: 192.168.1.2:80 2133s ok 31 /network-address/resolve-address/2 2133s # Input: [fe80::42] 2133s ok 32 /network-address/resolve-address/3 2133s # Input: [fe80::42]:80 2133s ok 33 /network-address/resolve-address/4 2133s # Input: 192.168.258 2133s ok 34 /network-address/resolve-address/5 2133s # Input: 192.11010306 2133s ok 35 /network-address/resolve-address/6 2133s # Input: 3232235778 2133s ok 36 /network-address/resolve-address/7 2133s # Input: 0300.0250.0001.0001 2133s ok 37 /network-address/resolve-address/8 2133s # Input: 0xC0.0xA8.0x01.0x02 2133s ok 38 /network-address/resolve-address/9 2133s # Input: 0xc0.0xa8.0x01.0x02 2133s ok 39 /network-address/resolve-address/10 2133s # Input: 0xc0a80102 2133s ok 40 /network-address/resolve-address/11 2133s # End of resolve-address tests 2133s # Start of loopback tests 2133s ok 41 /network-address/loopback/basic 2133s ok 42 /network-address/loopback/sync 2133s ok 43 /network-address/loopback/async 2133s # End of loopback tests 2133s # Start of localhost tests 2133s ok 44 /network-address/localhost/async 2133s ok 45 /network-address/localhost/sync 2133s # End of localhost tests 2133s # Start of happy-eyeballs tests 2133s ok 46 /network-address/happy-eyeballs/basic 2133s ok 47 /network-address/happy-eyeballs/parallel 2133s ok 48 /network-address/happy-eyeballs/slow-ipv4 2133s ok 49 /network-address/happy-eyeballs/slow-ipv6 2134s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 2134s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 2134s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 2134s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2134s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 2134s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2134s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 2134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 2134s # /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. 2134s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2135s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 2135s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2135s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 2135s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2135s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 2135s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2135s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2135s ok 57 /network-address/happy-eyeballs/both-error 2135s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2135s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2135s ok 58 /network-address/happy-eyeballs/both-error-delays-1 2135s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2135s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2135s ok 59 /network-address/happy-eyeballs/both-error-delays-2 2135s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2135s ok 60 /network-address/happy-eyeballs/both-error-delays-3 2135s # End of happy-eyeballs tests 2135s # End of network-address tests 2135s # Start of gresolver tests 2135s # Start of resolve-address tests 2135s # Input: 192.168.1.2 2135s ok 61 /gresolver/resolve-address/0 2135s # Input: fe80::42 2135s ok 62 /gresolver/resolve-address/1 2135s # Input: 192.168.1.2:80 2135s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 2135s ok 63 /gresolver/resolve-address/2 2135s # Input: [fe80::42] 2135s # Error: Error resolving ?[fe80::42]?: Name or service not known 2135s ok 64 /gresolver/resolve-address/3 2135s # Input: [fe80::42]:80 2135s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 2135s ok 65 /gresolver/resolve-address/4 2135s # Input: 192.168.258 2135s # Error: Error resolving ?192.168.258?: Name or service not known 2135s ok 66 /gresolver/resolve-address/5 2135s # Input: 192.11010306 2135s # Error: Error resolving ?192.11010306?: Name or service not known 2135s ok 67 /gresolver/resolve-address/6 2135s # Input: 3232235778 2135s # Error: Error resolving ?3232235778?: Name or service not known 2135s ok 68 /gresolver/resolve-address/7 2135s # Input: 0300.0250.0001.0001 2135s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 2135s ok 69 /gresolver/resolve-address/8 2135s # Input: 0xC0.0xA8.0x01.0x02 2135s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 2135s ok 70 /gresolver/resolve-address/9 2135s # Input: 0xc0.0xa8.0x01.0x02 2135s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 2135s ok 71 /gresolver/resolve-address/10 2135s # Input: 0xc0a80102 2135s # Error: Error resolving ?0xc0a80102?: Name or service not known 2135s ok 72 /gresolver/resolve-address/11 2135s # End of resolve-address tests 2135s # End of gresolver tests 2135s ok - glib/network-address.test 2135s # Running test: glib/gdbus-connection-slow.test 2135s TAP version 14 2135s # random seed: R02Se327d1aa6cacfb983bf819e20152ae34 2135s 1..2 2135s # Start of gdbus tests 2135s # Start of connection tests 2135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/home 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/cache 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/system-config2 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/config 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/system-data2 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/data 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/state 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/flush/.dirs/runtime 2135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s ok 1 /gdbus/connection/flush 2135s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/home 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/cache 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/system-config2 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/config 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/system-data2 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/data 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/state 2135s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_ZGV4X2/gdbus/connection/large_message/.dirs/runtime 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2135s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2135s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2135s # Executing: glib/gdbus-connection-slow.test 2136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2136s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2136s ok 2 /gdbus/connection/large_message 2136s # slow test /gdbus/connection/large_message executed in 0.57 secs 2136s # End of connection tests 2136s # End of gdbus tests 2136s ok - glib/gdbus-connection-slow.test 2136s # Running test: glib/throws.test 2136s TAP version 14 2136s # random seed: R02Secf42c1ebb272e11ae9eec912bae9235 2136s 1..3 2136s # Start of throws tests 2136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/home 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/cache 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/system-config2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/config 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/system-data2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/data 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/state 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ZKC8X2/throws/invoke-gerror/.dirs/runtime 2136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2136s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 2136s ok 1 /throws/invoke-gerror 2136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/home 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/cache 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/system-config2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/config 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/system-data2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/data 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/state 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ZKC8X2/throws/vfunc-can-throw-gerror/.dirs/runtime 2136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2136s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 2136s ok 2 /throws/vfunc-can-throw-gerror 2136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/home 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/cache 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/system-config2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/config 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/system-data2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/data 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/state 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ZKC8X2/throws/callback-can-throw-gerror/.dirs/runtime 2136s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2136s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 2136s ok 3 /throws/callback-can-throw-gerror 2136s # End of throws tests 2136s ok - glib/throws.test 2136s # Running test: glib/basic-signals.test 2136s TAP version 14 2136s # random seed: R02Sfd2d22d594ceb8106182aba20a3d30d7 2136s 1..1 2136s # Start of gobject tests 2136s ok 1 /gobject/basic-signals 2136s # End of gobject tests 2136s ok - glib/basic-signals.test 2136s # Running test: glib/simple-proxy.test 2136s TAP version 14 2136s # random seed: R02S67c767df034ebab692646c4d524dce77 2136s 1..3 2136s # Start of static-proxy tests 2136s ok 1 /static-proxy/uri 2136s ok 2 /static-proxy/socks 2136s ok 3 /static-proxy/ignore 2136s # End of static-proxy tests 2136s ok - glib/simple-proxy.test 2136s # Running test: glib/stream-rw_all.test 2136s TAP version 14 2136s # random seed: R02S8a1e3a35dd5b9fb9c56940b7a1bbfec5 2136s 1..3 2136s # Start of stream tests 2136s # Start of read_all_async tests 2136s ok 1 /stream/read_all_async/memory 2136s # End of read_all_async tests 2136s # Start of write_all_async tests 2136s ok 2 /stream/write_all_async/memory 2136s # End of write_all_async tests 2136s # Start of read_write_all_async tests 2136s ok 3 /stream/read_write_all_async/pipe 2136s # End of read_write_all_async tests 2136s # End of stream tests 2136s ok - glib/stream-rw_all.test 2136s # Running test: glib/protocol.test 2136s TAP version 14 2136s # random seed: R02S5d49209010d7808baf6dae710e9c2acb 2136s 1..9 2136s # Start of glib tests 2136s # Start of testing tests 2136s # Start of protocol tests 2136s ok 1 /glib/testing/protocol/debug 2136s ok 2 /glib/testing/protocol/info 2136s ok 3 /glib/testing/protocol/message 2136s ok 4 /glib/testing/protocol/warning 2136s ok 5 /glib/testing/protocol/critical 2136s ok 6 /glib/testing/protocol/error 2136s ok 7 /glib/testing/protocol/gtest-message 2136s ok 8 /glib/testing/protocol/test-message 2136s ok 9 /glib/testing/protocol/test-error 2136s # End of protocol tests 2136s # End of testing tests 2136s # End of glib tests 2136s ok - glib/protocol.test 2136s # Running test: glib/async-splice-output-stream.test 2136s TAP version 14 2136s # random seed: R02Sa0764510d66bb6f410725aebd77c7226 2136s 1..5 2136s # Start of async-splice tests 2136s ok 1 /async-splice/copy-chunks 2136s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2136s ok 2 /async-splice/copy-chunks-threaded-input 2136s ok 3 /async-splice/copy-chunks-threaded-output 2136s ok 4 /async-splice/copy-chunks-threaded 2136s ok 5 /async-splice/cancelled 2136s # End of async-splice tests 2136s ok - glib/async-splice-output-stream.test 2136s # Running test: glib/init.test 2136s TAP version 14 2136s # random seed: R02S8aff6166e5ba209906b58984295fced6 2136s 1..2 2136s # Start of thread tests 2136s # Start of deprecated tests 2136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/home 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/cache 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/system-config2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/config 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/system-data2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/data 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/state 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_YIZ6X2/thread/deprecated/init/.dirs/runtime 2136s ok 1 /thread/deprecated/init 2136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 2136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_YIZ6X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 2136s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 2136s # End of deprecated tests 2136s # End of thread tests 2136s ok - glib/init.test 2136s # Running test: glib/cxx-20.test 2136s TAP version 14 2136s # random seed: R02S089d493b26a05c673e272230f7229386 2136s 1..2 2136s # Start of gtask tests 2136s # 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. 2136s ok 1 /gtask/name 2136s # Start of name tests 2136s # 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. 2136s ok 2 /gtask/name/macro-wrapper 2136s # End of name tests 2136s # End of gtask tests 2136s ok - glib/cxx-20.test 2136s # Running test: glib/value.test 2136s TAP version 14 2136s # random seed: R02Sfbb49a4f2c6151c74f3e2e3e728309d3 2136s 1..9 2136s # Start of value tests 2136s ok 1 /value/basic 2136s ok 2 /value/collection 2136s ok 3 /value/copying 2136s ok 4 /value/enum-transformation 2136s ok 5 /value/gtype 2136s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 2136s ok 6 /value/string 2136s # Next: GObject object in GValue of GObject to GValue of GObject 2136s # Next: GObject object in GValue of GObject to GValue of TestInterface 2136s # Next: GObject object in GValue of GObject to GValue of TestObjectA 2136s # Next: GObject object in GValue of GObject to GValue of TestObjectB 2136s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 2136s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 2136s # Next: TestObjectA object in GValue of GObject to GValue of GObject 2136s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 2136s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 2136s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 2136s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 2136s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 2136s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 2136s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 2136s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 2136s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 2136s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 2136s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 2136s # Next: TestObjectB object in GValue of GObject to GValue of GObject 2136s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 2136s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 2136s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 2136s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 2136s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 2136s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 2136s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 2136s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 2136s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 2136s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 2136s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 2136s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 2136s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 2136s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 2136s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 2136s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 2136s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 2136s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 2136s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 2136s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 2136s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 2136s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 2136s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 2136s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 2136s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 2136s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 2136s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 2136s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 2136s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 2136s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 2136s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 2136s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 2136s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 2136s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 2136s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 2136s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 2136s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 2136s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 2136s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 2136s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 2136s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 2136s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 2136s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 2136s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 2136s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 2136s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 2136s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 2136s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 2136s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 2136s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 2136s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 2136s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 2136s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 2136s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 2136s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 2136s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 2136s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 2136s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 2136s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 2136s ok 7 /value/transform-object 2136s # Start of array tests 2136s ok 8 /value/array/basic 2136s ok 9 /value/array/sort-with-data 2136s # End of array tests 2136s # End of value tests 2136s ok - glib/value.test 2136s # Running test: glib/contenttype.test 2136s TAP version 14 2136s # random seed: R02S88004a2f66d2b3de2a29d977b50fdd78 2136s 1..13 2136s # Start of contenttype tests 2136s ok 1 /contenttype/guess 2136s ok 2 /contenttype/guess_svg_from_data 2136s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 2136s ok 4 /contenttype/unknown 2136s ok 5 /contenttype/subtype 2136s ok 6 /contenttype/list 2136s ok 7 /contenttype/executable 2136s ok 8 /contenttype/description 2136s ok 9 /contenttype/icon 2136s ok 10 /contenttype/symbolic-icon 2136s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2136s ok 11 /contenttype/tree 2136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 2136s ok 12 /contenttype/tree_invalid_encoding 2136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 2136s ok 13 /contenttype/test_type_is_a_special_case 2136s # End of contenttype tests 2136s ok - glib/contenttype.test 2136s # Running test: glib/utf8-misc.test 2136s TAP version 14 2136s # random seed: R02Sd06bad08b40f80e9cee8be5ff9d48ac3 2136s 1..7 2136s # Start of utf8 tests 2136s ok 1 /utf8/strlen 2136s ok 2 /utf8/strncpy 2136s ok 3 /utf8/strrchr 2136s ok 4 /utf8/reverse 2136s ok 5 /utf8/substring 2136s ok 6 /utf8/make-valid 2136s ok 7 /utf8/truncate-middle 2136s # End of utf8 tests 2136s ok - glib/utf8-misc.test 2136s # Running test: glib/private.test 2136s TAP version 14 2136s # random seed: R02S6ce499b096fe274dc0a8c8e52b4582df 2136s 1..8 2136s # Start of thread tests 2136s ok 1 /thread/private1 2137s ok 2 /thread/private2 2137s # slow test /thread/private2 executed in 1.09 secs 2137s ok 3 /thread/private3 2137s ok 4 /thread/staticprivate1 2137s ok 5 /thread/staticprivate2 2137s ok 6 /thread/staticprivate3 2138s ok 7 /thread/staticprivate4 2138s # slow test /thread/staticprivate4 executed in 1.09 secs 2138s ok 8 /thread/staticprivate5 2138s # End of thread tests 2138s ok - glib/private.test 2138s # Running test: glib/sleepy-stream.test 2138s TAP version 14 2138s # random seed: R02Sbe2050459b8155d88544351c78f5fd59 2138s 1..2 2138s # Start of filter-stream tests 2138s ok 1 /filter-stream/input 2138s ok 2 /filter-stream/async 2138s # End of filter-stream tests 2138s ok - glib/sleepy-stream.test 2138s # Running test: glib/dynamictests.test 2138s TAP version 14 2138s # random seed: R02S4c683a0ff4cad139a012d0b0570ad244 2138s 1..2 2138s # Start of GObject tests 2138s ok 1 /GObject/threaded-dynamic-ref-unref-init 2138s ok 2 /GObject/dynamic-interface-properties 2138s # End of GObject tests 2138s ok - glib/dynamictests.test 2138s # Running test: glib/cxx-2b.test 2138s TAP version 14 2138s # random seed: R02S7e44a6c611b3faaf3ee2fe0b9ba146ae 2138s 1..2 2138s # Start of gtask tests 2138s # 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. 2138s ok 1 /gtask/name 2138s # Start of name tests 2138s # 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. 2138s ok 2 /gtask/name/macro-wrapper 2138s # End of name tests 2138s # End of gtask tests 2138s ok - glib/cxx-2b.test 2138s # Running test: glib/option-argv0.test 2138s TAP version 14 2138s # random seed: R02Sd3de1cc9677b316774d07d01548624ba 2138s 1..1 2138s # Start of option tests 2138s ok 1 /option/argv0 2138s # End of option tests 2138s ok - glib/option-argv0.test 2138s # Running test: glib/power-profile-monitor-dbus.test 2138s TAP version 13 2138s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 2138s 1..1 2138s ok - glib/power-profile-monitor-dbus.test 2138s # Running test: glib/mapping.test 2138s TAP version 14 2138s # random seed: R02S19d5b9576e59a44ae80378491dcf6eaf 2138s 1..3 2138s # Start of mapping tests 2138s # test_mapping: ok 2138s ok 1 /mapping/flags 2138s ok 2 /mapping/private 2138s # test_child_private: child spawned 2138s # Subtest: /usr/libexec/installed-tests/glib/mapping 2138s # random seed: R02S645c7904d815fe2c2a759678e4ca3ba9 2138s # test_child_private: received first child signal 2138s # test_child_private: received parent signal 2138s # Child exited with status 0 2138s # test_child_private: received second child signal 2138s ok 3 /mapping/private-child 2138s # End of mapping tests 2138s ok - glib/mapping.test 2138s # Running test: glib/memchunk.test 2138s TAP version 14 2138s # random seed: R02S785ef57b69b48e338a5bb316fc32fee4 2138s 1..1 2138s # Start of memchunk tests 2138s ok 1 /memchunk/basic 2138s # End of memchunk tests 2138s ok - glib/memchunk.test 2138s # Running test: glib/gdbus-proxy-well-known-name.test 2138s TAP version 14 2138s # random seed: R02Sf2a08a92de455455e43b3633ecad6b98 2138s 1..1 2138s # Start of gdbus tests 2138s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/home 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/cache 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/system-config2 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/config 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/system-data2 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/data 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/state 2138s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_C5DTX2/gdbus/proxy-well-known-name/.dirs/runtime 2138s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2138s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2138s ok 1 /gdbus/proxy-well-known-name 2138s # End of gdbus tests 2138s ok - glib/gdbus-proxy-well-known-name.test 2138s # Running test: glib/gdatetime.test 2138s TAP version 14 2138s # random seed: R02S1188919eba885f693588f39e0f2f1e73 2138s 1..68 2138s # Start of GDateTime tests 2138s # Bug Reference: http://bugzilla.gnome.org/702674 2138s ok 1 /GDateTime/invalid 2138s ok 2 /GDateTime/add_days 2138s ok 3 /GDateTime/add_full 2138s ok 4 /GDateTime/add_hours 2138s ok 5 /GDateTime/add_minutes 2138s ok 6 /GDateTime/add_months 2138s ok 7 /GDateTime/add_seconds 2138s ok 8 /GDateTime/add_weeks 2138s ok 9 /GDateTime/add_years 2138s ok 10 /GDateTime/compare 2138s ok 11 /GDateTime/diff 2138s ok 12 /GDateTime/equal 2138s ok 13 /GDateTime/get_day_of_week 2138s ok 14 /GDateTime/get_day_of_month 2138s ok 15 /GDateTime/get_day_of_year 2138s ok 16 /GDateTime/get_hour 2138s ok 17 /GDateTime/get_microsecond 2138s ok 18 /GDateTime/get_minute 2138s ok 19 /GDateTime/get_month 2138s ok 20 /GDateTime/get_second 2138s ok 21 /GDateTime/get_utc_offset 2138s ok 22 /GDateTime/get_year 2138s ok 23 /GDateTime/hash 2138s ok 24 /GDateTime/new_from_unix 2138s ok 25 /GDateTime/new_from_unix_utc 2138s ok 26 /GDateTime/new_from_timeval 2138s ok 27 /GDateTime/new_from_timeval_utc 2138s ok 28 /GDateTime/new_from_iso8601 2138s ok 29 /GDateTime/new_full 2138s ok 30 /GDateTime/now 2138s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 2138s ok 31 /GDateTime/test-6-days-until-end-of-the-month 2138s # %a -> expected: Sat 2138s # %a -> actual: Sat 2138s # %A -> expected: Saturday 2138s # %A -> actual: Saturday 2138s # %b -> expected: Oct 2138s # %b -> actual: Oct 2138s # %B -> expected: October 2138s # %B -> actual: October 2138s # %d -> expected: 24 2138s # %d -> actual: 24 2138s # %d -> expected: 01 2138s # %d -> actual: 01 2138s # %e -> expected: 24 2138s # %e -> actual: 24 2138s # %e -> expected:  1 2138s # %e -> actual:  1 2138s # %f -> expected: 001000 2138s # %f -> actual: 001000 2138s # %h -> expected: Oct 2138s # %h -> actual: Oct 2138s # %H -> expected: 00 2138s # %H -> actual: 00 2138s # %H -> expected: 15 2138s # %H -> actual: 15 2138s # %I -> expected: 12 2138s # %I -> actual: 12 2138s # %I -> expected: 12 2138s # %I -> actual: 12 2138s # %I -> expected: 03 2138s # %I -> actual: 03 2138s # %j -> expected: 297 2138s # %j -> actual: 297 2138s # %k -> expected:  0 2138s # %k -> actual:  0 2138s # %k -> expected: 13 2138s # %k -> actual: 13 2138s # %l -> expected: 12 2138s # %l -> actual: 12 2138s # %I -> expected: 12 2138s # %I -> actual: 12 2138s # %l -> expected:  1 2138s # %l -> actual:  1 2138s # %l -> expected: 10 2138s # %l -> actual: 10 2138s # %m -> expected: 10 2138s # %m -> actual: 10 2138s # %M -> expected: 00 2138s # %M -> actual: 00 2138s # %p -> expected: AM 2138s # %p -> actual: AM 2138s # %p -> expected: PM 2138s # %p -> actual: PM 2138s # %P -> expected: am 2138s # %P -> actual: am 2138s # %P -> expected: pm 2138s # %P -> actual: pm 2138s # %r -> expected: 12:00:00 AM 2138s # %r -> actual: 12:00:00 AM 2138s # %r -> expected: 01:13:13 PM 2138s # %r -> actual: 01:13:13 PM 2138s # %R -> expected: 00:00 2138s # %R -> actual: 00:00 2138s # %R -> expected: 13:13 2138s # %R -> actual: 13:13 2138s # %S -> expected: 00 2138s # %S -> actual: 00 2138s # %t -> expected: 2138s # %t -> actual: 2138s # %u -> expected: 6 2138s # %u -> actual: 6 2138s # %x -> expected: 10/24/09 2138s # %x -> actual: 10/24/09 2138s # %X -> expected: 00:00:00 2138s # %X -> actual: 00:00:00 2138s # %X -> expected: 13:14:15 2138s # %X -> actual: 13:14:15 2138s # %y -> expected: 09 2138s # %y -> actual: 09 2138s # %Y -> expected: 2009 2138s # %Y -> actual: 2009 2138s # %% -> expected: % 2138s # %% -> actual: % 2138s # % -> expected: 2138s # % -> actual: 2138s # %9 -> expected: (null) 2138s # %9 -> actual: (null) 2138s # %Z -> expected: UTC 2138s # %Z -> actual: UTC 2138s ok 32 /GDateTime/printf 2138s # %a -> expected: ÅÚ 2138s # %a -> actual: ÅÚ 2138s # %A -> expected: ÅÚÍËÆü 2138s # %A -> actual: ÅÚÍËÆü 2138s # %b -> expected: 10·î 2138s # %b -> actual: 10·î 2138s # %B -> expected: 10·î 2138s # %B -> actual: 10·î 2138s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 2138s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 2138s # %C -> expected: 20 2138s # %C -> actual: 20 2138s # %d -> expected: 24 2138s # %d -> actual: 24 2138s # %d -> expected: 01 2138s # %d -> actual: 01 2138s # %e -> expected: 24 2138s # %e -> actual: 24 2138s # %h -> expected: 10·î 2138s # %h -> actual: 10·î 2138s # %H -> expected: 00 2138s # %H -> actual: 00 2138s # %H -> expected: 15 2138s # %H -> actual: 15 2138s # %I -> expected: 12 2138s # %I -> actual: 12 2138s # %I -> expected: 12 2138s # %I -> actual: 12 2138s # %I -> expected: 03 2138s # %I -> actual: 03 2138s # %j -> expected: 297 2138s # %j -> actual: 297 2138s # %k -> expected: ?0 2138s # %k -> actual: ?0 2138s # %k -> expected: 13 2138s # %k -> actual: 13 2138s # %l -> expected: 12 2138s # %l -> actual: 12 2138s # %I -> expected: 12 2138s # %I -> actual: 12 2138s # %l -> expected: ?1 2138s # %l -> actual: ?1 2138s # %l -> expected: 10 2138s # %l -> actual: 10 2138s # %m -> expected: 10 2138s # %m -> actual: 10 2138s # %M -> expected: 00 2138s # %M -> actual: 00 2138s # %p -> expected: ¸áÁ° 2138s # %p -> actual: ¸áÁ° 2138s # %p -> expected: ¸á¸å 2138s # %p -> actual: ¸á¸å 2138s # %P -> expected: ¸áÁ° 2138s # %P -> actual: ¸áÁ° 2138s # %P -> expected: ¸á¸å 2138s # %P -> actual: ¸á¸å 2138s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 2138s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 2138s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 2138s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 2138s # %R -> expected: 00:00 2138s # %R -> actual: 00:00 2138s # %R -> expected: 13:13 2138s # %R -> actual: 13:13 2138s # %S -> expected: 00 2138s # %S -> actual: 00 2138s # %t -> expected: 2138s # %t -> actual: 2138s # %u -> expected: 6 2138s # %u -> actual: 6 2138s # %x -> expected: 2009ǯ10·î24Æü 2138s # %x -> actual: 2009ǯ10·î24Æü 2138s # %X -> expected: 00»þ00ʬ00Éà 2138s # %X -> actual: 00»þ00ʬ00Éà 2138s # %X -> expected: 13»þ14ʬ15Éà 2138s # %X -> actual: 13»þ14ʬ15Éà 2138s # %y -> expected: 09 2138s # %y -> actual: 09 2138s # %Y -> expected: 2009 2138s # %Y -> actual: 2009 2138s # %% -> expected: % 2138s # %% -> actual: % 2138s # % -> expected: 2138s # % -> actual: 2138s # %9 -> expected: (null) 2138s # %9 -> actual: (null) 2138s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 2138s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 2138s # %EC -> expected: Ê¿À® 2138s # %EC -> actual: Ê¿À® 2138s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 2138s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 2138s # %EX -> expected: 00»þ00ʬ00Éà 2138s # %EX -> actual: 00»þ00ʬ00Éà 2138s # %Ey -> expected: 21 2138s # %Ey -> actual: 21 2138s # %EY -> expected: Ê¿À®21ǯ 2138s # %EY -> actual: Ê¿À®21ǯ 2138s ok 33 /GDateTime/non_utf8_printf 2138s # ???? -> expected: ???? 2138s # ???? -> actual: ???? 2138s # %H?%M -> expected: 23?15 2138s # %H?%M -> actual: 23?15 2138s # %H?%M -> expected: 23?15 2138s # %H?%M -> actual: 23?15 2138s ok 34 /GDateTime/format_unrepresentable 2138s ok 35 /GDateTime/format_iso8601 2138s ok 36 /GDateTime/strftime 2138s # %d -> expected: 01 2138s # %d -> actual: 01 2138s # %_d -> expected: 1 2138s # %_d -> actual: 1 2138s # %-d -> expected: 1 2138s # %-d -> actual: 1 2138s # %0d -> expected: 01 2138s # %0d -> actual: 01 2138s # %d -> expected: 21 2138s # %d -> actual: 21 2138s # %_d -> expected: 21 2138s # %_d -> actual: 21 2138s # %-d -> expected: 21 2138s # %-d -> actual: 21 2138s # %0d -> expected: 21 2138s # %0d -> actual: 21 2138s # %e -> expected:  1 2138s # %e -> actual:  1 2138s # %_e -> expected: 1 2138s # %_e -> actual: 1 2138s # %-e -> expected: 1 2138s # %-e -> actual: 1 2138s # %0e -> expected: 01 2138s # %0e -> actual: 01 2138s # %e -> expected: 21 2138s # %e -> actual: 21 2138s # %_e -> expected: 21 2138s # %_e -> actual: 21 2138s # %-e -> expected: 21 2138s # %-e -> actual: 21 2138s # %0e -> expected: 21 2138s # %0e -> actual: 21 2138s # %a -> expected: Thu 2138s # %a -> actual: Thu 2138s # %^a -> expected: THU 2138s # %^a -> actual: THU 2138s # %#a -> expected: THU 2138s # %#a -> actual: THU 2138s # %A -> expected: Thursday 2138s # %A -> actual: Thursday 2138s # %^A -> expected: THURSDAY 2138s # %^A -> actual: THURSDAY 2138s # %#A -> expected: THURSDAY 2138s # %#A -> actual: THURSDAY 2138s # %b -> expected: Jan 2138s # %b -> actual: Jan 2138s # %^b -> expected: JAN 2138s # %^b -> actual: JAN 2138s # %#b -> expected: JAN 2138s # %#b -> actual: JAN 2138s # %B -> expected: January 2138s # %B -> actual: January 2138s # %^B -> expected: JANUARY 2138s # %^B -> actual: JANUARY 2138s # %#B -> expected: JANUARY 2138s # %#B -> actual: JANUARY 2138s # %h -> expected: Jan 2138s # %h -> actual: Jan 2138s # %^h -> expected: JAN 2138s # %^h -> actual: JAN 2138s # %#h -> expected: JAN 2138s # %#h -> actual: JAN 2138s # %Z -> expected: UTC 2138s # %Z -> actual: UTC 2138s # %^Z -> expected: UTC 2138s # %^Z -> actual: UTC 2138s # %#Z -> expected: utc 2138s # %#Z -> actual: utc 2138s # %H -> expected: 01 2138s # %H -> actual: 01 2138s # %_H -> expected: 1 2138s # %_H -> actual: 1 2138s # %-H -> expected: 1 2138s # %-H -> actual: 1 2138s # %0H -> expected: 01 2138s # %0H -> actual: 01 2138s # %H -> expected: 21 2138s # %H -> actual: 21 2138s # %_H -> expected: 21 2138s # %_H -> actual: 21 2138s # %-H -> expected: 21 2138s # %-H -> actual: 21 2138s # %0H -> expected: 21 2138s # %0H -> actual: 21 2138s # %I -> expected: 01 2138s # %I -> actual: 01 2138s # %_I -> expected: 1 2138s # %_I -> actual: 1 2138s # %-I -> expected: 1 2138s # %-I -> actual: 1 2138s # %0I -> expected: 01 2138s # %0I -> actual: 01 2138s # %I -> expected: 11 2138s # %I -> actual: 11 2138s # %_I -> expected: 11 2138s # %_I -> actual: 11 2138s # %-I -> expected: 11 2138s # %-I -> actual: 11 2138s # %0I -> expected: 11 2138s # %0I -> actual: 11 2138s # %k -> expected:  1 2138s # %k -> actual:  1 2138s # %_k -> expected: 1 2138s # %_k -> actual: 1 2138s # %-k -> expected: 1 2138s # %-k -> actual: 1 2138s # %0k -> expected: 01 2138s # %0k -> actual: 01 2138s # %l -> expected:  1 2138s # %l -> actual:  1 2138s # %_l -> expected: 1 2138s # %_l -> actual: 1 2138s # %-l -> expected: 1 2138s # %-l -> actual: 1 2138s # %0l -> expected: 01 2138s # %0l -> actual: 01 2138s # %l -> expected: 11 2138s # %l -> actual: 11 2138s # %_l -> expected: 11 2138s # %_l -> actual: 11 2138s # %-l -> expected: 11 2138s # %-l -> actual: 11 2138s # %0l -> expected: 11 2138s # %0l -> actual: 11 2138s # %p -> expected: AM 2138s # %p -> actual: AM 2138s # %^p -> expected: AM 2138s # %^p -> actual: AM 2138s # %#p -> expected: am 2138s # %#p -> actual: am 2138s # %P -> expected: am 2138s # %P -> actual: am 2138s # %^P -> expected: AM 2138s # %^P -> actual: AM 2138s # %#P -> expected: am 2138s # %#P -> actual: am 2138s # %OH -> expected: Û²Û³ 2138s # %OH -> actual: Û²Û³ 2138s # %OI -> expected: Û±Û± 2138s # %OI -> actual: Û±Û± 2138s # %OM -> expected: Û°Û° 2138s # %OM -> actual: Û°Û° 2138s # %Om -> expected: Û°Û· 2138s # %Om -> actual: Û°Û· 2138s # %0Om -> expected: Û°Û· 2138s # %0Om -> actual: Û°Û· 2138s # %-Om -> expected: Û· 2138s # %-Om -> actual: Û· 2138s # %_Om -> expected: Û· 2138s # %_Om -> actual: Û· 2138s # %c -> expected: thu 01 jan 2009 00:00:00 utc 2138s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 2138s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 2138s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 2138s # %C -> expected: 20 2138s # %C -> actual: 20 2138s # %EC -> expected: 20 2138s # %EC -> actual: 20 2138s # %x -> expected: 02/01/09 2138s # %x -> actual: 02/01/09 2138s # %Ex -> expected: 02/01/09 2138s # %Ex -> actual: 02/01/09 2138s # %X -> expected: 01:02:03 2138s # %X -> actual: 01:02:03 2138s # %EX -> expected: 01:02:03 2138s # %EX -> actual: 01:02:03 2138s # %y -> expected: 09 2138s # %y -> actual: 09 2138s # %Ey -> expected: 09 2138s # %Ey -> actual: 09 2138s # %Y -> expected: 2009 2138s # %Y -> actual: 2009 2138s # %EY -> expected: 2009 2138s # %EY -> actual: 2009 2138s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 2138s # Bug Reference: http://bugzilla.gnome.org/749206 2138s # %B -> expected: January 2138s # %B -> actual: January 2138s # %OB -> expected: February 2138s # %OB -> actual: February 2138s # %b -> expected: Mar 2138s # %b -> actual: Mar 2138s # %Ob -> expected: Apr 2138s # %Ob -> actual: Apr 2138s # %h -> expected: May 2138s # %h -> actual: May 2138s # %Oh -> expected: Jun 2138s # %Oh -> actual: Jun 2138s # %B -> expected: Juli 2138s # %B -> actual: Juli 2138s # %OB -> expected: August 2138s # %OB -> actual: August 2138s # %b -> expected: Sep 2138s # %b -> actual: Sep 2138s # %Ob -> expected: Okt 2138s # %Ob -> actual: Okt 2138s # %h -> expected: Nov 2138s # %h -> actual: Nov 2138s # %Oh -> expected: Dez 2138s # %Oh -> actual: Dez 2138s # %B -> expected: enero 2138s # %B -> actual: enero 2138s # %OB -> expected: febrero 2138s # %OB -> actual: febrero 2138s # %b -> expected: mar 2138s # %b -> actual: mar 2138s # %Ob -> expected: abr 2138s # %Ob -> actual: abr 2138s # %h -> expected: may 2138s # %h -> actual: may 2138s # %Oh -> expected: jun 2138s # %Oh -> actual: jun 2138s # %B -> expected: juillet 2138s # %B -> actual: juillet 2138s # %OB -> expected: août 2138s # %OB -> actual: août 2138s # %b -> expected: sept. 2138s # %b -> actual: sept. 2138s # %Ob -> expected: oct. 2138s # %Ob -> actual: oct. 2138s # %h -> expected: nov. 2138s # %h -> actual: nov. 2138s # %Oh -> expected: déc. 2138s # %Oh -> actual: déc. 2138s # %B -> expected: ΙανουαÏίου 2138s # %B -> actual: ΙανουαÏίου 2138s # %B -> expected: ΦεβÏουαÏίου 2138s # %B -> actual: ΦεβÏουαÏίου 2138s # %B -> expected: ΜαÏτίου 2138s # %B -> actual: ΜαÏτίου 2138s # %OB -> expected: ΑπÏίλιος 2138s # %OB -> actual: ΑπÏίλιος 2138s # %OB -> expected: Μάιος 2138s # %OB -> actual: Μάιος 2138s # %OB -> expected: ΙοÏνιος 2138s # %OB -> actual: ΙοÏνιος 2138s # %b -> expected: Ιουλ 2138s # %b -> actual: Ιουλ 2138s # %Ob -> expected: ΑÏγ 2138s # %Ob -> actual: ΑÏγ 2138s # %B -> expected: svibnja 2138s # %B -> actual: svibnja 2138s # %B -> expected: lipnja 2138s # %B -> actual: lipnja 2138s # %B -> expected: srpnja 2138s # %B -> actual: srpnja 2138s # %OB -> expected: Kolovoz 2138s # %OB -> actual: kolovoz 2138s # %OB -> expected: Rujan 2138s # %OB -> actual: rujan 2138s # %OB -> expected: Listopad 2138s # %OB -> actual: listopad 2138s # %b -> expected: Stu 2138s # %b -> actual: stu 2138s # %Ob -> expected: Pro 2138s # %Ob -> actual: pro 2138s # %B -> expected: sausio 2138s # %B -> actual: sausio 2138s # %B -> expected: vasario 2138s # %B -> actual: vasario 2138s # %B -> expected: kovo 2138s # %B -> actual: kovo 2138s # %OB -> expected: balandis 2138s # %OB -> actual: balandis 2138s # %OB -> expected: gegužė 2138s # %OB -> actual: gegužė 2138s # %OB -> expected: birželis 2138s # %OB -> actual: birželis 2138s # %b -> expected: liep. 2138s # %b -> actual: liep. 2138s # %Ob -> expected: rugp. 2138s # %Ob -> actual: rugp. 2138s # %B -> expected: maja 2138s # %B -> actual: maja 2138s # %B -> expected: czerwca 2138s # %B -> actual: czerwca 2138s # %B -> expected: lipca 2138s # %B -> actual: lipca 2138s # %OB -> expected: sierpieÅ„ 2138s # %OB -> actual: sierpieÅ„ 2138s # %OB -> expected: wrzesieÅ„ 2138s # %OB -> actual: wrzesieÅ„ 2138s # %OB -> expected: październik 2138s # %OB -> actual: październik 2138s # %b -> expected: lis 2138s # %b -> actual: lis 2138s # %Ob -> expected: gru 2138s # %Ob -> actual: gru 2138s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 2138s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 2138s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 2138s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 2138s # %B -> expected: марта 2138s # %B -> actual: марта 2138s # %OB -> expected: Ðпрель 2138s # %OB -> actual: Ðпрель 2138s # %OB -> expected: Май 2138s # %OB -> actual: Май 2138s # %OB -> expected: Июнь 2138s # %OB -> actual: Июнь 2138s # %b -> expected: июл 2138s # %b -> actual: июл 2138s # %Ob -> expected: авг 2138s # %Ob -> actual: авг 2138s # %b -> expected: Ð¼Ð°Ñ 2138s # %b -> actual: Ð¼Ð°Ñ 2138s # %Ob -> expected: май 2138s # %Ob -> actual: май 2138s ok 38 /GDateTime/month_names 2138s ok 39 /GDateTime/to_local 2138s ok 40 /GDateTime/to_unix 2138s ok 41 /GDateTime/to_timeval 2138s ok 42 /GDateTime/to_utc 2138s ok 43 /GDateTime/now_utc 2138s ok 44 /GDateTime/dst 2138s # Bug Reference: http://bugzilla.gnome.org/642935 2138s ok 45 /GDateTime/test_z 2139s ok 46 /GDateTime/test-all-dates 2139s # slow test /GDateTime/test-all-dates executed in 0.68 secs 2139s ok 47 /GDateTime/unix_usec 2139s # Start of new_from_unix tests 2139s # Bug Reference: http://bugzilla.gnome.org/782089 2139s ok 48 /GDateTime/new_from_unix/overflow 2139s # End of new_from_unix tests 2139s # Start of new_from_timeval tests 2139s # Bug Reference: http://bugzilla.gnome.org/782089 2139s # Maximum supported GTimeVal.tv_sec = 253402300799 2139s ok 49 /GDateTime/new_from_timeval/overflow 2139s # End of new_from_timeval tests 2139s # Start of new_from_iso8601 tests 2139s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 2139s # Vector 0: 1990-11-01T10:21:17Z 2139s # Vector 1: 19901101T102117Z 2139s # Vector 2: 1970-01-01T00:00:17.12Z 2139s # Vector 3: 1970-01-01T00:00:17.1234Z 2139s # Vector 4: 1970-01-01T00:00:17.123456Z 2139s # Vector 5: 1980-02-22T12:36:00+02:00 2139s # Vector 6: 1990-12-31T15:59:60-08:00 2139s # Vector 7: 2139s # Vector 8: x 2139s # Vector 9: 123x 2139s # Vector 10: 2001-10+x 2139s # Vector 11: 1980-02-22T 2139s # Vector 12: 2001-10-08Tx 2139s # Vector 13: 2001-10-08T10:11x 2139s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 2139s # Vector 15: 1980-02-22T10:36:00Zulu 2139s # Vector 16: 2T0+819855292164632335 2139s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 2139s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 2139s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 2139s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 2139s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 2139s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 2139s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 2139s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 2139s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 2139s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 2139s # Vector 27: 20180803T140805.446178377+0100 2139s # Vector 28: 21474836480803T140805.446178377+0100 2139s # Vector 29: 20181303T140805.446178377+0100 2139s # Vector 30: 20180003T140805.446178377+0100 2139s # Vector 31: 20180800T140805.446178377+0100 2139s # Vector 32: 20180832T140805.446178377+0100 2139s # Vector 33: 20180803T240805.446178377+0100 2139s # Vector 34: 20180803T146005.446178377+0100 2139s # Vector 35: 20180803T140863.446178377+0100 2139s # Vector 36: 20180803T140805.446178377+10000 2139s # Vector 37: -0005-01-01T00:00:00Z 2139s # Vector 38: 2018-08-06 2139s # Vector 39: 20180803T140805,446178377+0100 2139s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 2139s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 2139s # Vector 42: 1990-11-01T10:21:17 2139s # Vector 43: 1719W462 407777-07 2139s # Vector 44: 4011090 260528Z 2139s # Vector 45: 0000W011 228214-22 2139s ok 50 /GDateTime/new_from_iso8601/2 2139s # End of new_from_iso8601 tests 2139s # Start of format_mixed tests 2139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 2139s # %b -> expected: mar 2139s # %b -> actual: Mar 2139s # %B -> expected: march 2139s # %B -> actual: March 2139s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 2139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 2139s # %b -> expected: mar 2139s # %b -> actual: Mar 2139s # %B -> expected: march 2139s # %B -> actual: March 2139s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 2139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 2139s # %b -> expected: Mär 2139s # %b -> actual: Mär 2139s # %B -> expected: März 2139s # %B -> actual: März 2139s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 2139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 2139s # %b -> expected: Mär 2139s # %b -> actual: Mär 2139s # %B -> expected: März 2139s # %B -> actual: März 2139s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 2139s # End of format_mixed tests 2139s # Start of strftime tests 2139s # %r -> expected: (null) 2139s # %r -> actual: (null) 2139s ok 55 /GDateTime/strftime/error_handling 2139s # End of strftime tests 2139s # Start of eras tests 2139s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 2139s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 2139s # %EC -> expected: 令和 2139s # %EC -> actual: 令和 2139s # %Ex -> expected: 令和05å¹´06月01æ—¥ 2139s # %Ex -> actual: 令和05å¹´06月01æ—¥ 2139s # %EX -> expected: 00時00分00秒 2139s # %EX -> actual: 00時00分00秒 2139s # %Ey -> expected: 05 2139s # %Ey -> actual: 05 2139s # %EY -> expected: 令和05å¹´ 2139s # %EY -> actual: 令和05å¹´ 2139s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 2139s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 2139s # %EC -> expected: å¹³æˆ 2139s # %EC -> actual: å¹³æˆ 2139s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 2139s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 2139s # %EX -> expected: 00時00分00秒 2139s # %EX -> actual: 00時00分00秒 2139s # %Ey -> expected: 31 2139s # %Ey -> actual: 31 2139s # %EY -> expected: å¹³æˆ31å¹´ 2139s # %EY -> actual: å¹³æˆ31å¹´ 2139s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 2139s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 2139s # %EC -> expected: 昭和 2139s # %EC -> actual: 昭和 2139s # %Ex -> expected: 昭和元年12月25æ—¥ 2139s # %Ex -> actual: 昭和元年12月25æ—¥ 2139s # %EX -> expected: 00時00分00秒 2139s # %EX -> actual: 00時00分00秒 2139s # %Ey -> expected: 01 2139s # %Ey -> actual: 01 2139s # %EY -> expected: 昭和元年 2139s # %EY -> actual: 昭和元年 2139s ok 56 /GDateTime/eras/japan 2139s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 2139s # Vector 0: 2139s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 2139s # 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å¹´ 2139s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 2139s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 2139s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 8: + 2139s # Vector 9: +: 2139s # Vector 10: +:: 2139s # Vector 11: +:200 2139s # Vector 12: +:2nonsense 2139s # Vector 13: +:2nonsense: 2139s # Vector 14: +:2: 2139s # Vector 15: +:2:: 2139s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 2139s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 2139s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 2139s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 2139s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 2139s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 2139s # Vector 28: +:2:2020/01/01 2139s # Vector 29: +:2:2020/01/01: 2139s # Vector 30: +:2:2020/01/01:: 2139s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 2139s # Vector 32: +:2:2020/01/01:+* 2139s # Vector 33: +:2:2020/01/01:+*: 2139s # Vector 34: +:2:2020/01/01:+*:: 2139s # Vector 35: +:2:2020/01/01:+*:令和 2139s # Vector 36: +:2:2020/01/01:+*:令和: 2139s # Vector 37: +:2:2020/01/01:+*:令和:; 2139s ok 58 /GDateTime/eras/parsing 2139s # End of eras tests 2139s # End of GDateTime tests 2139s # Start of GTimeZone tests 2139s ok 59 /GTimeZone/find-interval 2139s ok 60 /GTimeZone/adjust-time 2139s ok 61 /GTimeZone/no-header 2139s ok 62 /GTimeZone/no-header-identifier 2139s ok 63 /GTimeZone/posix-parse 2139s # Bug Reference: http://bugzilla.gnome.org/697715 2139s ok 64 /GTimeZone/floating-point 2139s # System time zone identifier: Etc/UTC 2139s ok 65 /GTimeZone/identifier 2139s # Vector 0: -158400 2139s # Vector 1: -10000 2139s # Vector 2: -3600 2139s # Vector 3: -61 2139s # Vector 4: -60 2139s # Vector 5: -59 2139s # Vector 6: 0 2139s # Vector 7: 59 2139s # Vector 8: 60 2139s # Vector 9: 61 2139s # Vector 10: 3600 2139s # Vector 11: 10000 2139s # Vector 12: 158400 2139s ok 66 /GTimeZone/new-offset 2139s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 2139s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 2139s ok 67 /GTimeZone/parse-rfc8536 2139s # /GTimeZone/caching summary: GTimeZone instances are cached 2139s ok 68 /GTimeZone/caching 2139s # End of GTimeZone tests 2139s ok - glib/gdatetime.test 2139s # Running test: glib/autoptr-gio.test 2139s TAP version 14 2139s # random seed: R02S0f62114a98f37c3a3e95424e7828d5d4 2139s 1..1 2139s # Start of autoptr tests 2139s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2139s ok 1 /autoptr/autoptr 2139s # End of autoptr tests 2139s ok - glib/autoptr-gio.test 2139s # Running test: glib/markup-escape.test 2139s TAP version 14 2139s # random seed: R02S5c714bf5ded8b30d1b82b69cc1705341 2139s 1..41 2139s # Start of markup tests 2139s ok 1 /markup/format 2139s # Start of escape-text tests 2139s ok 2 /markup/escape-text/0 2139s ok 3 /markup/escape-text/1 2139s ok 4 /markup/escape-text/2 2139s ok 5 /markup/escape-text/3 2139s ok 6 /markup/escape-text/4 2139s ok 7 /markup/escape-text/5 2139s ok 8 /markup/escape-text/6 2139s ok 9 /markup/escape-text/7 2139s ok 10 /markup/escape-text/8 2139s ok 11 /markup/escape-text/9 2139s ok 12 /markup/escape-text/10 2139s ok 13 /markup/escape-text/11 2139s ok 14 /markup/escape-text/12 2139s ok 15 /markup/escape-text/13 2139s ok 16 /markup/escape-text/14 2139s ok 17 /markup/escape-text/15 2139s ok 18 /markup/escape-text/16 2139s ok 19 /markup/escape-text/17 2139s ok 20 /markup/escape-text/18 2139s ok 21 /markup/escape-text/19 2139s ok 22 /markup/escape-text/20 2139s ok 23 /markup/escape-text/21 2139s ok 24 /markup/escape-text/22 2139s # End of escape-text tests 2139s # Start of escape-unichar tests 2139s ok 25 /markup/escape-unichar/0 2139s ok 26 /markup/escape-unichar/1 2139s ok 27 /markup/escape-unichar/2 2139s ok 28 /markup/escape-unichar/3 2139s ok 29 /markup/escape-unichar/4 2139s ok 30 /markup/escape-unichar/5 2139s ok 31 /markup/escape-unichar/6 2139s ok 32 /markup/escape-unichar/7 2139s ok 33 /markup/escape-unichar/8 2139s ok 34 /markup/escape-unichar/9 2139s ok 35 /markup/escape-unichar/10 2139s ok 36 /markup/escape-unichar/11 2139s ok 37 /markup/escape-unichar/12 2139s ok 38 /markup/escape-unichar/13 2139s ok 39 /markup/escape-unichar/14 2139s ok 40 /markup/escape-unichar/15 2139s ok 41 /markup/escape-unichar/16 2139s # End of escape-unichar tests 2139s # End of markup tests 2139s ok - glib/markup-escape.test 2139s # Running test: glib/async-close-output-stream.test 2139s TAP version 14 2139s # random seed: R02S2fcbebedc914eff8ce9facde1188b06c 2139s 1..3 2139s # Start of close-async tests 2139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 2139s ok 1 /close-async/without-flush 2139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 2139s ok 2 /close-async/with-flush 2139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 2139s ok 3 /close-async/with-async-flush 2139s # End of close-async tests 2139s ok - glib/async-close-output-stream.test 2139s # Running test: glib/shell.test 2139s TAP version 14 2139s # random seed: R02S4583fb7365935ab6db42becc3e773d0a 2139s 1..51 2139s # Start of shell tests 2139s # Start of cmdline tests 2139s test cmdline: foo bar 2139s ok 1 /shell/cmdline/0 2139s test cmdline: foo 'bar' 2139s ok 2 /shell/cmdline/1 2139s test cmdline: foo "bar" 2139s ok 3 /shell/cmdline/2 2139s test cmdline: foo '' 'bar' 2139s ok 4 /shell/cmdline/3 2139s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 2139s ok 5 /shell/cmdline/4 2139s test cmdline: foo blah foo bar baz 2139s ok 6 /shell/cmdline/5 2139s test cmdline: foo ' spaces more spaces lots of spaces in this ' 2139s ok 7 /shell/cmdline/6 2139s test cmdline: foo \ 2139s bar 2139s ok 8 /shell/cmdline/7 2139s test cmdline: foo '' '' 2139s ok 9 /shell/cmdline/8 2139s test cmdline: foo \" la la la 2139s ok 10 /shell/cmdline/9 2139s test cmdline: foo \ foo woo woo\ 2139s ok 11 /shell/cmdline/10 2139s test cmdline: foo "yada yada \$\"" 2139s ok 12 /shell/cmdline/11 2139s test cmdline: foo "c:\\" 2139s ok 13 /shell/cmdline/12 2139s test cmdline: foo # bla bla bla 2139s bar 2139s ok 14 /shell/cmdline/13 2139s test cmdline: foo a#b 2139s ok 15 /shell/cmdline/14 2139s test cmdline: #foo 2139s ok 16 /shell/cmdline/15 2139s test cmdline: foo bar \ 2139s ok 17 /shell/cmdline/16 2139s test cmdline: foo 'bar baz 2139s ok 18 /shell/cmdline/17 2139s test cmdline: foo '"bar" baz 2139s ok 19 /shell/cmdline/18 2139s test cmdline: 2139s ok 20 /shell/cmdline/19 2139s test cmdline: 2139s ok 21 /shell/cmdline/20 2139s test cmdline: # foo bar 2139s ok 22 /shell/cmdline/21 2139s test cmdline: foo '/bar/summer'\''09 tours.pdf' 2139s ok 23 /shell/cmdline/22 2139s # End of cmdline tests 2139s # Start of quote tests 2139s ok 24 /shell/quote/0 2139s ok 25 /shell/quote/1 2139s ok 26 /shell/quote/2 2139s ok 27 /shell/quote/3 2139s ok 28 /shell/quote/4 2139s ok 29 /shell/quote/5 2139s ok 30 /shell/quote/6 2139s # End of quote tests 2139s # Start of unquote tests 2139s ok 31 /shell/unquote/0 2139s ok 32 /shell/unquote/1 2139s ok 33 /shell/unquote/2 2139s ok 34 /shell/unquote/3 2139s ok 35 /shell/unquote/4 2139s ok 36 /shell/unquote/5 2139s ok 37 /shell/unquote/6 2139s ok 38 /shell/unquote/7 2139s ok 39 /shell/unquote/8 2139s ok 40 /shell/unquote/9 2139s ok 41 /shell/unquote/10 2139s ok 42 /shell/unquote/11 2139s ok 43 /shell/unquote/12 2139s ok 44 /shell/unquote/13 2139s ok 45 /shell/unquote/14 2139s ok 46 /shell/unquote/15 2139s ok 47 /shell/unquote/16 2139s ok 48 /shell/unquote/17 2139s ok 49 /shell/unquote/18 2139s ok 50 /shell/unquote/19 2139s ok 51 /shell/unquote/20 2139s # End of unquote tests 2139s # End of shell tests 2139s ok - glib/shell.test 2139s # Running test: glib/hmac.test 2139s TAP version 14 2139s # random seed: R02Scd3c65a5b1d7b1da2b8063e869f33dac 2139s 1..37 2139s # Start of hmac tests 2139s ok 1 /hmac/sha1-1 2139s ok 2 /hmac/sha1-2 2139s ok 3 /hmac/sha1-3 2139s ok 4 /hmac/sha1-4 2139s ok 5 /hmac/sha1-5 2139s ok 6 /hmac/sha1-6 2139s ok 7 /hmac/sha1-7 2139s ok 8 /hmac/sha256-1 2139s ok 9 /hmac/sha256-2 2139s ok 10 /hmac/sha256-3 2139s ok 11 /hmac/sha256-4 2139s ok 12 /hmac/sha256-5 2139s ok 13 /hmac/sha256-6 2139s ok 14 /hmac/sha384-1 2139s ok 15 /hmac/sha384-2 2139s ok 16 /hmac/sha384-3 2139s ok 17 /hmac/sha384-4 2139s ok 18 /hmac/sha384-5 2139s ok 19 /hmac/sha384-6 2139s ok 20 /hmac/sha512-1 2139s ok 21 /hmac/sha512-2 2139s ok 22 /hmac/sha512-3 2139s ok 23 /hmac/sha512-4 2139s ok 24 /hmac/sha512-5 2139s ok 25 /hmac/sha512-6 2139s ok 26 /hmac/md5-1 2139s ok 27 /hmac/md5-2 2139s ok 28 /hmac/md5-3 2139s ok 29 /hmac/md5-4 2139s ok 30 /hmac/md5-5 2139s ok 31 /hmac/md5-6 2139s ok 32 /hmac/md5-7 2139s ok 33 /hmac/ref-unref 2139s ok 34 /hmac/copy 2139s ok 35 /hmac/for-data 2139s ok 36 /hmac/for-string 2139s ok 37 /hmac/for-bytes 2139s # End of hmac tests 2139s ok - glib/hmac.test 2139s # Running test: glib/param.test 2139s TAP version 14 2139s # random seed: R02S9a187bb4fc7e314b2f07e48aab55c115 2139s 1..32 2139s # Start of param tests 2139s ok 1 /param/value 2139s ok 2 /param/strings 2139s ok 3 /param/qdata 2139s ok 4 /param/validate 2139s ok 5 /param/convert 2139s ok 6 /param/implement # SKIP Skipping slow /param/implement test 2139s ok 7 /param/default 2139s ok 8 /param/is-valid-name 2139s # Start of invalid-name tests 2139s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 2139s ok 9 /param/invalid-name/colon 2139s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 2139s ok 10 /param/invalid-name/first-char 2139s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 2139s ok 11 /param/invalid-name/empty 2139s # End of invalid-name tests 2139s # Start of implement tests 2139s # Start of subprocess tests 2139s # End of subprocess tests 2139s # End of implement tests 2139s # End of param tests 2139s # Start of value tests 2139s ok 12 /value/transform 2139s # End of value tests 2139s # Start of paramspec tests 2139s ok 13 /paramspec/char 2139s ok 14 /paramspec/uchar 2139s ok 15 /paramspec/int 2139s ok 16 /paramspec/uint 2139s ok 17 /paramspec/long 2139s ok 18 /paramspec/ulong 2139s ok 19 /paramspec/int64 2139s ok 20 /paramspec/uint64 2139s ok 21 /paramspec/float 2139s ok 22 /paramspec/double 2139s ok 23 /paramspec/unichar 2139s ok 24 /paramspec/param 2139s ok 25 /paramspec/null-param 2139s ok 26 /paramspec/string 2139s ok 27 /paramspec/override 2139s ok 28 /paramspec/gtype 2139s ok 29 /paramspec/variant 2139s ok 30 /paramspec/custom 2139s ok 31 /paramspec/pool 2139s # Start of variant tests 2139s ok 32 /paramspec/variant/cmp 2139s # End of variant tests 2139s # End of paramspec tests 2139s ok - glib/param.test 2139s # Running test: glib/cxx-03.test 2139s TAP version 14 2139s # random seed: R02S576db9b96f7713fa05199af5fb2945d9 2139s 1..2 2139s # Start of gtask tests 2139s # 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. 2139s ok 1 /gtask/name 2139s # Start of name tests 2139s # 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. 2139s ok 2 /gtask/name/macro-wrapper 2139s # End of name tests 2139s # End of gtask tests 2139s ok - glib/cxx-03.test 2139s # Running test: glib/converter.test 2139s TAP version 14 2139s # random seed: R02S84a35b867297d8e735b7f211a6d22033 2139s 1..1 2139s # Start of converter tests 2139s ok 1 /converter/bytes 2139s # End of converter tests 2139s ok - glib/converter.test 2139s # Running test: glib/date.test 2139s TAP version 14 2139s # random seed: R02S26a33f299bcfe5d9310b5f15bd4e0d6c 2139s 1..121 2139s # Start of date tests 2139s ok 1 /date/basic 2139s ok 2 /date/empty 2139s ok 3 /date/dmy 2139s ok 4 /date/julian 2139s ok 5 /date/compare 2139s ok 6 /date/dates 2139s ok 7 /date/strftime 2139s ok 8 /date/two-digit-years 2139s ok 9 /date/parse 2139s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 2139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 2139s ok 11 /date/month_substring 2139s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 2139s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 2139s ok 13 /date/clamp 2139s ok 14 /date/order 2139s ok 15 /date/copy 2139s # Vector 0: 0000-00-00, invalid 2139s # Vector 1: 0001-01-01, valid 2139s # Vector 2: 0000-01-01, invalid 2139s # Vector 3: 2000-02-30, invalid 2139s # Vector 4: 2000-02-29, valid 2139s # Vector 5: 2001-02-29, invalid 2139s # Vector 6: 65535-01-01, valid 2139s ok 16 /date/valid-dmy 2139s # Start of parse tests 2139s # Test 0 2139s # Test 1 2139s ok 17 /date/parse/invalid 2139s # End of parse tests 2139s # Start of year tests 2139s ok 18 /date/year/1 2139s ok 19 /date/year/2 2139s ok 20 /date/year/3 2139s ok 21 /date/year/4 2139s ok 22 /date/year/5 2139s ok 23 /date/year/6 2139s ok 24 /date/year/7 2139s ok 25 /date/year/8 2139s ok 26 /date/year/9 2139s ok 27 /date/year/10 2139s ok 28 /date/year/11 2139s ok 29 /date/year/12 2139s ok 30 /date/year/13 2139s ok 31 /date/year/14 2139s ok 32 /date/year/98 2139s ok 33 /date/year/99 2139s ok 34 /date/year/100 2139s ok 35 /date/year/101 2139s ok 36 /date/year/102 2139s ok 37 /date/year/103 2139s ok 38 /date/year/397 2139s ok 39 /date/year/398 2139s ok 40 /date/year/399 2139s ok 41 /date/year/400 2139s ok 42 /date/year/401 2139s ok 43 /date/year/402 2139s ok 44 /date/year/403 2139s ok 45 /date/year/404 2139s ok 46 /date/year/405 2139s ok 47 /date/year/406 2139s ok 48 /date/year/1598 2139s ok 49 /date/year/1599 2139s ok 50 /date/year/1600 2139s ok 51 /date/year/1601 2139s ok 52 /date/year/1602 2139s ok 53 /date/year/1650 2139s ok 54 /date/year/1651 2139s ok 55 /date/year/1897 2139s ok 56 /date/year/1898 2139s ok 57 /date/year/1899 2139s ok 58 /date/year/1900 2139s ok 59 /date/year/1901 2139s ok 60 /date/year/1902 2139s ok 61 /date/year/1903 2139s ok 62 /date/year/1961 2139s ok 63 /date/year/1962 2139s ok 64 /date/year/1963 2139s ok 65 /date/year/1964 2139s ok 66 /date/year/1965 2139s ok 67 /date/year/1967 2139s ok 68 /date/year/1968 2139s ok 69 /date/year/1969 2139s ok 70 /date/year/1970 2139s ok 71 /date/year/1971 2139s ok 72 /date/year/1972 2139s ok 73 /date/year/1973 2139s ok 74 /date/year/1974 2139s ok 75 /date/year/1975 2139s ok 76 /date/year/1976 2139s ok 77 /date/year/1977 2139s ok 78 /date/year/1978 2139s ok 79 /date/year/1979 2139s ok 80 /date/year/1980 2139s ok 81 /date/year/1981 2139s ok 82 /date/year/1982 2139s ok 83 /date/year/1983 2139s ok 84 /date/year/1984 2139s ok 85 /date/year/1985 2139s ok 86 /date/year/1986 2139s ok 87 /date/year/1987 2139s ok 88 /date/year/1988 2139s ok 89 /date/year/1989 2139s ok 90 /date/year/1990 2139s ok 91 /date/year/1991 2139s ok 92 /date/year/1992 2139s ok 93 /date/year/1993 2139s ok 94 /date/year/1994 2139s ok 95 /date/year/1995 2139s ok 96 /date/year/1996 2139s ok 97 /date/year/1997 2139s ok 98 /date/year/1998 2139s ok 99 /date/year/1999 2139s ok 100 /date/year/2000 2139s ok 101 /date/year/2001 2139s ok 102 /date/year/2002 2139s ok 103 /date/year/2003 2139s ok 104 /date/year/2004 2139s ok 105 /date/year/2005 2139s ok 106 /date/year/2006 2139s ok 107 /date/year/2007 2139s ok 108 /date/year/2008 2139s ok 109 /date/year/2009 2139s ok 110 /date/year/2010 2139s ok 111 /date/year/2011 2139s ok 112 /date/year/2012 2139s ok 113 /date/year/3000 2139s ok 114 /date/year/3001 2139s ok 115 /date/year/3002 2139s ok 116 /date/year/3998 2139s ok 117 /date/year/3999 2139s ok 118 /date/year/4000 2139s ok 119 /date/year/4001 2139s ok 120 /date/year/4002 2139s ok 121 /date/year/4003 2139s # End of year tests 2139s # End of date tests 2139s ok - glib/date.test 2139s # Running test: glib/gdbus-server-auth.test 2139s TAP version 14 2139s # random seed: R02Sc7fa5c00be0e8474820c4e4faa7aa364 2139s 1..9 2139s # Start of gdbus tests 2139s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/home 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/cache 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/system-config2 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/config 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/system-data2 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/data 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/state 2139s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/.dirs/runtime 2139s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-ZUSNX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 2139s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-ZUSNX2/dbus-dWhNxUPA 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2139s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2139s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2139s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2139s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16046 2139s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2139s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16046 2140s ok 1 /gdbus/server-auth 2140s # Start of server-auth tests 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/abstract/.dirs/runtime 2140s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-OI8NX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 2140s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-OI8NX2/dbus-yMxaCfn6 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2140s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2140s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16046 2140s ok 2 /gdbus/server-auth/abstract 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/tcp/.dirs/runtime 2140s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 2140s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/.dirs/runtime 2140s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-KEBNX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 2140s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-KEBNX2/dbus-bJ9uXfuE 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16046 2140s ok 4 /gdbus/server-auth/anonymous 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/.dirs/runtime 2140s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-3HC8X2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2140s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-3HC8X2/dbus-IyrMhWX9 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16046 2140s ok 5 /gdbus/server-auth/external 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/.dirs/runtime 2140s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-K4T8X2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 2140s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2140s # Start of anonymous tests 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 2140s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 2140s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2140s # End of anonymous tests 2140s # Start of external tests 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 2140s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-PAR8X2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2140s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VISNX2/gdbus-server-auth-PAR8X2/dbus-x2LlYeOT 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16046 2140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2140s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2140s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2140s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16046,uid=1000,gid=1000 2140s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16046 2140s ok 8 /gdbus/server-auth/external/require-same-user 2140s # End of external tests 2140s # Start of sha1 tests 2140s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/home 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/cache 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/config 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/data 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/state 2140s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VISNX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 2140s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 2140s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2140s # End of sha1 tests 2140s # End of server-auth tests 2140s # End of gdbus tests 2140s ok - glib/gdbus-server-auth.test 2140s # Running test: glib/spawn-multithreaded.test 2140s TAP version 14 2140s # random seed: R02S0c5e5216021595bff7dc33008664a96e 2140s 1..4 2140s # Start of gthread tests 2140s # Executing: glib/spawn-multithreaded.test 2141s # Child 16058 (ttl 1) exited, status 0 2142s # Child 16059 (ttl 2) exited, status 0 2142s ok 1 /gthread/spawn-childs 2142s # slow test /gthread/spawn-childs executed in 2.00 secs 2142s # Created pid: 16063 (ttl 1) 2142s # Created pid: 16064 (ttl 2) 2143s # Child 16063 (ttl 1) exited, status 0 2144s # Child 16064 (ttl 2) exited, status 0 2144s ok 2 /gthread/spawn-childs-threads 2144s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 2144s ok 3 /gthread/spawn-sync 2144s ok 4 /gthread/spawn-async 2144s # End of gthread tests 2144s ok - glib/spawn-multithreaded.test 2144s # Running test: glib/gdbus-connection.test 2144s TAP version 14 2144s # random seed: R02S969dd920fd4e2f8f0676d371f2906366 2144s 1..9 2144s # Start of gdbus tests 2144s # Start of connection tests 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/bus-failure/.dirs/runtime 2144s ok 1 /gdbus/connection/bus-failure 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/basic/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 2 /gdbus/connection/basic 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/life-cycle/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 3 /gdbus/connection/life-cycle 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/send/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 4 /gdbus/connection/send 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signals/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 5 /gdbus/connection/signals 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/signal-match-rules/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 6 /gdbus/connection/signal-match-rules 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/filter/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 7 /gdbus/connection/filter 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/serials/.dirs/runtime 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 8 /gdbus/connection/serials 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_IH27X2/gdbus/connection/cancel/.dirs/runtime 2144s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok 9 /gdbus/connection/cancel 2144s # End of connection tests 2144s # End of gdbus tests 2144s ok - glib/gdbus-connection.test 2144s # Running test: glib/utf8-pointer.test 2144s TAP version 14 2144s # random seed: R02S96c9e0aec97cd96749ac8e2b116ff89f 2144s 1..3 2144s # Start of utf8 tests 2145s ok 1 /utf8/offsets 2145s # slow test /utf8/offsets executed in 0.95 secs 2145s ok 2 /utf8/lengths 2145s ok 3 /utf8/find 2145s # End of utf8 tests 2145s ok - glib/utf8-pointer.test 2145s # Running test: glib/gdbus-bz627724.test 2145s TAP version 14 2145s # random seed: R02Sf05432521341661f3be09a762aeaf7a1 2145s 1..1 2145s # Start of gdbus tests 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_7KU6X2/gdbus/bz627724/.dirs/runtime 2145s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2145s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2145s ok 1 /gdbus/bz627724 2145s # End of gdbus tests 2145s ok - glib/gdbus-bz627724.test 2145s # Running test: glib/enums.test 2145s TAP version 14 2145s # random seed: R02S5d3aa79608abd040c9ffac11b186bbcb 2145s 1..4 2145s # Start of enum tests 2145s ok 1 /enum/basic 2145s ok 2 /enum/define-type 2145s # End of enum tests 2145s # Start of flags tests 2145s ok 3 /flags/basic 2145s ok 4 /flags/define-type 2145s # End of flags tests 2145s ok - glib/enums.test 2145s # Running test: glib/gdbus-peer.test 2145s TAP version 14 2145s # random seed: R02S1f719c9678e08dfbae2f252ac3bf106a 2145s 1..12 2145s # Start of gdbus tests 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/.dirs/runtime 2145s # Testing with unix:dir address 2145s # Testing with unix:tmpdir address 2145s # Testing with unix:path address 2145s ok 1 /gdbus/peer-to-peer 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/delayed-message-processing/.dirs/runtime 2145s # Testing with unix:dir address 2145s ok 2 /gdbus/delayed-message-processing 2145s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/nonce-tcp/.dirs/runtime 2145s ok 3 /gdbus/nonce-tcp 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/tcp-anonymous/.dirs/runtime 2145s ok 4 /gdbus/tcp-anonymous 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/credentials/.dirs/runtime 2145s ok 5 /gdbus/credentials 2145s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/home 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/cache 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/system-config2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/config 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/system-data2 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/data 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/state 2145s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/codegen-peer-to-peer/.dirs/runtime 2145s # Testing with unix:dir address 2145s # Machine ID: 8d32cd41acd1467fb589b264074046a8 2145s # Executing: glib/gdbus-peer.test 2146s ok 6 /gdbus/codegen-peer-to-peer 2146s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 2146s # Start of peer-to-peer tests 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/signals/.dirs/runtime 2146s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 2146s # Testing with unix:dir address 2146s ok 7 /gdbus/peer-to-peer/signals 2146s # Start of invalid tests 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 2146s ok 8 /gdbus/peer-to-peer/invalid/server 2146s # Start of conn tests 2146s # Start of stream tests 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 2146s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 2146s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 2146s # End of stream tests 2146s # Start of addr tests 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 2146s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_D456X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 2146s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 2146s # End of addr tests 2146s # End of conn tests 2146s # End of invalid tests 2146s # End of peer-to-peer tests 2146s # End of gdbus tests 2146s ok - glib/gdbus-peer.test 2146s # Running test: glib/mount-operation.test 2146s TAP version 14 2146s # random seed: R02S46e7bba4d4bf3a20c87f455d9c09531f 2146s 1..2 2146s # Start of mount-operation tests 2146s ok 1 /mount-operation/construction 2146s ok 2 /mount-operation/properties 2146s # End of mount-operation tests 2146s ok - glib/mount-operation.test 2146s # Running test: glib/gnotification.test 2146s TAP version 14 2146s # random seed: R02Sde98b791883c43c19d401e9d2cf0f65c 2146s 1..2 2146s # Start of gnotification tests 2146s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2146s ok 1 /gnotification/basic 2146s ok 2 /gnotification/properties 2146s # End of gnotification tests 2146s ok - glib/gnotification.test 2146s # Running test: glib/gthash.test 2146s TAP version 14 2146s # random seed: R02S4fbac3b857cff1371038460702da57d2 2146s 1..1 2146s # Start of gthash tests 2146s ok 1 /gthash/build-retrieve 2146s # End of gthash tests 2146s ok - glib/gthash.test 2146s # Running test: glib/cache.test 2146s TAP version 14 2146s # random seed: R02S60fbd428f6c40f4c994636ab017cd5e0 2146s 1..1 2146s # Start of cache tests 2146s ok 1 /cache/basic 2146s # End of cache tests 2146s ok - glib/cache.test 2146s # Running test: glib/cxx-17.test 2146s TAP version 14 2146s # random seed: R02Sfea3f6c9d1911f8e62aed060d7f9087b 2146s 1..2 2146s # Start of gtask tests 2146s # 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. 2146s ok 1 /gtask/name 2146s # Start of name tests 2146s # 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. 2146s ok 2 /gtask/name/macro-wrapper 2146s # End of name tests 2146s # End of gtask tests 2146s ok - glib/cxx-17.test 2146s # Running test: glib/thread-pool.test 2146s TAP version 14 2146s # random seed: R02Sfd6977bcf357324e0a792ed192112fc8 2146s 1..5 2146s # Start of thread_pool tests 2146s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 2146s ok 1 /thread_pool/shared 2146s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 2146s ok 2 /thread_pool/exclusive 2146s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 2146s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 2146s ok 3 /thread_pool/create_shared_after_exclusive 2146s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 2146s ok 4 /thread_pool/create_full 2146s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 2146s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 2146s ok 5 /thread_pool/create_exclusive_after_shared 2146s # End of thread_pool tests 2146s ok - glib/thread-pool.test 2146s # Running test: glib/portal-support-flatpak-none.test 2146s TAP version 14 2146s # random seed: R02S614135c94dc526139b6869659296cf46 2146s 1..1 2146s # Start of portal-support tests 2146s # Start of flatpak tests 2146s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/home 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/cache 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/system-config2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/config 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/system-data2 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/data 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/state 2146s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/runtime 2146s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_0VUQX2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 2146s ok 1 /portal-support/flatpak/none 2146s # End of flatpak tests 2146s # End of portal-support tests 2146s ok - glib/portal-support-flatpak-none.test 2146s # Running test: glib/gdbus-threading.test 2146s TAP version 14 2146s # random seed: R02S1ee9f175142a4542dac8991b636ad95f 2146s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 2146s ok - glib/gdbus-threading.test 2146s # Running test: glib/gdbus-address-get-session.test 2146s TAP version 14 2146s # random seed: R02S4c81057565a891948f1cd9fe439072b6 2146s 1..2 2146s # Start of gdbus tests 2146s ok 1 /gdbus/x11-autolaunch 2146s ok 2 /gdbus/xdg-runtime 2146s # End of gdbus tests 2146s ok - glib/gdbus-address-get-session.test 2146s # Running test: glib/collate.test 2146s TAP version 14 2146s # random seed: R02S0ae74a502f1d7a1f92709dfc09b00c30 2146s 1..9 2146s # Start of unicode tests 2146s # Start of collate tests 2146s ok 1 /unicode/collate/0 2146s ok 2 /unicode/collate/1 2146s ok 3 /unicode/collate/2 2146s # End of collate tests 2146s # Start of collate-key tests 2146s ok 4 /unicode/collate-key/0 2146s ok 5 /unicode/collate-key/1 2146s ok 6 /unicode/collate-key/2 2146s # End of collate-key tests 2146s # Start of collate-filename tests 2146s ok 7 /unicode/collate-filename/0 2146s ok 8 /unicode/collate-filename/1 2146s ok 9 /unicode/collate-filename/2 2146s # End of collate-filename tests 2146s # End of unicode tests 2146s ok - glib/collate.test 2146s # Running test: glib/null-settings-backend.test 2146s TAP version 14 2146s # random seed: R02Sfb19c8541473ed54c7a1a847edf9412c 2146s 1..1 2146s # Start of null-settings-backend tests 2146s ok 1 /null-settings-backend/extension-point-registered 2146s # End of null-settings-backend tests 2146s ok - glib/null-settings-backend.test 2146s # Running test: glib/properties.test 2146s TAP version 14 2146s # random seed: R02S4693252ee0fd67f7e2ee9689422a8c9e 2146s 1..13 2146s # Start of properties tests 2146s ok 1 /properties/install 2146s ok 2 /properties/install-many 2146s ok 3 /properties/notify 2146s ok 4 /properties/notify-queue 2146s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 2146s ok 5 /properties/construct 2146s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 2146s # Test g_object_get_property with an initialized value 2146s # Test g_object_get_property with an uninitialized value 2146s # Test g_object_get_property with a transformable value 2146s ok 6 /properties/get-property 2146s ok 7 /properties/testv_with_no_properties 2146s ok 8 /properties/testv_with_valid_properties 2146s ok 9 /properties/testv_with_invalid_property_type 2146s ok 10 /properties/testv_with_invalid_property_names 2146s ok 11 /properties/testv_getv 2146s ok 12 /properties/testv_notify_queue 2146s # Start of set-property tests 2146s # Start of variant tests 2146s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 2146s ok 13 /properties/set-property/variant/floating 2146s # End of variant tests 2146s # End of set-property tests 2146s # End of properties tests 2146s ok - glib/properties.test 2146s # Running test: glib/queue.test 2146s TAP version 14 2146s # random seed: R02S340e5a416a5f7f7d3ad7a20a3cb0187e 2146s 1..12 2146s # Start of queue tests 2146s ok 1 /queue/basic 2146s ok 2 /queue/copy 2146s ok 3 /queue/off-by-one 2146s ok 4 /queue/find-custom 2146s ok 5 /queue/static 2146s ok 6 /queue/clear 2146s ok 7 /queue/free-full 2146s ok 8 /queue/clear-full 2146s ok 9 /queue/insert-sibling-link 2146s ok 10 /queue/push-nth-link 2146s # Start of clear-full tests 2146s ok 11 /queue/clear-full/noop 2146s # End of clear-full tests 2146s # Start of random tests 2147s ok 12 /queue/random/seed:380861878 2147s # End of random tests 2147s # End of queue tests 2147s ok - glib/queue.test 2147s # Running test: glib/hook.test 2147s TAP version 14 2147s # random seed: R02S0db0bbf6c6a894e99d924720bf116c3d 2147s 1..2 2147s # Start of hook tests 2147s ok 1 /hook/basics 2147s ok 2 /hook/corner-cases 2147s # End of hook tests 2147s ok - glib/hook.test 2147s # Running test: glib/slice.test 2147s TAP version 14 2147s # random seed: R02S209901240bf45a25bd37125d68278952 2147s 1..3 2147s # Start of slice tests 2147s ok 1 /slice/copy 2147s ok 2 /slice/chain 2147s ok 3 /slice/allocate 2147s # End of slice tests 2147s ok - glib/slice.test 2147s # Running test: glib/overflow.test 2147s TAP version 14 2147s # random seed: R02S9208dd3ad43838d4193979234f7d23f7 2147s 1..6 2147s # Start of glib tests 2147s # Start of checked-math tests 2147s ok 1 /glib/checked-math/guint-add 2147s ok 2 /glib/checked-math/guint-mul 2147s ok 3 /glib/checked-math/guint64-add 2147s ok 4 /glib/checked-math/guint64-mul 2147s ok 5 /glib/checked-math/gsize-add 2147s ok 6 /glib/checked-math/gsize-mul 2147s # End of checked-math tests 2147s # End of glib tests 2147s ok - glib/overflow.test 2147s # Running test: glib/proxy-test.test 2147s TAP version 14 2147s # random seed: R02S55722f17b2e7f9c3ac0020a1f230e69b 2147s 1..11 2147s # Start of proxy tests 2147s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 2147s ok 1 /proxy/direct_sync 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5724072069c0 and GSocketClientAsyncConnectData 0x5724071fc260 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5724072073d0 for GSocketClientAsyncConnectData 0x5724071fc260 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s ok 2 /proxy/direct_async 2147s ok 3 /proxy/single_sync 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407208cd0 and GSocketClientAsyncConnectData 0x572407207e20 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x572407209830 for GSocketClientAsyncConnectData 0x572407207e20 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s ok 4 /proxy/single_async 2147s ok 5 /proxy/multiple_sync 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407209560 and GSocketClientAsyncConnectData 0x572407209330 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x572407209eb0 for GSocketClientAsyncConnectData 0x572407209330 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5724072098c0 for GSocketClientAsyncConnectData 0x572407209330 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s ok 6 /proxy/multiple_async 2147s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 2147s ok 7 /proxy/invalid-uris-sync 2147s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407209c40 and GSocketClientAsyncConnectData 0x572407209140 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 2147s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407208cd0 and GSocketClientAsyncConnectData 0x572407209140 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 2147s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407208cd0 and GSocketClientAsyncConnectData 0x572407209140 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x572407207930 for GSocketClientAsyncConnectData 0x572407209140 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407209560 and GSocketClientAsyncConnectData 0x572407209620 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x572407207be0 for GSocketClientAsyncConnectData 0x572407209620 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s ok 8 /proxy/invalid-uris-async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407208cd0 and GSocketClientAsyncConnectData 0x5724072092b0 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 2147s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 2147s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5724072092b0 and GSocketClientAsyncConnectData 0x572407209620 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x57240720a5e0 for GSocketClientAsyncConnectData 0x572407209620 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 2147s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407208cd0 and GSocketClientAsyncConnectData 0x572407209140 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x572407209310 for GSocketClientAsyncConnectData 0x572407209140 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s ok 9 /proxy/dns 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x572407207810 and GSocketClientAsyncConnectData 0x572407209900 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x57240720a5e0 for GSocketClientAsyncConnectData 0x572407209900 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 2147s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5724072089e0 and GSocketClientAsyncConnectData 0x572407208c10 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x572407207be0 for GSocketClientAsyncConnectData 0x572407208c10 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2147s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2147s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5724072092b0 and GSocketClientAsyncConnectData 0x572407209900 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2147s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x57240720a600 for GSocketClientAsyncConnectData 0x572407209900 2147s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2147s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2147s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2147s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2147s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 2147s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 2147s ok 10 /proxy/override 2147s ok 11 /proxy/enumerator-ports 2147s # End of proxy tests 2147s ok - glib/proxy-test.test 2147s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=155.4s; system=99.1s; maxrss=152564 2147s autopkgtest [02:03:33]: test installed-tests: -----------------------] 2149s installed-tests PASS 2149s autopkgtest [02:03:35]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 2149s autopkgtest [02:03:35]: test closure-refcount: preparing testbed 2150s Reading package lists... 2150s Building dependency tree... 2150s Reading state information... 2150s Starting pkgProblemResolver with broken count: 0 2150s Starting 2 pkgProblemResolver with broken count: 0 2150s Done 2151s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2152s autopkgtest [02:03:38]: test closure-refcount: [----------------------- 2152s Running test: glib/closure-refcount.test 2152s TAP version 14 2152s # random seed: R02S02469123c12bcec8f2b6a60483a2452f 2152s 1..1 2152s # Start of closure tests 2152s # Init 0x5e585d8c80a0 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from thread1 2152s # Yielding from main thread 2152s # Yielding from thread2 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from thread2 2152s # Yielding from main thread 2152s # Yielding from thread1 2152s # Yielding from main thread 2152s # Yielding from thread2 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from thread2 2152s # Yielding from thread1 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from thread2 2152s # Yielding from main thread 2152s # Yielding from main thread 2152s # Yielding from thread1 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from thread2 2153s # Yielding from main thread 2153s # Yielding from thread1 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from thread1 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from thread2 2153s # Yielding from thread1 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from thread2 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from thread2 2153s # Yielding from thread1 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from thread2 2153s # Yielding from main thread 2153s # Yielding from thread1 2153s # Yielding from main thread 2153s # Yielding from main thread 2153s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from thread2 2154s # Yielding from main thread 2154s # Yielding from thread1 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from thread2 2154s # Yielding from thread1 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from thread2 2154s # Yielding from main thread 2154s # Yielding from thread1 2154s # Yielding from main thread 2154s # Yielding from thread2 2154s # Yielding from main thread 2154s # Yielding from thread1 2154s # Yielding from main thread 2154s # Yielding from thread2 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from thread1 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from main thread 2154s # Yielding from thread2 2154s # Yielding from main thread 2154s # Yielding from main thread 2155s # Yielding from thread1 2155s # Yielding from main thread 2155s # Yielding from thread2 2155s # Yielding from thread1 2155s # Yielding from main thread 2155s # Yielding from main thread 2155s # Yielding from thread2 2155s # Yielding from main thread 2155s # Yielding from main thread 2155s # Yielding from thread1 2155s # Yielding from main thread 2155s # Yielding from main thread 2155s # Yielding from thread1 2155s # Yielding from thread2 2155s # Yielding from main thread 2155s # Yielding from main thread 2155s # Yielding from thread2 2155s # Yielding from main thread 2155s # Yielding from thread1 2155s # Yielding from thread2 2155s # Yielding from main thread 2155s # Yielding from main thread 2155s # Yielding from main thread 2155s # Yielding from thread1 2155s # Yielding from main thread 2155s # Yielding from thread2 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread2 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread1 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread2 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread1 2156s # Yielding from main thread 2156s # Yielding from thread2 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread1 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread2 2156s # Yielding from main thread 2156s # Yielding from thread1 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from thread1 2156s # Yielding from thread2 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s # Yielding from main thread 2156s Executing: glib/closure-refcount.test 2156s # Yielding from thread1 2157s # Yielding from thread2 2157s # Yielding from main thread 2157s # Yielding from main thread 2157s # Yielding from thread2 2157s # Yielding from thread1 2157s # Yielding from main thread 2157s # Yielding from thread1 2157s # Stopping 2157s # Stopped 2157s ok 1 /closure/refcount 2157s # slow test /closure/refcount executed in 5.14 secs 2157s # End of closure tests 2157s PASS: glib/closure-refcount.test 2157s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.2s; system=0.0s; maxrss=3792 2157s autopkgtest [02:03:43]: test closure-refcount: -----------------------] 2158s closure-refcount PASS 2158s autopkgtest [02:03:44]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 2158s autopkgtest [02:03:44]: test debugcontroller: preparing testbed 2158s Reading package lists... 2158s Building dependency tree... 2158s Reading state information... 2159s Starting pkgProblemResolver with broken count: 0 2159s Starting 2 pkgProblemResolver with broken count: 0 2159s Done 2159s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2160s autopkgtest [02:03:46]: test debugcontroller: [----------------------- 2160s Running test: glib/debugcontroller.test 2160s TAP version 14 2160s # random seed: R02S88911d2acfa7e9a2753978d383f9d61f 2160s 1..3 2160s # Start of debug-controller tests 2160s # Start of dbus tests 2160s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 2160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2160s # GLib-GIO-DEBUG: Debug output enabled 2160s # GLib-GIO-DEBUG: Debug output disabled 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s ok 1 /debug-controller/dbus/basic 2160s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s ok 2 /debug-controller/dbus/duplicate 2160s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2160s # GLib-GIO-DEBUG: Debug output enabled 2160s # GLib-GIO-DEBUG: Debug output disabled 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2160s ok 3 /debug-controller/dbus/properties 2160s # End of dbus tests 2160s # End of debug-controller tests 2160s PASS: glib/debugcontroller.test 2160s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6708 2160s autopkgtest [02:03:46]: test debugcontroller: -----------------------] 2161s debugcontroller PASS 2161s autopkgtest [02:03:47]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 2161s autopkgtest [02:03:47]: test gdbus-server-auth: preparing testbed 2161s Reading package lists... 2162s Building dependency tree... 2162s Reading state information... 2162s Starting pkgProblemResolver with broken count: 0 2162s Starting 2 pkgProblemResolver with broken count: 0 2162s Done 2162s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2163s autopkgtest [02:03:49]: test gdbus-server-auth: [----------------------- 2163s Running test: glib/gdbus-server-auth.test 2163s TAP version 14 2163s # random seed: R02S6619e6b9beadc524b393b2c584baad4d 2163s 1..9 2163s # Start of gdbus tests 2163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/home 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/cache 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/system-config2 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/config 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/system-data2 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/data 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/state 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/.dirs/runtime 2163s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-FHHSX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 2163s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-FHHSX2/dbus-dqLMoeWJ 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16751 2163s ok 1 /gdbus/server-auth 2163s # Start of server-auth tests 2163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/home 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/cache 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/system-config2 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/config 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/system-data2 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/data 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/state 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/abstract/.dirs/runtime 2163s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-8WERX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 2163s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-8WERX2/dbus-i1jnDvr4 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16751 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2163s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16751 2163s ok 2 /gdbus/server-auth/abstract 2163s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/home 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/cache 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/system-config2 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/config 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/system-data2 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/data 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/state 2163s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/tcp/.dirs/runtime 2163s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 2163s # Connectable address: tcp:host=127.0.0.1,port=36211 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2163s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2163s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2163s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2163s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2163s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2163s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2164s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2164s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2164s ok 3 /gdbus/server-auth/tcp 2164s # slow test /gdbus/server-auth/tcp executed in 0.85 secs 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/.dirs/runtime 2164s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-TKCUX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 2164s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-TKCUX2/dbus-vVK77uvh 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16751 2164s ok 4 /gdbus/server-auth/anonymous 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/.dirs/runtime 2164s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-6DSUX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2164s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-6DSUX2/dbus-DevSP1tm 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2164s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16751 2164s ok 5 /gdbus/server-auth/external 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/.dirs/runtime 2164s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-88PTX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 2164s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-88PTX2/dbus-HML1fEhS 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16751 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2164s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16751 2164s ok 6 /gdbus/server-auth/sha1 2164s # Start of anonymous tests 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 2164s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 2164s # Connectable address: tcp:host=127.0.0.1,port=33701 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2164s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2164s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2164s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2164s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2164s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2165s ok 7 /gdbus/server-auth/anonymous/tcp 2165s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 2165s # End of anonymous tests 2165s # Start of external tests 2165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/home 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/cache 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/config 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/data 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/state 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 2165s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-JHFWX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2165s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_YXGSX2/gdbus-server-auth-JHFWX2/dbus-N7c97pJF 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16751 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2165s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16751,uid=1000,gid=1000 2165s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16751 2165s ok 8 /gdbus/server-auth/external/require-same-user 2165s # End of external tests 2165s # Start of sha1 tests 2165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/home 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/cache 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/config 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/data 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/state 2165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_YXGSX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 2165s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 2165s # Connectable address: tcp:host=127.0.0.1,port=37845 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2165s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2165s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2165s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2165s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2165s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2166s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2166s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2166s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2166s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2166s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2166s ok 9 /gdbus/server-auth/sha1/tcp 2166s # slow test /gdbus/server-auth/sha1/tcp executed in 0.86 secs 2166s # End of sha1 tests 2166s # End of server-auth tests 2166s # End of gdbus tests 2166s PASS: glib/gdbus-server-auth.test 2166s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8604 2166s autopkgtest [02:03:52]: test gdbus-server-auth: -----------------------] 2167s gdbus-server-auth PASS 2167s autopkgtest [02:03:53]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 2167s autopkgtest [02:03:53]: test gdbus-threading: preparing testbed 2167s Reading package lists... 2168s Building dependency tree... 2168s Reading state information... 2168s Starting pkgProblemResolver with broken count: 0 2168s Starting 2 pkgProblemResolver with broken count: 0 2168s Done 2168s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2169s autopkgtest [02:03:55]: test gdbus-threading: [----------------------- 2169s Running test: glib/gdbus-threading.test 2169s TAP version 14 2169s # random seed: R02Sfc9f2cc14abf56e20a46db46d327032d 2169s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2169s 1..3 2169s # Start of gdbus tests 2169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/home 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/cache 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/system-config2 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/config 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/system-data2 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/data 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/state 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_ZNKWX2/gdbus/delivery-in-thread/.dirs/runtime 2169s ok 1 /gdbus/delivery-in-thread 2169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/home 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/cache 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/system-config2 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/config 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/system-data2 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/data 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/state 2169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_ZNKWX2/gdbus/method-calls-in-thread/.dirs/runtime 2170s ok 2 /gdbus/method-calls-in-thread 2170s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 2170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/home 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/cache 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/system-config2 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/config 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/system-data2 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/data 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/state 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_ZNKWX2/gdbus/threaded-singleton/.dirs/runtime 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: refcount of 0x7cac1c002600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2170s # GLib-GIO-DEBUG: refcount of 0x7cac1c002600 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: refcount of 0x7cac1c006500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2170s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2170s # GLib-GIO-DEBUG: refcount of 0x7cac1c006500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c004030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c004030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c004030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c0079c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c0079c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c007b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c002720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c005900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c003a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c003a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c001ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c001ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c006410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c006a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c006e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c006a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2171s # GLib-GIO-DEBUG: refcount of 0x7cac1c006ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0075c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0075c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0035a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0035a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0035a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c005900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c002680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c006290 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c007ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0024d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0024d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0024d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c0071b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c007190 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c006290 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c006290 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c002060 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2172s # GLib-GIO-DEBUG: refcount of 0x7cac1c005900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: refcount of 0x7cac1c0018d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: refcount of 0x7cac1c004a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2173s ok 3 /gdbus/threaded-singleton 2173s # slow test /gdbus/threaded-singleton executed in 2.74 secs 2173s # End of gdbus tests 2173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2173s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2173s PASS: glib/gdbus-threading.test 2173s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=6500 2173s autopkgtest [02:03:59]: test gdbus-threading: -----------------------] 2173s gdbus-threading PASS 2173s autopkgtest [02:03:59]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 2174s autopkgtest [02:04:00]: test gmenumodel: preparing testbed 2174s Reading package lists... 2174s Building dependency tree... 2174s Reading state information... 2175s Starting pkgProblemResolver with broken count: 0 2175s Starting 2 pkgProblemResolver with broken count: 0 2175s Done 2175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2176s autopkgtest [02:04:02]: test gmenumodel: [----------------------- 2176s Running test: glib/gmenumodel.test 2176s TAP version 14 2176s # random seed: R02Sbdfb15970fbc1cf0463531047b929779 2176s 1..15 2176s # Start of gmenu tests 2176s ok 1 /gmenu/equality 2177s ok 2 /gmenu/random 2177s ok 3 /gmenu/attributes 2177s ok 4 /gmenu/links 2177s ok 5 /gmenu/mutable 2177s ok 6 /gmenu/convenience 2177s ok 7 /gmenu/menuitem 2177s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2177s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2177s ok 8 /gmenu/input-validation 2177s # Start of dbus tests 2177s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2178s ok 9 /gmenu/dbus/roundtrip 2178s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 2178s ok 10 /gmenu/dbus/subscriptions 2179s ok 11 /gmenu/dbus/threaded 2179s # slow test /gmenu/dbus/threaded executed in 0.88 secs 2179s # Start of peer tests 2180s ok 12 /gmenu/dbus/peer/roundtrip 2180s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 2181s ok 13 /gmenu/dbus/peer/subscriptions 2181s # End of peer tests 2181s # Start of export tests 2181s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 2181s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2181s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2181s ok 14 /gmenu/dbus/export/error-handling 2181s # End of export tests 2181s # End of dbus tests 2181s # Start of attributes tests 2181s ok 15 /gmenu/attributes/iterate 2181s # End of attributes tests 2181s # End of gmenu tests 2181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2181s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2181s PASS: glib/gmenumodel.test 2181s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.2s; system=0.3s; maxrss=17596 2181s autopkgtest [02:04:07]: test gmenumodel: -----------------------] 2182s autopkgtest [02:04:08]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 2182s gmenumodel PASS 2182s autopkgtest [02:04:08]: test mainloop: preparing testbed 2182s Reading package lists... 2182s Building dependency tree... 2182s Reading state information... 2183s Starting pkgProblemResolver with broken count: 0 2183s Starting 2 pkgProblemResolver with broken count: 0 2183s Done 2183s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2184s autopkgtest [02:04:10]: test mainloop: [----------------------- 2184s Running test: glib/mainloop.test 2184s TAP version 14 2184s # random seed: R02S1d70d33787b51676666c01c5376bda46 2184s 1..45 2184s # Start of maincontext tests 2184s ok 1 /maincontext/basic 2184s # Add same-priority sources: 15 2184s # Find each source: 1 2184s # Remove in random order: 15 2184s ok 2 /maincontext/nsources_same_priority 2184s # Add different-priority sources: 12 2184s # Find each source: 1 2184s # Remove in random order: 20 2184s ok 3 /maincontext/nsources_different_priority 2184s # Add sources from threads: 174 2184s # Remove sources from threads: 124 2184s ok 4 /maincontext/nsources_threadpool 2184s ok 5 /maincontext/source_finalization 2184s # /maincontext/idle-once summary: Test g_idle_add_once() works 2184s ok 6 /maincontext/idle-once 2184s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2184s ok 7 /maincontext/timeout-once 2184s # Start of source_finalization_from_source tests 2184s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 8 /maincontext/source_finalization_from_source/0 2184s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 9 /maincontext/source_finalization_from_source/1 2184s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 10 /maincontext/source_finalization_from_source/2 2184s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 11 /maincontext/source_finalization_from_source/3 2184s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 12 /maincontext/source_finalization_from_source/4 2184s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 13 /maincontext/source_finalization_from_source/5 2184s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 14 /maincontext/source_finalization_from_source/6 2184s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 15 /maincontext/source_finalization_from_source/7 2184s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 16 /maincontext/source_finalization_from_source/8 2184s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2184s ok 17 /maincontext/source_finalization_from_source/9 2184s # End of source_finalization_from_source tests 2184s # Start of source_finalization_from_dispatch tests 2184s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2184s ok 18 /maincontext/source_finalization_from_dispatch/0 2184s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2184s ok 19 /maincontext/source_finalization_from_dispatch/1 2184s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2184s ok 20 /maincontext/source_finalization_from_dispatch/2 2184s # End of source_finalization_from_dispatch tests 2184s # End of maincontext tests 2184s # Start of mainloop tests 2184s ok 21 /mainloop/basic 2184s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2184s ok 23 /mainloop/priorities 2185s ok 24 /mainloop/invoke 2185s # slow test /mainloop/invoke executed in 0.50 secs 2186s ok 25 /mainloop/child_sources 2186s # slow test /mainloop/child_sources executed in 1.19 secs 2188s ok 26 /mainloop/recursive_child_sources 2188s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 2188s ok 27 /mainloop/recursive_loop_child_sources 2188s ok 28 /mainloop/swapping_child_sources 2188s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2188s ok 29 /mainloop/blocked_child_sources 2189s ok 30 /mainloop/source_time 2189s # slow test /mainloop/source_time executed in 1.00 secs 2189s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2189s ok 31 /mainloop/overflow 2189s Executing: glib/mainloop.test 2190s ok 32 /mainloop/ready-time 2190s # slow test /mainloop/ready-time executed in 0.50 secs 2190s ok 33 /mainloop/wakeup 2190s ok 34 /mainloop/remove-invalid 2190s ok 35 /mainloop/unref-while-pending 2190s ok 36 /mainloop/unix-fd 2190s # slow test /mainloop/unix-fd executed in 0.77 secs 2190s ok 37 /mainloop/unix-fd-source 2190s ok 38 /mainloop/source-unix-fd-api 2191s ok 39 /mainloop/wait 2191s ok 40 /mainloop/unix-file-poll 2191s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2191s ok 41 /mainloop/unix-fd-priority 2191s ok 42 /mainloop/nfds 2191s ok 43 /mainloop/steal-fd 2191s # Start of ownerless-polling tests 2191s ok 44 /mainloop/ownerless-polling/attach-first 2191s ok 45 /mainloop/ownerless-polling/pop-first 2191s # End of ownerless-polling tests 2191s # End of mainloop tests 2191s PASS: glib/mainloop.test 2191s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=1.1s; maxrss=15700 2191s autopkgtest [02:04:17]: test mainloop: -----------------------] 2191s autopkgtest [02:04:17]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2191s mainloop PASS 2192s autopkgtest [02:04:18]: test memory-monitor-dbus: preparing testbed 2192s Reading package lists... 2192s Building dependency tree... 2192s Reading state information... 2193s Starting pkgProblemResolver with broken count: 0 2193s Starting 2 pkgProblemResolver with broken count: 0 2193s Done 2193s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2194s autopkgtest [02:04:20]: test memory-monitor-dbus: [----------------------- 2195s Running test: glib/memory-monitor-dbus.test 2195s autopkgtest [02:04:21]: test memory-monitor-dbus: -----------------------] 2195s TAP version 13 2195s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2195s # Received memory warning signal, level 2195s # Received memory warning signal, level 2195s # Received memory warning signal, level 2195s 1..1 2195s PASS: glib/memory-monitor-dbus.test 2195s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30288 2195s autopkgtest [02:04:21]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2195s memory-monitor-dbus PASS 2196s autopkgtest [02:04:22]: test socket: preparing testbed 2196s Reading package lists... 2196s Building dependency tree... 2196s Reading state information... 2196s Starting pkgProblemResolver with broken count: 0 2196s Starting 2 pkgProblemResolver with broken count: 0 2196s Done 2197s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2198s autopkgtest [02:04:24]: test socket: [----------------------- 2198s Running test: glib/socket.test 2198s TAP version 14 2198s # random seed: R02S59940a60cf545b395528c58b6aba3edb 2198s 1..28 2198s # Start of socket tests 2199s ok 1 /socket/ipv4_sync 2199s # slow test /socket/ipv4_sync executed in 1.00 secs 2200s ok 2 /socket/ipv4_async 2200s # slow test /socket/ipv4_async executed in 1.00 secs 2200s ok 3 /socket/ipv6_sync 2200s ok 4 /socket/ipv6_async 2200s ok 5 /socket/ipv6_v4mapped 2201s ok 6 /socket/close_graceful 2201s # slow test /socket/close_graceful executed in 1.00 secs 2201s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2201s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2201s ok 8 /socket/fd_reuse 2201s ok 9 /socket/address 2201s ok 10 /socket/unix-from-fd 2201s ok 11 /socket/unix-connection 2201s ok 12 /socket/unix-connection-ancillary-data 2201s ok 13 /socket/source-postmortem 2201s ok 14 /socket/read_write 2201s ok 15 /socket/read_writev 2201s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2201s ok 16 /socket/receive_bytes 2201s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2201s ok 17 /socket/receive_bytes_from 2201s # Start of ipv4_sync tests 2201s ok 18 /socket/ipv4_sync/datagram 2201s # Start of datagram tests 2202s ok 19 /socket/ipv4_sync/datagram/timeouts 2202s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2202s # End of datagram tests 2202s # End of ipv4_sync tests 2202s # Start of ipv6_sync tests 2202s ok 20 /socket/ipv6_sync/datagram 2202s # Start of datagram tests 2203s ok 21 /socket/ipv6_sync/datagram/timeouts 2203s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2203s # End of datagram tests 2203s # End of ipv6_sync tests 2203s # Start of reuse tests 2203s ok 22 /socket/reuse/tcp 2203s ok 23 /socket/reuse/udp 2203s # End of reuse tests 2203s # Start of get_available tests 2203s ok 24 /socket/get_available/datagram 2203s ok 25 /socket/get_available/stream 2203s # End of get_available tests 2203s # Start of credentials tests 2203s # Supported on this OS: GCredentials:linux-ucred:pid=0 2203s ok 26 /socket/credentials/tcp_client 2203s # Supported on this OS: GCredentials:linux-ucred:pid=0 2203s ok 27 /socket/credentials/tcp_server 2203s # Supported on this OS: GCredentials:linux-ucred:pid=18593,uid=1000,gid=1000 2203s ok 28 /socket/credentials/unix_socketpair 2203s # End of credentials tests 2203s # End of socket tests 2203s PASS: glib/socket.test 2203s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5728 2203s autopkgtest [02:04:29]: test socket: -----------------------] 2204s autopkgtest [02:04:30]: test socket: - - - - - - - - - - results - - - - - - - - - - 2204s socket PASS 2204s autopkgtest [02:04:30]: test testfilemonitor: preparing testbed 2204s Reading package lists... 2205s Building dependency tree... 2205s Reading state information... 2205s Starting pkgProblemResolver with broken count: 0 2205s Starting 2 pkgProblemResolver with broken count: 0 2205s Done 2205s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2206s autopkgtest [02:04:32]: test testfilemonitor: [----------------------- 2206s Running test: glib/testfilemonitor.test 2206s TAP version 14 2206s # random seed: R02S48ebd05fafd3c6eea611cb7c89d0e008 2206s 1..8 2206s # Start of monitor tests 2206s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2206s # Using temporary directory: /tmp/gio-test-testfilemonitor_1EXRX2 2206s # Using GFileMonitor GInotifyFileMonitor 2208s ok 1 /monitor/atomic-replace 2208s # slow test /monitor/atomic-replace executed in 2.00 secs 2208s # Using temporary directory: /tmp/gio-test-testfilemonitor_4VTRX2 2208s # Using GFileMonitor GInotifyFileMonitor 2211s ok 2 /monitor/file-changes 2211s # slow test /monitor/file-changes executed in 2.50 secs 2211s # Using temporary directory: /tmp/gio-test-testfilemonitor_CLF2X2 2211s # Using GFileMonitor GInotifyFileMonitor 2211s Executing: glib/testfilemonitor.test 2214s ok 3 /monitor/dir-monitor 2214s # slow test /monitor/dir-monitor executed in 3.50 secs 2214s # Using temporary directory: /tmp/gio-test-testfilemonitor_UMNRX2 2214s # Using GFileMonitor GInotifyFileMonitor 2216s Executing: glib/testfilemonitor.test 2221s Executing: glib/testfilemonitor.test 2226s Executing: glib/testfilemonitor.test 2231s Executing: glib/testfilemonitor.test 2236s Executing: glib/testfilemonitor.test 2239s ok 4 /monitor/dir-not-existent 2239s # slow test /monitor/dir-not-existent executed in 25.02 secs 2239s # Using temporary directory: /tmp/gio-test-testfilemonitor_SC6QX2 2239s # Using GFileMonitor 0 GInotifyFileMonitor 2239s # Using GFileMonitor 1 GInotifyFileMonitor 2241s ok 5 /monitor/cross-dir-moves 2241s # slow test /monitor/cross-dir-moves executed in 2.00 secs 2241s # Using temporary directory: /tmp/gio-test-testfilemonitor_R91QX2 2241s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2241s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2241s ok 6 /monitor/finalize-in-callback 2241s # Using temporary directory: /tmp/gio-test-testfilemonitor_L7ZQX2 2241s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2241s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2241s ok 7 /monitor/root 2241s # Start of file tests 2241s # Using temporary directory: /tmp/gio-test-testfilemonitor_0D0QX2 2241s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2241s # Running with hard link tests 2241s # Using GFileMonitor GInotifyFileMonitor 2241s Executing: glib/testfilemonitor.test 2245s # Event 0 at expected index 7 skipped because it is marked as optional 2245s # Event 2 at expected index 11 skipped because it is marked as optional 2245s ok 8 /monitor/file/hard-links 2245s # slow test /monitor/file/hard-links executed in 3.50 secs 2245s # End of file tests 2245s # End of monitor tests 2245s PASS: glib/testfilemonitor.test 2245s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5840 2245s autopkgtest [02:05:11]: test testfilemonitor: -----------------------] 2246s testfilemonitor PASS 2246s autopkgtest [02:05:12]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2246s autopkgtest [02:05:12]: test thread-pool-slow: preparing testbed 2246s Reading package lists... 2247s Building dependency tree... 2247s Reading state information... 2247s Starting pkgProblemResolver with broken count: 0 2247s Starting 2 pkgProblemResolver with broken count: 0 2247s Done 2247s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2248s autopkgtest [02:05:14]: test thread-pool-slow: [----------------------- 2248s Running test: glib/thread-pool-slow.test 2248s TAP version 14 2248s # random seed: R02S9de7d13aa4c56b48e656c42ae79a85a8 2248s 1..7 2248s # Start of threadpool tests 2248s ok 1 /threadpool/functions 2249s ok 2 /threadpool/stop-unused 2249s # slow test /threadpool/stop-unused executed in 0.51 secs 2249s ok 3 /threadpool/pools 2249s # [unsorted] ===> pushed new thread with id:36, number of threads:1, unprocessed:0 2249s # [unsorted] ===> pushed new thread with id:61, number of threads:2, unprocessed:0 2249s # [unsorted] ===> pushed new thread with id:5, number of threads:3, unprocessed:1 2249s # [unsorted] ===> pushed new thread with id:30, number of threads:4, unprocessed:2 2249s # [unsorted] ===> pushed new thread with id:29, number of threads:5, unprocessed:3 2249s # [unsorted] ===> pushed new thread with id:2, number of threads:6, unprocessed:4 2249s # [unsorted] ===> pushed new thread with id:28, number of threads:7, unprocessed:5 2249s # [unsorted] ===> pushed new thread with id:6, number of threads:8, unprocessed:6 2249s # [unsorted] ===> pushed new thread with id:61, number of threads:9, unprocessed:7 2249s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:8 2249s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:8 2249s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:9 2249s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:10 2249s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:11 2249s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:12 2249s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:13 2249s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:14 2249s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:15 2249s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:16 2249s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:17 2249s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:18 2249s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:19 2249s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:20 2249s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:21 2249s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:22 2249s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:23 2249s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:24 2249s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:25 2249s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:26 2249s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:27 2249s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:28 2249s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:29 2249s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:30 2249s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:31 2249s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:32 2249s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:33 2249s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:34 2249s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:35 2249s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:36 2249s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:37 2249s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:38 2249s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:39 2249s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:40 2249s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:41 2249s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:42 2249s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:43 2249s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:44 2249s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:45 2249s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:46 2249s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:47 2249s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:48 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:49 2249s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:50 2249s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:51 2249s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:52 2249s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:53 2249s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:54 2249s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:55 2249s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:56 2249s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:57 2249s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:58 2249s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:59 2249s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:60 2249s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:61 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:62 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:63 2249s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:64 2249s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:65 2249s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:66 2249s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:67 2249s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:68 2249s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:69 2249s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:70 2249s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:71 2249s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:72 2249s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:73 2249s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:74 2249s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:75 2249s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:76 2249s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:77 2249s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:78 2249s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:79 2249s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:80 2249s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:81 2249s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:82 2249s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:83 2249s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:84 2249s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:85 2249s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:86 2249s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:87 2249s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:88 2249s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:89 2249s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:90 2249s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:91 2249s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:92 2249s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:93 2249s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:94 2249s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:95 2249s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:96 2249s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:97 2249s ok 4 /threadpool/no-sort 2249s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:1 2249s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:2 2249s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:3 2249s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:4 2249s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:5 2249s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:6 2249s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:7 2249s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:8 2249s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:9 2249s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:10 2249s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:11 2249s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:12 2249s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:13 2249s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:14 2249s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:15 2249s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:16 2249s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:17 2249s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:18 2249s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:19 2249s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:20 2249s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:21 2249s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:22 2249s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:23 2249s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:24 2249s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:25 2249s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:26 2249s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:27 2249s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:28 2249s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:29 2249s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:30 2249s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:31 2249s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:32 2249s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:33 2249s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:34 2249s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:35 2249s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:36 2249s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:37 2249s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:38 2249s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:39 2249s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:40 2249s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:41 2249s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:42 2249s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:43 2249s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:44 2249s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:45 2249s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:46 2249s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:47 2249s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:48 2249s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:49 2249s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:50 2249s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:51 2249s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:52 2249s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:53 2249s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:54 2249s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:55 2249s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:56 2249s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:57 2249s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:58 2249s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:59 2249s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:60 2249s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:61 2249s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:62 2249s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:63 2249s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:64 2249s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:65 2249s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:66 2249s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:67 2249s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:68 2249s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:69 2249s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:70 2249s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:71 2249s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:72 2249s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:73 2249s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:74 2249s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:75 2249s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:76 2249s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:77 2249s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:78 2249s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:79 2249s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:80 2249s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:81 2249s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:82 2249s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:83 2249s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:84 2249s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:85 2249s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:86 2249s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:87 2249s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:88 2249s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:89 2249s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:90 2249s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:91 2249s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:92 2249s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:93 2249s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:94 2249s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:95 2249s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:96 2249s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:97 2249s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:98 2249s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:99 2249s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:100 2249s # Starting thread pool processing 2249s ok 5 /threadpool/sort 2249s ok 6 /threadpool/stop-unused-multiple 2249s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 2249s # Pool idle thread count: 0, unprocessed jobs: 42 2250s # Pool idle thread count: 0, unprocessed jobs: 0 2250s # Pool idle thread count: 0, unprocessed jobs: 0 2250s # Pool idle thread count: 10, unprocessed jobs: 0 2250s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2251s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2252s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s # Pool idle thread count: 10, unprocessed jobs: 0 2253s Executing: glib/thread-pool-slow.test 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2254s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2255s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2256s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2257s # Pool idle thread count: 10, unprocessed jobs: 0 2258s # Pool idle thread count: 10, unprocessed jobs: 0 2258s # Pool idle thread count: 10, unprocessed jobs: 0 2258s # Pool idle thread count: 10, unprocessed jobs: 2 2258s # Pool idle thread count: 10, unprocessed jobs: 2 2258s # Pool idle thread count: 8, unprocessed jobs: 0 2258s # Pool idle thread count: 8, unprocessed jobs: 0 2258s Executing: glib/thread-pool-slow.test 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2259s # Pool idle thread count: 10, unprocessed jobs: 0 2260s # Pool idle thread count: 10, unprocessed jobs: 0 2260s # Pool idle thread count: 10, unprocessed jobs: 0 2260s # Pool idle thread count: 2, unprocessed jobs: 0 2260s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2261s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2262s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s # Pool idle thread count: 2, unprocessed jobs: 0 2263s Executing: glib/thread-pool-slow.test 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2264s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2265s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2266s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2267s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s # Pool idle thread count: 2, unprocessed jobs: 0 2268s Executing: glib/thread-pool-slow.test 2269s ok 7 /threadpool/idle-time 2269s # slow test /threadpool/idle-time executed in 19.53 secs 2269s # End of threadpool tests 2269s PASS: glib/thread-pool-slow.test 2269s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=4200 2269s autopkgtest [02:05:35]: test thread-pool-slow: -----------------------] 2270s thread-pool-slow PASS 2270s autopkgtest [02:05:36]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2270s autopkgtest [02:05:36]: test threadtests: preparing testbed 2270s Reading package lists... 2271s Building dependency tree... 2271s Reading state information... 2271s Starting pkgProblemResolver with broken count: 0 2271s Starting 2 pkgProblemResolver with broken count: 0 2271s Done 2271s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2272s autopkgtest [02:05:38]: test threadtests: [----------------------- 2272s Running test: glib/threadtests.test 2272s TAP version 14 2272s # random seed: R02Sa6fb02a3c91afda59807ee0569c2d585 2272s 1..5 2272s # Start of GObject tests 2272s ok 1 /GObject/threaded-object-init 2273s ok 2 /GObject/threaded-weak-ref 2273s # slow test /GObject/threaded-weak-ref executed in 0.78 secs 2273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2273s # /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 2273s ok 3 /GObject/threaded-toggle-notify 2273s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2273s # Start of threaded-weak-ref tests 2273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2273s # /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. 2273s ok 5 /GObject/threaded-weak-ref/on-finalization 2273s # End of threaded-weak-ref tests 2273s # End of GObject tests 2273s PASS: glib/threadtests.test 2273s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.5s; maxrss=3920 2274s autopkgtest [02:05:40]: test threadtests: -----------------------] 2274s autopkgtest [02:05:40]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2274s threadtests PASS 2274s autopkgtest [02:05:40]: test timeout: preparing testbed 2275s Reading package lists... 2275s Building dependency tree... 2275s Reading state information... 2275s Starting pkgProblemResolver with broken count: 0 2275s Starting 2 pkgProblemResolver with broken count: 0 2275s Done 2275s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2276s autopkgtest [02:05:42]: test timeout: [----------------------- 2276s Running test: glib/timeout.test 2276s TAP version 14 2276s # random seed: R02S9d114a5a80b6cd7989458e88ed015da2 2276s 1..5 2276s # Start of timeout tests 2276s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2278s ok 1 /timeout/seconds 2278s # slow test /timeout/seconds executed in 2.10 secs 2280s ok 2 /timeout/seconds-once 2280s # slow test /timeout/seconds-once executed in 2.10 secs 2280s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2281s Executing: glib/timeout.test 2283s ok 3 /timeout/weeks-overflow 2283s # slow test /timeout/weeks-overflow executed in 2.10 secs 2283s ok 4 /timeout/far-future-ready-time 2286s Executing: glib/timeout.test 2291s Executing: glib/timeout.test 2293s ok 5 /timeout/rounding 2293s # slow test /timeout/rounding executed in 10.04 secs 2293s # End of timeout tests 2293s PASS: glib/timeout.test 2293s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3416 2293s autopkgtest [02:05:59]: test timeout: -----------------------] 2293s timeout PASS 2293s autopkgtest [02:05:59]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2294s autopkgtest [02:06:00]: test timer: preparing testbed 2294s Reading package lists... 2294s Building dependency tree... 2294s Reading state information... 2294s Starting pkgProblemResolver with broken count: 0 2294s Starting 2 pkgProblemResolver with broken count: 0 2294s Done 2295s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2295s autopkgtest [02:06:01]: test timer: [----------------------- 2296s Running test: glib/timer.test 2296s TAP version 14 2296s # random seed: R02S959d2edd03a911a232777c77476785ad 2296s 1..10 2296s # Start of timer tests 2296s ok 1 /timer/basic 2296s ok 2 /timer/stop 2296s ok 3 /timer/continue 2296s ok 4 /timer/reset 2296s ok 5 /timer/is_active 2296s # End of timer tests 2296s # Start of timeval tests 2296s ok 6 /timeval/add 2296s ok 7 /timeval/from-iso8601 2296s ok 8 /timeval/to-iso8601 2296s # Start of to-iso8601 tests 2296s ok 9 /timeval/to-iso8601/overflow 2296s # End of to-iso8601 tests 2296s # End of timeval tests 2296s # Start of usleep tests 2296s ok 10 /usleep/with-zero-wait 2296s # End of usleep tests 2296s PASS: glib/timer.test 2296s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3548 2296s autopkgtest [02:06:02]: test timer: -----------------------] 2296s timer PASS 2296s autopkgtest [02:06:02]: test timer: - - - - - - - - - - results - - - - - - - - - - 2297s autopkgtest [02:06:03]: test 1065022-futureproofing: preparing testbed 2364s autopkgtest [02:07:10]: testbed dpkg architecture: amd64 2364s autopkgtest [02:07:10]: testbed apt version: 2.9.14ubuntu1 2364s autopkgtest [02:07:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2364s autopkgtest [02:07:10]: testbed release detected to be: plucky 2365s autopkgtest [02:07:11]: updating testbed package index (apt update) 2365s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 2366s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 2366s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 2366s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 2366s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 2366s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 2366s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 2366s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 2366s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [138 kB] 2366s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [89.7 kB] 2366s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2572 B] 2366s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.6 kB] 2366s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [236 kB] 2366s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [637 kB] 2366s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [6364 B] 2366s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [21.4 kB] 2366s Fetched 2088 kB in 1s (2388 kB/s) 2367s Reading package lists... 2368s Reading package lists... 2368s Building dependency tree... 2368s Reading state information... 2368s Calculating upgrade... 2368s The following package was automatically installed and is no longer required: 2368s libassuan0 2368s Use 'sudo apt autoremove' to remove it. 2368s The following packages will be upgraded: 2368s binutils binutils-common binutils-x86-64-linux-gnu dirmngr gcc-14-base gnupg 2368s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 2368s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 2368s libgprofng0 libsframe1 libstdc++6 publicsuffix 2368s 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2368s Need to get 7991 kB of archives. 2368s After this operation, 332 kB of additional disk space will be used. 2368s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 14.2.0-9ubuntu1 [10.3 kB] 2368s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-base amd64 14.2.0-9ubuntu1 [52.0 kB] 2368s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 14.2.0-9ubuntu1 [788 kB] 2369s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 14.2.0-9ubuntu1 [78.4 kB] 2369s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4 [15.5 kB] 2369s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-wks-client amd64 2.4.4-2ubuntu20 [73.8 kB] 2369s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 dirmngr amd64 2.4.4-2ubuntu20 [354 kB] 2369s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgsm amd64 2.4.4-2ubuntu20 [263 kB] 2369s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-utils amd64 2.4.4-2ubuntu20 [114 kB] 2369s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg-agent amd64 2.4.4-2ubuntu20 [247 kB] 2369s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gpg amd64 2.4.4-2ubuntu20 [652 kB] 2369s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgconf amd64 2.4.4-2ubuntu20 [106 kB] 2369s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg all 2.4.4-2ubuntu20 [359 kB] 2369s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 keyboxd amd64 2.4.4-2ubuntu20 [86.3 kB] 2369s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 gpgv amd64 2.4.4-2ubuntu20 [181 kB] 2369s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 publicsuffix all 20241025.1547-0.1 [135 kB] 2369s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.43.50.20241126-3ubuntu1 [885 kB] 2369s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.43.50.20241126-3ubuntu1 [96.4 kB] 2369s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.43.50.20241126-3ubuntu1 [98.6 kB] 2369s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.43.50.20241126-3ubuntu1 [3282 B] 2369s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.43.50.20241126-3ubuntu1 [2486 kB] 2369s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.43.50.20241126-3ubuntu1 [583 kB] 2369s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.43.50.20241126-3ubuntu1 [244 kB] 2369s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.43.50.20241126-3ubuntu1 [14.6 kB] 2369s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 2369s Fetched 7991 kB in 1s (9069 kB/s) 2370s (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 ... 75952 files and directories currently installed.) 2370s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_amd64.deb ... 2370s Unpacking libatomic1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 2370s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_amd64.deb ... 2370s Unpacking gcc-14-base:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 2370s Setting up gcc-14-base:amd64 (14.2.0-9ubuntu1) ... 2370s (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 ... 75952 files and directories currently installed.) 2370s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_amd64.deb ... 2370s Unpacking libstdc++6:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 2370s Setting up libstdc++6:amd64 (14.2.0-9ubuntu1) ... 2370s (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 ... 75952 files and directories currently installed.) 2370s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_amd64.deb ... 2370s Unpacking libgcc-s1:amd64 (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 2370s Setting up libgcc-s1:amd64 (14.2.0-9ubuntu1) ... 2370s (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 ... 75952 files and directories currently installed.) 2370s Preparing to unpack .../libcap-ng0_0.8.5-4_amd64.deb ... 2370s Unpacking libcap-ng0:amd64 (0.8.5-4) over (0.8.5-3build1) ... 2370s Setting up libcap-ng0:amd64 (0.8.5-4) ... 2370s (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 ... 75952 files and directories currently installed.) 2370s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 2370s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_amd64.deb ... 2370s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2370s Setting up gpgv (2.4.4-2ubuntu20) ... 2370s (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 ... 75952 files and directories currently installed.) 2370s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 2370s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 2370s Preparing to unpack .../1-libgprofng0_2.43.50.20241126-3ubuntu1_amd64.deb ... 2370s Unpacking libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2370s Preparing to unpack .../2-libctf0_2.43.50.20241126-3ubuntu1_amd64.deb ... 2370s Unpacking libctf0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2370s Preparing to unpack .../3-libctf-nobfd0_2.43.50.20241126-3ubuntu1_amd64.deb ... 2370s Unpacking libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2370s Preparing to unpack .../4-binutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 2370s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2371s Preparing to unpack .../5-binutils-x86-64-linux-gnu_2.43.50.20241126-3ubuntu1_amd64.deb ... 2371s Unpacking binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2371s Preparing to unpack .../6-libbinutils_2.43.50.20241126-3ubuntu1_amd64.deb ... 2371s Unpacking libbinutils:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2371s Preparing to unpack .../7-binutils-common_2.43.50.20241126-3ubuntu1_amd64.deb ... 2371s Unpacking binutils-common:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2371s Preparing to unpack .../8-libsframe1_2.43.50.20241126-3ubuntu1_amd64.deb ... 2371s Unpacking libsframe1:amd64 (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 2371s Preparing to unpack .../9-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 2371s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 2371s Setting up binutils-common:amd64 (2.43.50.20241126-3ubuntu1) ... 2371s Setting up libctf-nobfd0:amd64 (2.43.50.20241126-3ubuntu1) ... 2371s Setting up libsframe1:amd64 (2.43.50.20241126-3ubuntu1) ... 2371s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 2371s Setting up libatomic1:amd64 (14.2.0-9ubuntu1) ... 2371s Setting up gpgconf (2.4.4-2ubuntu20) ... 2371s Setting up libbinutils:amd64 (2.43.50.20241126-3ubuntu1) ... 2371s Setting up publicsuffix (20241025.1547-0.1) ... 2371s Setting up gpg (2.4.4-2ubuntu20) ... 2371s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 2371s Setting up libctf0:amd64 (2.43.50.20241126-3ubuntu1) ... 2371s Setting up gpg-agent (2.4.4-2ubuntu20) ... 2371s Setting up gpgsm (2.4.4-2ubuntu20) ... 2371s Setting up dirmngr (2.4.4-2ubuntu20) ... 2371s Setting up libgprofng0:amd64 (2.43.50.20241126-3ubuntu1) ... 2371s Setting up keyboxd (2.4.4-2ubuntu20) ... 2371s Setting up gnupg (2.4.4-2ubuntu20) ... 2371s Setting up binutils-x86-64-linux-gnu (2.43.50.20241126-3ubuntu1) ... 2371s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 2371s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 2371s Processing triggers for install-info (7.1.1-1) ... 2372s Processing triggers for libc-bin (2.40-1ubuntu3) ... 2372s Processing triggers for man-db (2.13.0-1) ... 2373s Reading package lists... 2373s Building dependency tree... 2373s Reading state information... 2373s The following packages will be REMOVED: 2373s libassuan0* 2374s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 2374s After this operation, 102 kB disk space will be freed. 2374s (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 ... 75957 files and directories currently installed.) 2374s Removing libassuan0:amd64 (2.5.6-1build1) ... 2374s Processing triggers for libc-bin (2.40-1ubuntu3) ... 2374s autopkgtest [02:07:20]: upgrading testbed (apt dist-upgrade and autopurge) 2374s Reading package lists... 2374s Building dependency tree... 2374s Reading state information... 2375s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 2375s Starting 2 pkgProblemResolver with broken count: 0 2375s Done 2375s Entering ResolveByKeep 2376s 2376s The following packages will be upgraded: 2376s xauth 2376s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2376s Need to get 26.6 kB of archives. 2376s After this operation, 1024 B of additional disk space will be used. 2376s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xauth amd64 1:1.1.2-1.1 [26.6 kB] 2376s Fetched 26.6 kB in 0s (127 kB/s) 2376s (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 ... 75952 files and directories currently installed.) 2376s Preparing to unpack .../xauth_1%3a1.1.2-1.1_amd64.deb ... 2376s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 2376s Setting up xauth (1:1.1.2-1.1) ... 2376s Processing triggers for man-db (2.13.0-1) ... 2377s Reading package lists... 2377s Building dependency tree... 2377s Reading state information... 2378s Starting pkgProblemResolver with broken count: 0 2378s Starting 2 pkgProblemResolver with broken count: 0 2378s Done 2378s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2382s Reading package lists... 2383s Building dependency tree... 2383s Reading state information... 2383s Starting pkgProblemResolver with broken count: 0 2383s Starting 2 pkgProblemResolver with broken count: 0 2383s Done 2383s The following NEW packages will be installed: 2383s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2383s libdconf1 2383s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 2383s Need to get 137 kB of archives. 2383s After this operation, 630 kB of additional disk space will be used. 2383s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-4build2 [39.4 kB] 2384s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-4build2 [27.5 kB] 2384s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-4build2 [22.1 kB] 2384s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 dpkg-repack all 1.54 [11.2 kB] 2384s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 2384s Fetched 137 kB in 0s (405 kB/s) 2384s Selecting previously unselected package libdconf1:amd64. 2384s (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 ... 75952 files and directories currently installed.) 2384s Preparing to unpack .../libdconf1_0.40.0-4build2_amd64.deb ... 2384s Unpacking libdconf1:amd64 (0.40.0-4build2) ... 2384s Selecting previously unselected package dconf-service. 2384s Preparing to unpack .../dconf-service_0.40.0-4build2_amd64.deb ... 2384s Unpacking dconf-service (0.40.0-4build2) ... 2384s Selecting previously unselected package dconf-gsettings-backend:amd64. 2384s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_amd64.deb ... 2384s Unpacking dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 2384s Selecting previously unselected package dpkg-repack. 2384s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 2384s Unpacking dpkg-repack (1.54) ... 2384s Selecting previously unselected package gsettings-desktop-schemas. 2384s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 2384s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 2384s Setting up dpkg-repack (1.54) ... 2384s Setting up libdconf1:amd64 (0.40.0-4build2) ... 2384s Setting up dconf-service (0.40.0-4build2) ... 2384s Setting up dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 2384s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 2384s Processing triggers for man-db (2.13.0-1) ... 2385s Processing triggers for libglib2.0-0t64:amd64 (2.82.2-3) ... 2385s Processing triggers for libc-bin (2.40-1ubuntu3) ... 2394s autopkgtest [02:07:40]: test 1065022-futureproofing: [----------------------- 2394s + export DEBIAN_FRONTEND=noninteractive 2394s + n=0 2394s + failed=0 2394s + binary_package=libglib2.0-0t64 2394s + future_binary_package=libglib2.0-0xyz 2394s + pwd 2394s + srcdir=/tmp/autopkgtest.C3znvm/build.3m6/src 2394s + mktemp -d 2394s + tmpdir=/tmp/tmp.8WBpwbomHW 2394s + cd /tmp/tmp.8WBpwbomHW 2394s + [ -e /tmp/autopkgtest.C3znvm/build.3m6/src/debian/tests/manual/local-1065022.sources ] 2394s + dpkg-query -W dpkg-repack 2394s dpkg-repack 1.54 2394s + dpkg-repack --generate libglib2.0-0t64 2394s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2394s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.33Z_e4 for libglib2.0-0t64 2394s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.33Z_e4 ." 2394s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.33Z_e4/DEBIAN/control 2394s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.33Z_e4/DEBIAN/control 2394s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.33Z_e4/DEBIAN/control 2394s + env binary_package=libglib2.0-0t64 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package}/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.33Z_e4/DEBIAN/control 2394s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.33Z_e4 libglib2.0-0xyz.deb 2394s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2396s + apt-get -y install ./libglib2.0-0xyz.deb 2396s Reading package lists... 2396s Building dependency tree... 2396s Reading state information... 2396s The following packages were automatically installed and are no longer required: 2396s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 2396s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2396s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 2396s libonig5 libprotobuf-c1 libstemmer0d libtss2-esys-3.0.2-0t64 libtss2-sys1t64 2396s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 2396s python3-apport python3-certifi python3-chardet python3-configobj 2396s python3-debconf python3-markdown-it python3-mdurl python3-openssl 2396s python3-problem-report python3-pygments python3-requests python3-rich 2396s python3-systemd python3-urllib3 sgml-base xml-core 2396s Use 'sudo apt autoremove' to remove them. 2396s The following additional packages will be installed: 2396s xdg-user-dirs 2396s Suggested packages: 2396s low-memory-monitor 2396s Recommended packages: 2396s shared-mime-info 2396s The following packages will be REMOVED: 2396s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base 2396s fwupd gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 2396s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 2396s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 2396s libblockdev-utils3 libblockdev3 libfwupd3 libgirepository-1.0-1 2396s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1 2396s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 2396s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 2396s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 2396s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools 2396s polkitd python3-dbus python3-gi python3-netplan python3-software-properties 2396s shared-mime-info software-properties-common ubuntu-minimal udisks2 2396s The following NEW packages will be installed: 2396s libglib2.0-0xyz xdg-user-dirs 2396s 0 upgraded, 2 newly installed, 55 to remove and 0 not upgraded. 2396s Need to get 18.4 kB/1674 kB of archives. 2396s After this operation, 40.9 MB disk space will be freed. 2396s Get:1 /tmp/tmp.8WBpwbomHW/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.82.2-3 [1655 kB] 2396s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-user-dirs amd64 0.18-1build1 [18.4 kB] 2397s Fetched 18.4 kB in 0s (85.5 kB/s) 2397s (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 ... 76020 files and directories currently installed.) 2397s Removing appstream (1.0.3-1) ... 2397s Removing bolt (0.9.8-1) ... 2397s Removing cloud-init (24.4-0ubuntu1) ... 2397s Removing cloud-init-base (24.4-0ubuntu1) ... 2398s Removing fwupd (2.0.2-2) ... 2398s Removing software-properties-common (0.107) ... 2398s Removing python3-software-properties (0.107) ... 2398s Removing gir1.2-packagekitglib-1.0 (1.3.0-2) ... 2398s Removing networkd-dispatcher (2.2.4-1.1) ... 2398s Removing packagekit-tools (1.3.0-2) ... 2398s Removing packagekit (1.3.0-2) ... 2399s Removing libappstream5:amd64 (1.0.3-1) ... 2399s Removing udisks2 (2.10.1-11ubuntu1) ... 2399s Removing libblockdev-crypto3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-fs3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-loop3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-mdraid3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-nvme3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-part3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-swap3:amd64 (3.2.1-1) ... 2399s Removing libblockdev3:amd64 (3.2.1-1) ... 2399s Removing libblockdev-utils3:amd64 (3.2.1-1) ... 2399s Removing libfwupd3:amd64 (2.0.2-2) ... 2399s Removing shared-mime-info (2.4-5) ... 2399s Removing python3-dbus (1.3.2-5build4) ... 2399s Removing polkitd (125-2ubuntu1) ... 2400s Removing ubuntu-minimal (1.544) ... 2400s Removing netplan.io (1.1.1-1) ... 2400s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 2400s Removing netplan-generator (1.1.1-1) ... 2400s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 2400s Removing libxmlb2:amd64 (0.3.21-1) ... 2400s Removing libvolume-key1:amd64 (0.3.12-8) ... 2400s Removing libudisks2-0:amd64 (2.10.1-11ubuntu1) ... 2400s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 2400s Removing libqmi-glib5:amd64 (1.35.2-0ubuntu2) ... 2400s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 2400s Removing libpolkit-agent-1-0:amd64 (125-2ubuntu1) ... 2400s Removing libpolkit-gobject-1-0:amd64 (125-2ubuntu1) ... 2400s Removing libpackagekit-glib2-18:amd64 (1.3.0-2) ... 2400s Removing python3-netplan (1.1.1-1) ... 2400s Removing libnetplan1:amd64 (1.1.1-1) ... 2400s Removing libmm-glib0:amd64 (1.23.4-0ubuntu2) ... 2400s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 2400s Removing libmbim-glib4:amd64 (1.31.2-0ubuntu4) ... 2400s Removing libjcat1:amd64 (0.2.0-2build3) ... 2401s Removing libjson-glib-1.0-0:amd64 (1.10.0+ds-3) ... 2401s Removing libgudev-1.0-0:amd64 (1:238-5ubuntu1) ... 2401s Removing libgstreamer1.0-0:amd64 (1.24.9-1) ... 2401s Removing libglib2.0-bin (2.82.2-3) ... 2401s Removing apport (2.30.0-0ubuntu5) ... 2401s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 2401s Removing python3-gi (3.50.0-3build1) ... 2401s Removing gir1.2-girepository-2.0:amd64 (1.82.0-2) ... 2401s Removing gir1.2-glib-2.0:amd64 (2.82.2-3) ... 2401s Removing libgirepository-1.0-1:amd64 (1.82.0-2) ... 2402s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 2402s libdconf1:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 2402s Package libglib2.0-0 is not installed. 2402s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 2402s dconf-service depends on libglib2.0-0 (>= 2.79.0); however: 2402s Package libglib2.0-0 is not installed. 2402s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 2402s dconf-gsettings-backend:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 2402s Package libglib2.0-0 is not installed. 2402s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 2402s 2402s Removing libglib2.0-0t64:amd64 (2.82.2-3) ... 2402s Selecting previously unselected package libglib2.0-0xyz:amd64. 2402s (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 ... 74821 files and directories currently installed.) 2402s Preparing to unpack .../libglib2.0-0xyz.deb ... 2402s Unpacking libglib2.0-0xyz:amd64 (2.82.2-3) ... 2402s Selecting previously unselected package xdg-user-dirs. 2402s Preparing to unpack .../xdg-user-dirs_0.18-1build1_amd64.deb ... 2402s Unpacking xdg-user-dirs (0.18-1build1) ... 2402s Setting up xdg-user-dirs (0.18-1build1) ... 2402s Setting up libglib2.0-0xyz:amd64 (2.82.2-3) ... 2402s Processing triggers for dbus (1.14.10-4ubuntu5) ... 2402s Processing triggers for sgml-base (1.31) ... 2402s Processing triggers for libc-bin (2.40-1ubuntu3) ... 2402s Processing triggers for man-db (2.13.0-1) ... 2403s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2403s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2403s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2403s + n=1 2403s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2403s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2403s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2403s + n=2 2403s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2403s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2403s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s + n=3 2403s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s + n=4 2403s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2403s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + n=5 2403s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + n=6 2403s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2403s + apt-get -y purge libglib2.0-0t64 2403s Reading package lists... 2403s Building dependency tree... 2403s Reading state information... 2403s The following packages were automatically installed and are no longer required: 2403s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 2403s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 2403s libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 2403s libonig5 libprotobuf-c1 libstemmer0d libtss2-esys-3.0.2-0t64 libtss2-sys1t64 2403s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 2403s python3-apport python3-certifi python3-chardet python3-configobj 2403s python3-debconf python3-markdown-it python3-mdurl python3-openssl 2403s python3-problem-report python3-pygments python3-requests python3-rich 2403s python3-systemd python3-urllib3 sgml-base xml-core 2403s Use 'sudo apt autoremove' to remove them. 2403s The following packages will be REMOVED: 2403s libglib2.0-0t64* 2403s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2403s After this operation, 0 B of additional disk space will be used. 2403s (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 ... 74856 files and directories currently installed.) 2403s Purging configuration files for libglib2.0-0t64:amd64 (2.82.2-3) ... 2404s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2404s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2404s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2404s + n=7 2404s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2404s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2404s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2404s + n=8 2404s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2404s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2404s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + n=9 2404s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + n=10 2404s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 2404s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s + n=11 2404s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s + n=12 2404s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 2404s + apt-get -y purge libglib2.0-0xyz 2404s Reading package lists... 2404s Building dependency tree... 2404s Reading state information... 2404s The following packages were automatically installed and are no longer required: 2404s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 2404s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 2404s libftdi1-2 libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common 2404s libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d 2404s libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 2404s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 2404s python3-chardet python3-configobj python3-debconf python3-markdown-it 2404s python3-mdurl python3-openssl python3-problem-report python3-pygments 2404s python3-requests python3-rich python3-systemd python3-urllib3 sgml-base 2404s xdg-user-dirs xml-core 2404s Use 'sudo apt autoremove' to remove them. 2404s The following packages will be REMOVED: 2404s dconf-gsettings-backend* dconf-service* gsettings-desktop-schemas* 2404s libdconf1* libglib2.0-0xyz* 2404s 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. 2404s After this operation, 5170 kB disk space will be freed. 2404s (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 ... 74856 files and directories currently installed.) 2404s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 2404s Removing dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 2404s Removing dconf-service (0.40.0-4build2) ... 2404s Removing libdconf1:amd64 (0.40.0-4build2) ... 2404s Removing libglib2.0-0xyz:amd64 (2.82.2-3) ... 2405s Processing triggers for man-db (2.13.0-1) ... 2405s Processing triggers for libc-bin (2.40-1ubuntu3) ... 2405s (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 ... 74773 files and directories currently installed.) 2405s Purging configuration files for libglib2.0-0xyz:amd64 (2.82.2-3) ... 2405s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2405s + n=13 2405s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2405s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2405s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2405s + n=14 2405s + ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2405s test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2405s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2405s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 2405s + n=15 2405s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2405s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2405s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 2405s + n=16 2405s + test -e /usr/lib/*/gio/modules/giomodule.cache 2405s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2405s + echo 1..16 2405s + exit 0 2405s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2405s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2405s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2405s 1..16 2405s autopkgtest [02:07:51]: test 1065022-futureproofing: -----------------------] 2406s 1065022-futureproofing PASS 2406s autopkgtest [02:07:52]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2406s autopkgtest [02:07:52]: @@@@@@@@@@@@@@@@@@@@ summary 2406s build PASS (superficial) 2406s build-static PASS (superficial) 2406s girepository-tools PASS (superficial) 2406s libgio-2.0-dev-bin PASS (superficial) 2406s libglib2.0-dev PASS (superficial) 2406s installed-tests PASS 2406s closure-refcount PASS 2406s debugcontroller PASS 2406s gdbus-server-auth PASS 2406s gdbus-threading PASS 2406s gmenumodel PASS 2406s mainloop PASS 2406s memory-monitor-dbus PASS 2406s socket PASS 2406s testfilemonitor PASS 2406s thread-pool-slow PASS 2406s threadtests PASS 2406s timeout PASS 2406s timer PASS 2406s 1065022-futureproofing PASS 2417s nova [W] Skipping flock for amd64 2417s Creating nova instance adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b from image adt/ubuntu-plucky-amd64-server-20241203.img (UUID 9e8e99d5-3366-42e6-8f42-63b527e5abcc)... 2417s nova [W] Skipping flock for amd64 2417s Creating nova instance adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b from image adt/ubuntu-plucky-amd64-server-20241203.img (UUID 9e8e99d5-3366-42e6-8f42-63b527e5abcc)... 2417s nova [W] Skipping flock for amd64 2417s Creating nova instance adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b from image adt/ubuntu-plucky-amd64-server-20241203.img (UUID 9e8e99d5-3366-42e6-8f42-63b527e5abcc)... 2417s nova [W] Skipping flock for amd64 2417s Creating nova instance adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b from image adt/ubuntu-plucky-amd64-server-20241203.img (UUID 9e8e99d5-3366-42e6-8f42-63b527e5abcc)... 2417s nova [W] Skipping flock for amd64 2417s Creating nova instance adt-plucky-amd64-glib2.0-20241204-012746-juju-7f2275-prod-proposed-migration-environment-15-2c9431d0-4beb-4152-8c11-65a1a7ecac4b from image adt/ubuntu-plucky-amd64-server-20241203.img (UUID 9e8e99d5-3366-42e6-8f42-63b527e5abcc)...